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

Auto segmentation/paging for segment caching #79

Open
thorwhalen opened this issue Dec 1, 2020 · 0 comments
Open

Auto segmentation/paging for segment caching #79

thorwhalen opened this issue Dec 1, 2020 · 0 comments

Comments

@thorwhalen
Copy link
Member

Define segmentation granularity (namely, of time) and store/retrieve under that granularity (that is, taking the smallest containing segments to respond to a query).

Examples;

  • assume granularity is 100. Then when [423:746] is requested, the actual retrieval path is store[400:800][23:346]
  • assume granularity is a month. Then when [2018-02-05:2018-07-09] is requested, [2018-02-01:2018-07-31] is retrieved but [2018-02-05:2018-07-09] is still returned.

This setup helps mitigating fragmentation when caching segments.

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