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

Lookout Ingester DB Load Tester #4028

Merged
merged 2 commits into from
Oct 29, 2024
Merged

Conversation

eleanorpratt
Copy link
Collaborator

Creates a load test that which using the Lookout Ingester message conversion and database insertion code, allowing us to insert realistic event patterns into the database and measure comparative performance of changes to the database code.

Only change to existing code to facilitate this is to the batcher, so it finishes batching more gracefully when the input channel is closed. This only impacts it's behaviour in the context of testing, as in normal use we don't expect the input channel to close outside of the whole service restarting where the unbatched messages would be unprocessed regardless.

Eleanor Pratt and others added 2 commits October 29, 2024 10:50
Creates a load test that which using the Lookout Ingester message conversion and database insertion code, allowing us to insert realistic event patterns into the database and measure comparative performance of changes to the database code.
@MustafaI MustafaI merged commit b9a0eb4 into master Oct 29, 2024
20 checks passed
@MustafaI MustafaI deleted the sendToGitHub/LookoutIngesterLoadTest branch October 29, 2024 17:28
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