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

Stop faster on interruption signals #8

Open
aperrin66 opened this issue Apr 27, 2020 · 0 comments
Open

Stop faster on interruption signals #8

aperrin66 opened this issue Apr 27, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@aperrin66
Copy link
Member

When SIGTERM or SIGINT are received, ingesters wait for the queue of objects to write to the database to be processed, which can take up to two minutes.
It would be nice to speed this up. Several approaches are possible:

  • reduce the size of the queue.
  • don't wait for the queue to be emptied. The ingester objects are pickle-able, so this is feasible. The main thing to do would be to change the way in which the database threads are stopped.
@aperrin66 aperrin66 added the enhancement New feature or request label Apr 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant