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

Partitions should be evicted gradually #2576

Closed
tgrabiec opened this Issue Jul 12, 2017 · 0 comments

Comments

Projects
None yet
3 participants
@tgrabiec
Copy link
Contributor

tgrabiec commented Jul 12, 2017

Installation details
Scylla version (or git commit hash): 2.0+

Since 9b21a9b cache can store partial partitions with row granularity. They're still evicted as a unit though. This is problematic for the following reasons:

  1. more is evicted than necessary, which decreases cache efficiency. In the worst case, whole cache gets evicted at once
  2. evicting large amounts of memory (large partitions) at once may impact latency badly

We should evict with finer granularity (row).

Refs #960

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.