Skip to content

Reconsider the cap on chunk age. #127

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

Closed
tomwilkie opened this issue Nov 10, 2016 · 1 comment
Closed

Reconsider the cap on chunk age. #127

tomwilkie opened this issue Nov 10, 2016 · 1 comment
Assignees

Comments

@tomwilkie
Copy link
Contributor

tomwilkie commented Nov 10, 2016

Perhaps instead we should have a cap on total number of in memory chunks?

Problem is: dynamodb provisioned capacity has to be > #series / chunk age * number of writes per chunk.

For example, 800k series / 1 hour * 8 writes per chunk = 1.7k writes / s to dynamodb.

We should probably only flush chunks:

  • when they are full
  • when they haven't been written to in some time period
  • some (much higher - 24hrs) max age
  • we're running out of memory (maybe limit to 1million chunks per ingester?)

This will allow the very efficient chunks (up) to live for much longer,

@tomwilkie
Copy link
Contributor Author

This is basically done, other than some static limit on total number of chunks.

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

No branches or pull requests

1 participant