it can literally be adding them only to your database, with labels, and then you just construct nice keys to iterate for
you don't have to share those keys, those keys have collections of references, you just return the events that match the keys
as for storage requirements, if you were going to store these indexes already surely you can just change the back end to store them compactly instead of raw JSON, and implement a codec to propagate them as needed?
the eventstore i use, golang badger one, has a collection of key generators that enable a huge number of tables that can be searched rapidly for values (events) that a user is searching for... to be honest, it's a bit voodoo for me looking at them, because they are written in a clumsy way and not well documented, but i get the general gist of it, and i intend to understand how they work because i'm working on a project where data stores and fast retrieval matter, and this is really just about indexing
Showing page 1 of
2 pages