The raft entry cache is sized to 16mb per store. This seems very small:
|
// defaultRaftEntryCacheSize is the default size in bytes for a |
|
// store's Raft log entry cache. |
|
defaultRaftEntryCacheSize = 1 << 24 // 16M |
The raft.entrycache.{accesses,hits} metrics can be used to arrive at a cache hit rate. This is something we should be paying attention to when optimizing write performance.
x-ref #98576 where this was noticed.
Jira issue: CRDB-25431
The raft entry cache is sized to 16mb per store. This seems very small:
cockroach/pkg/kv/kvserver/store.go
Lines 103 to 105 in e005c0f
The
raft.entrycache.{accesses,hits}metrics can be used to arrive at a cache hit rate. This is something we should be paying attention to when optimizing write performance.x-ref #98576 where this was noticed.
Jira issue: CRDB-25431