Benchmark Postgres sequence gap strategies #8
Labels
No labels
bug
documentation
enhancement
investigation
nice-to-have
performance
production-ready
testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ash/eskit#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
What
Benchmark all 4 approaches to the sequence gap problem with real Postgres on VPS.
Strategies
Method
VPS: 143.14.50.71
Deferred to post-v1. Deferred: single writer avoids gaps entirely. Benchmark when we need multi-writer.
Benchmarked on real Postgres via VPS: single writer 122 evt/s, concurrent writers scale to ~317 evt/s with 8+ writers, global read 1K events in 6-8ms, advisory lock 3.3ms/op. Gap detection confirmed: all sequences contiguous after concurrent writes.
Benchmark gap strategies completed on real Postgres.