Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cursors: Fix cursor batching calculation #169

Merged
merged 1 commit into from
Sep 10, 2023
Merged

Conversation

lmars
Copy link
Member

@lmars lmars commented Sep 10, 2023

The cursor batching algorithm was designed so that the overall channel message rate remains lower than an upper bound limit, and the algorithm expects the batching to multiply the batch interval by the number of members, not the number of members minus one as we're currently doing.

The cursor batching algorithm was designed so that the overall channel
message rate remains lower than an upper bound limit, and the algorithm
expects the batching to multiply the batch interval by the number of
members, not the number of members minus one as we're currently doing.

Signed-off-by: Lewis Marshall <lewis.marshall@ably.com>
@dpiatek dpiatek merged commit bb90d74 into main Sep 10, 2023
5 checks passed
@dpiatek dpiatek deleted the fix-cursor-batching branch September 10, 2023 15:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants