-
Notifications
You must be signed in to change notification settings - Fork 74
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
Ambiguity regarding ttl and gc_interval relation. #208
Comments
Hey! I understand it may be confusing, but this is actually explained in the Eviction configuration section – Nebulex.Adapters.Local. Perhaps the docs can be improved, but I think it should help to understand.
No, it is not, this is an option that is optional.
The
I think this is explained in the link I shared above, there is a section about the Let me know if this addresses your inquiries, I stay tuned. Thanks! |
Hey, Thanks a lot! I am using the partitioned adapter. So if I understand correctly, if I don't set a ttl and |
In the 2nd period (after 2 generations are pushed). To give an example, suppose your cache start, then there will be just one generation, and items start getting accessed. Then
Sort of, if the item or key is continuously hit, which is, it is accessed at least once before the 2nd cycle runs, the key will be always around.
That is correct! |
Thanks for the clarification! |
Hey,
I find the
ttl
andgc_interval
a bit confusing.Is ttl always required?
What happens if it is not set?
What if it is longer than the gc_interval?
Thank you
The text was updated successfully, but these errors were encountered: