Skip to content

How to find the optimal cache configuration #751

Answered by MrCroxx
fracek asked this question in Q&A
Discussion options

You must be logged in to vote

Hi, @fracek . Thanks for asking. Sorry for the late reply. I just came back from vacation.

For your questions, let me answer them one by one.

First, based on your workload, if you are using the main branch, make sure you use the large object engine only. The mixed engine won't help in your case.

shards: how many shards should I choose? Once I pick a value, is there any way to know if I should increase or decrease the shards?

You can start with the default configuration or 8/16/32/64. You don't need to take care of it if you have not met a problem with it. You can monitor the overhead of locking related to sharding via perf and flamegraph.

admission picker: my understanding is that I sh…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@fracek
Comment options

Answer selected by fracek
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants