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

Mas d34 leveled.i446 readcache #447

Closed
wants to merge 3 commits into from

Conversation

martinsumner
Copy link
Owner

Implement a centralised and configurable read-cache for the ledger, rather than a per-sst file read cache

Remove individual caches from SST files, and implement a master read cache instead connected to the bookie
@martinsumner
Copy link
Owner Author

The code seems simpler, but there were no performance benefits. Checking in real-world systems, the distributed cache achieves a high hit ratio, so there are risks with implementing the central cache.

Despite the overall cache size being smaller, the memory footprint was little changed.

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

Successfully merging this pull request may close these issues.

1 participant