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

Review cache / clock design #29

Open
asmodehn opened this issue Nov 9, 2022 · 1 comment
Open

Review cache / clock design #29

asmodehn opened this issue Nov 9, 2022 · 1 comment
Assignees
Milestone

Comments

@asmodehn
Copy link
Owner

asmodehn commented Nov 9, 2022

Xest has a bunch of modules to limit the number of server requests...
There are remains of previous attempts and various implementations.

These should be reviewed solidified behind a simpler concepts. Specifically we now use nebulex for cache with ttl... but in our usecase the best ttl is hard to guess... We could imagine splitting an "AdaptativeCache" library, where the ttl is computed dynamically (via a backoff algo or so...), with two implementations possible, one based on nebulex, and one without any external dependency...

@asmodehn
Copy link
Owner Author

In addition, for #18 there should be a possibility for the cache to decide to download data or not based on the data contents... as the last update time might be already contained in the cache...

@asmodehn asmodehn self-assigned this Nov 14, 2022
@asmodehn asmodehn added this to the soon milestone Nov 14, 2022
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