You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FilePositionCache allow accumulating entries while appending fixed sized chunks/pages saving expensive memory copies while enlarging capacity: InMemoryLog could make use of a similar mechanism for its entries.
Given that InMemoryLog is not for production usage this is more a wish then an actual requirement, although it's pretty handy to use it to benchmark the whole raft protocol machinery without I/O
The text was updated successfully, but these errors were encountered:
I'm all for replacing InMemoryLog with ArrayRingBuffer, as the former only needs to keep the uncommitted entries (in my experience with CounterPerf a few 100 entries) in memory. InMemoryLog should not be taken as a prod-ready impl; it was written with unit tests in mind (where perf doesn't matter)...
FilePositionCache
allow accumulating entries while appending fixed sized chunks/pages saving expensive memory copies while enlarging capacity:InMemoryLog
could make use of a similar mechanism for its entries.Given that
InMemoryLog
is not for production usage this is more a wish then an actual requirement, although it's pretty handy to use it to benchmark the whole raft protocol machinery without I/OThe text was updated successfully, but these errors were encountered: