GreanTech / AtomEventStore

A server-less .NET Event Store based on the Atom syndication format
MIT License
117 stars 14 forks source link

Indexed indexes #64

Closed ploeh closed 10 years ago

ploeh commented 10 years ago

This Pull Request changes the storage algorithm for AtomEventObserver<T> and FifoEvents<T> (not the legacy AtomEventStream<T>) to use 'subfolders' for indexing purposes.

Each event stream is now stored in its own 'subfolder', which enables efficient enumeration of all event streams in a system.

sgryt commented 10 years ago

I suppose that this change also needs to be followed by a server-shutdown for upgrading the existing data url format?

ploeh commented 10 years ago

It would, if we had anything in production currently running on this code. However, what we have runs on AtomEventStream<T>, which isn't affected by this change.