pixel
pixel copied to clipboard
Benchmark Event Projection
Right now projection is done only on the latest event, which should result in decent re-projection performance but also has the caveat that the projection itself must not depend on any intermediate states during projection.
The better thing to do would be to explicitly denote the difference between stateless and state tracking projections, and do full projections on stateful ones. The main question is how performant is projection at the moment.
Plan:
- [ ] Generate 15,000,000 Events.
- [ ] Create a stateful projection, run from scratch.
- [ ] Create a stateless projection, run from scratch.