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

feat: made write rate configurable #250

Merged
merged 2 commits into from
Jun 5, 2019
Merged

feat: made write rate configurable #250

merged 2 commits into from
Jun 5, 2019

Conversation

kelindar
Copy link
Contributor

@kelindar kelindar commented Jun 5, 2019

This makes the write rate configurable by adding writeRate to the limit configuration. Write rate allows to rate-limit the underlying socket flushes and greatly (15-20x from our benchmarks) increases the througput of emitter broker. The value is set to a reasonnable 60 write/s per connection. Keep in mind this is not limiting the QpS but merely limiting the amount of syscalls going out to the OS.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.01%) to 90.572% when pulling 2593d68 on feat-write-rate into 1f6a172 on master.

@kelindar kelindar merged commit c33d480 into master Jun 5, 2019
@delete-merged-branch delete-merged-branch bot deleted the feat-write-rate branch June 5, 2019 11:45
Florimond pushed a commit that referenced this pull request Sep 7, 2023
This makes the write rate configurable by adding writeRate to the limit configuration. Write rate allows to rate-limit the underlying socket flushes and greatly (15-20x from our benchmarks) increases the througput of emitter broker. The value is set to a reasonnable 60 write/s per connection. Keep in mind this is not limiting the QpS but merely limiting the amount of syscalls going out to the OS.
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