This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-22
Channels
- # announcements (1)
- # babashka (28)
- # beginners (120)
- # braveandtrue (6)
- # calva (59)
- # cider (10)
- # clj-kondo (10)
- # cljfx (2)
- # clojure (66)
- # clojure-europe (20)
- # clojure-germany (1)
- # clojure-italy (3)
- # clojure-nl (4)
- # clojure-norway (1)
- # clojure-serbia (17)
- # clojure-spain (1)
- # clojure-uk (17)
- # clojurescript (120)
- # clojureverse-ops (4)
- # core-async (5)
- # cursive (18)
- # data-oriented-programming (1)
- # datomic (4)
- # deps-new (8)
- # emacs (14)
- # fulcro (16)
- # funcool (2)
- # kaocha (4)
- # lambdaisland (5)
- # luminus (1)
- # malli (47)
- # membrane (9)
- # mid-cities-meetup (2)
- # music (1)
- # off-topic (44)
- # pathom (13)
- # practicalli (2)
- # re-frame (15)
- # reagent (34)
- # reveal (25)
- # ring (56)
- # rum (1)
- # shadow-cljs (23)
- # sql (14)
- # startup-in-a-month (1)
- # tools-deps (10)
- # vim (9)
- # vscode (3)
- # xtdb (9)
Thanks @kevin842... Jeremy or James will see this in a few hours, I'm guessing. 🙂
When do you register transaction functions? Right now I’m doing it every time I spin up a node. Meaning the same functions are registered again on each server restart. Is that understood correctly?
I was wondering about the same thing. If the functions have changed, you want to transact them, but if they haven't, you don't want to fill up the tx log for no reason. I thought that maybe I should do a custom tx function that fails if the fn body hasn't changed, but then realised how marginal the overhead probably is
Exactly the same thoughts running through my head
if you re-submit the same document it won't take up any more space in the document store, and the addition to the tx-log will essentially be [[:crux.tx/put <20-byte-document-hash>]]
- I suspect the custom tx-function will incur more overhead as invocations of the tx-fn do create a new document each time 🙂
"invocations of the tx-fn do create a new document each time" Each tx function invocation is its own document?