Skip to content

Simplify fair distribution algorithm - #109

Merged
asg0451 merged 3 commits into
masterfrom
cursor/simplify-fair-distribution-algorithm-ed73
Sep 14, 2025
Merged

Simplify fair distribution algorithm#109
asg0451 merged 3 commits into
masterfrom
cursor/simplify-fair-distribution-algorithm-ed73

Conversation

@asg0451

@asg0451 asg0451 commented Sep 14, 2025

Copy link
Copy Markdown
Owner

Simplify item distribution logic in PollCoalescer using a round-robin queue for fair allocation.


Open in Cursor Open in Web

@cursor

cursor Bot commented Sep 14, 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

@github-actions

github-actions Bot commented Sep 14, 2025

Copy link
Copy Markdown

Criterion benchmarks delta (ms; lower is better)

Benchmark PR (ms) Master (ms) Δ (ms) Δ (%)
e2e_rpc/rpc_add_batch_200 0.619 0.627 -0.008 -1.3%
e2e_rpc/rpc_poll_batch_200 52.346 52.824 -0.478 -0.9%
e2e_rpc/rpc_remove_each_200 24.270 25.618 -1.348 -5.3%
e2e_rpc/rpc_stress_like_p2_a2_items_200 1209.325 1214.560 -5.235 -0.4%
storage_add/add_available_500 8.309 8.257 0.052 +0.6%
storage_poll/get_next_available_entries_500 10.444 10.368 0.076 +0.7%
storage_remove/remove_in_progress_500 20.524 20.265 0.259 +1.3%

Co-authored-by: miles.frankel <miles.frankel@gmail.com>
@asg0451
asg0451 force-pushed the cursor/simplify-fair-distribution-algorithm-ed73 branch from 64a8b38 to 5a12780 Compare September 14, 2025 21:49
@asg0451
asg0451 marked this pull request as ready for review September 14, 2025 21:59
@asg0451
asg0451 merged commit 0fe9278 into master Sep 14, 2025
2 checks passed
@asg0451
asg0451 deleted the cursor/simplify-fair-distribution-algorithm-ed73 branch September 14, 2025 22:11
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