Skip to content

Replication metadata rework. Migrate from crsqlite 0.17 to 0.18 - #572

Open
gorbak25 wants to merge 19 commits into
mainfrom
gorbak/crsqlite-0.18
Open

gorbak25 wants to merge 19 commits into
mainfrom
gorbak/crsqlite-0.18

Conversation

@gorbak25

@gorbak25 gorbak25 commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Closes #532, #366, #188

Updates only(100% updates):
| Batch | V1 | V2 packed | Change |
| --- | --- | --- | --- |
| 1 | 4.04 ms | 4.31 ms | +6.7% |
| 2 | 4.56 ms | 3.23 ms | −29.1% |
| 5 | 4.39 ms | 3.81 ms | −13.2% |
| 10 | 8.12 ms | 4.31 ms | −46.9% |
| 25 | 8.49 ms | 7.15 ms | −15.9% |
| 50 | 17.39 ms | 12.67 ms | −27.1% |
| 100 | 38.66 ms | 27.76 ms | −28.2% |

Mixed workloads(10% inserts, 80% updates, 5% deletes, and 5% true resurrections):
| Batch | V1 | V2 packed | Change |
| --- | --- | --- | --- |
| 1 | 4.47 ms | 4.78 ms | +6.9% |
| 2 | 5.83 ms | 3.45 ms | −40.8% |
| 5 | 4.24 ms | 4.36 ms | +2.7% |
| 10 | 5.67 ms | 5.18 ms | −8.6% |
| 25 | 9.71 ms | 9.18 ms | −5.5% |
| 50 | 17.78 ms | 16.07 ms | −9.6% |
| 100 | 37.52 ms | 32.57 ms | −13.2% |

Due to the scope of the PR it ought to cause issues. So here's a hall of shame of incidents caused while trying to ship this:

@gorbak25
gorbak25 force-pushed the gorbak/crsqlite-0.18 branch 3 times, most recently from 1234e6f to 69f119e Compare September 16, 2026 14:26
@gorbak25
gorbak25 force-pushed the gorbak/crsqlite-0.18 branch from 69f119e to 51b2024 Compare September 16, 2026 14:29
@gorbak25
gorbak25 marked this pull request as ready for review September 23, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Compress tombstones. Separate tombstones from clock entries

1 participant