This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-27
Channels
- # admin-announcements (1)
- # beginners (1)
- # boot (37)
- # cbus (1)
- # cider (44)
- # cljs-dev (16)
- # cljsjs (2)
- # cljsrn (18)
- # clojure (205)
- # clojure-belgium (6)
- # clojure-china (1)
- # clojure-india (1)
- # clojure-russia (24)
- # clojure-spec (21)
- # clojure-turkiye (1)
- # clojure-uk (72)
- # clojurescript (91)
- # core-async (4)
- # cursive (12)
- # data-science (2)
- # datascript (2)
- # datomic (12)
- # emacs (6)
- # flambo (7)
- # funcool (12)
- # hoplon (24)
- # incanter (2)
- # jobs-discuss (29)
- # keechma (2)
- # lein-figwheel (2)
- # leiningen (2)
- # mount (13)
- # nyc (2)
- # om (76)
- # om-next (1)
- # onyx (38)
- # other-languages (4)
- # planck (40)
- # re-frame (33)
- # reagent (101)
- # ring-swagger (5)
- # slack-help (1)
- # untangled (7)
- # yada (14)
I'm making a poor man's datsync myself so I know how it all works. So I have an in-browser datascript db and one on the backend, and the idea is for the browser dbs to send their :tx-data
values of the transaction logs (i.e., what's returned by d/transact!
) to the server to be committed to the server db, and then be relayed to all other clients. I noticed that the tx-data
vector, e.g., #datascript/Datom [1 :person/name "Alice" 536870913 true]]
from one db, when transacted into another db, preserves the txid (536870913) in the second db, meaning that ideally, eventually all the databases (clients & server) will be clones of each other. Would it be better to omit the txid when a vector of tx-data
is replayed on another db?