This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-18
Channels
- # announcements (1)
- # asami (17)
- # babashka (43)
- # beginners (36)
- # biff (2)
- # calva (24)
- # clerk (3)
- # clj-kondo (9)
- # cljdoc (18)
- # clojure (16)
- # clojure-berlin (1)
- # clojure-europe (7)
- # clojurescript (8)
- # clr (4)
- # conjure (3)
- # cursive (2)
- # emacs (15)
- # funcool (4)
- # humbleui (2)
- # hyperfiddle (118)
- # kaocha (3)
- # malli (5)
- # membrane (23)
- # off-topic (16)
- # pathom (3)
- # reitit (25)
- # releases (3)
- # shadow-cljs (13)
- # xtdb (6)
Does it particularly matter what is used as entity ID? I seem to remember that Datomic didn't like random UUID's, because they made the index inefficient in some way. Does something like a ULID (https://github.com/theikkila/clj-ulid) help the XTDB indexer? Or does it just not matter?
Ah, right. XTDB probably hashes it internally in some way optimized for indexing.
We use the {:table ...uuid...}
form for IDs as well, because it plays very nicely with Pathom resolvers.