I have a new ES stream that already has half a million events (no snapshots yet ... I know, I get there) and a simple client that atm only adds (even more) events.
NEventStore.OpenStream(int.MinValue, int.MaxValue) takes a very long time to open a stream first; after which I save the last revision, and then only NEventStore.OpenStream(lastRevision, int.MaxValue) to add again. The problem is only on initial startup.
Is there a mechanism inside NEventStore either simply add without opening, or define a head revision without opening the entire stream, so I can open it from the latest version and add it. Of course, I could also go directly to the database and queries, but given the dependency, I feel like I don't need to.
source share