by nathanmarz · 2y ago · 0 comments
(declare-depot setup *my-events (hash-by :user-id))
That's it, and you can make as many of those as you want. And here's how a topology (a streaming computation that materializes indexes based on depots) subscribes to that depot:
(source> my-events :> *data)
If you want to subscribe to more depots in the topology, then it's just another source> call.
That these are integrated and colocated also means the performance is excellent.
Seeing Closure ironically makes me think of Twitter though.