Skip to content

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.

3 participants