-
Notifications
You must be signed in to change notification settings - Fork 501
Switch Replication Messages to Message Pack #1572
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ran some quick unscientific numbers on my machine
TPCC 30 seconds SF10
On first run,
- no replication sync durability 2060
- async replication sync durability 1700
On second run, ran immediately after the first,
- no replication sync durability 495
- async replication sync durability 600
Much faster than, I think enabling async replication would halve the txn req/s before?
nice! But, to see if the "tpcc slows down over time" is an issue for others, can you try reproducing the above on dev10? Thanks!
This is OLTPBench Scale Factor 10, 30 seconds, 4 terminals on dev10 No Replication Sync Durability Message PackFirst Run: 197.83327765645456 requests/sec Sync Replication Sync Durability Message PackFirst Run: 8.533247457290898 requests/sec Async Replication Sync Durability Message PackFirst Run: 182.53032011064028 requests/sec |
Minor Decrease in PerformanceBe warned: this PR may have decreased the throughput of the system slightly.
|
Codecov Report
@@ Coverage Diff @@
## master #1572 +/- ##
==========================================
- Coverage 81.96% 81.94% -0.03%
==========================================
Files 735 735
Lines 51698 51698
==========================================
- Hits 42376 42362 -14
- Misses 9322 9336 +14
Continue to review full report at Codecov.
|
This is OLTPBench Scale Factor 10, 30 seconds, 4 terminals on dev10 No Replication Sync Durability JSONFirst Run: 186.92910415581636 requests/sec Async Replication Sync Durability JSONFirst Run: 81.23117654541093 requests/sec |
Description
This PR switches our message serialization implementation for replication from JSON to Message Pack.
See #1570 for more details
Performance
Current TPCC numbers
(Scale factor 1, 8 threads)
Updated TPCC numbers with Message Pack
(Scale factor 1, 8 threads)