This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-21
Channels
- # announcements (3)
- # aws (11)
- # babashka (5)
- # beginners (116)
- # cider (30)
- # clara (1)
- # clj-kondo (15)
- # clojure (17)
- # clojure-dev (9)
- # clojure-europe (2)
- # clojure-italy (1)
- # clojure-uk (3)
- # clojurescript (9)
- # conjure (3)
- # duct (22)
- # exercism (1)
- # fulcro (8)
- # graalvm (5)
- # graphql (3)
- # helix (3)
- # joker (3)
- # kaocha (2)
- # off-topic (9)
- # pathom (4)
- # re-frame (1)
- # rum (6)
- # shadow-cljs (81)
- # sql (6)
- # xtdb (9)
Hey folks! Is there a way to have different indices in Crux like in Redis? Apart from different nodes.
What kind of use-case are you thinking of? Do you mean something that could be accessible through Datalog? And hey 😎
I’m thinking about getting a separate crux node for a different domain inside the same app. I have one node already for “cucumbers” and this one will be for “car parts”, so no overlap between them. I want separate “indices” or nodes for hygiene.
Separate nodes using separate tx-logs in a single app is a reasonable approach. There is no shared cache or thread pooling between nodes currently though, so efficiency could be improved if you have a lot of nodes. We want to work on this area soon. We have also discussed having a node config "filter" to only index documents in the desired namespaces, but then I would question the value of funnelling everything into a single tx-log anyway. There are no concrete plans for adding something like that for now.
Are you freezing the API already, or can’t promise yet? Or at least maybe you can transition into accretion-only mode?
We're not freezing the API but it should generally be more stable. Accretion-only of the overall API is the long term goal. I can't promise that we're there quite yet. As for beta, GA is a much more exciting and useful target, which is why we opted for the low-key transition. We are fortunate enough to not be short of a good number of early adopters :)
Got you, thanks!