performance improvements #342
No reviewers
Labels
No Label
AdminAPI
Bug
Check AWS
CI
Correctness
Critical
Documentation
Ideas
Improvement
Low priority
Newcomer
Performance
S3 Compatibility
Testing
Usability
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: Deuxfleurs/garage#342
Loading…
Reference in New Issue
No description provided.
Delete Branch "lx-perf-improvements"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Performance improvements included in this PR:
Bytes
at a few places where appropriate, instead ofVec<u8>
, to reduce the number of copiesVec<Bytes>
instead of aVecDeque<u8>
. Replaces calls to.extend()
and.drain()
that were quite costly by a simpleconcat()
on a vec of slices which is much more optimizedspawn_blocking
NoSync
andNoMetaSync
to avoidfsync
at each transaction (extremely slow). Also increased number of LMDB readers to accomodate more intensive workloadsOther changes included in this PR:
tracing_subscriber
for logs, which allows to have timing of each event1b3df6017d
toebc20a8798
WIP: performance improvementsto performance improvements