Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid wasted db round trips by not loading single stream projections for new streams #3311

Conversation

elexisvenator
Copy link
Contributor

Found as part of #3307, if you start 1000 streams and have 1 inline projection, then there will be 1000 calls to fetch the current inline projection, one for each stream. By testing if the slicer is for single streams and the sliced events represent the start of a stream, we can eliminate these calls.

@jeremydmiller jeremydmiller merged commit c7779d5 into JasperFx:master Jul 16, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants