safekeeper: improve batching of pipelined AppendRequest
#9689
Labels
a/performance
Area: relates to performance of the system
c/storage/safekeeper
Component: storage: safekeeper
Currently, each
AppendRequest
is appended to the WAL. However, Tokio file IO has significant overhead, so many small appends can significantly affect throughput.When processing pipelined
AppendRequest
, we should batch the appended WAL to amortize costs. There is no point batching across a segment boundary, since that implies an fsync.The text was updated successfully, but these errors were encountered: