Skip to content

Implement and stress test optimization#70

Draft
asg0451 wants to merge 3 commits into
masterfrom
cursor/implement-and-stress-test-optimization-626a
Draft

Implement and stress test optimization#70
asg0451 wants to merge 3 commits into
masterfrom
cursor/implement-and-stress-test-optimization-626a

Conversation

@asg0451

@asg0451 asg0451 commented Aug 27, 2025

Copy link
Copy Markdown
Owner

Introduce a pessimistic transaction mode to improve stability and throughput under contention, resolving "RocksDB Busy" errors.

Stress tests revealed that while optimistic mode offers higher initial add rates, it can lead to "RocksDB Busy" errors under heavy contention. Pessimistic mode, using TransactionDB, eliminates these errors and provides more stable poll/remove throughput, making it preferable for high-contention scenarios, albeit with a slightly lower add rate.


Open in Cursor Open in Web

cursoragent and others added 3 commits August 27, 2025 14:13
Co-authored-by: miles.frankel <miles.frankel@gmail.com>
…sor/implement-and-stress-test-optimization-626a
…ions

Co-authored-by: miles.frankel <miles.frankel@gmail.com>
@cursor

cursor Bot commented Aug 27, 2025

Copy link
Copy Markdown

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

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.

2 participants