-
-
Notifications
You must be signed in to change notification settings - Fork 660
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
Misc. performance improvements #1738
Conversation
Current coverage is 34.46% (diff: 25.00%)@@ master #1738 diff @@
==========================================
Files 23 23
Lines 5920 5919 -1
Methods 761 761
Messages 0 0
Branches 1504 1503 -1
==========================================
- Hits 2041 2040 -1
Misses 3879 3879
Partials 0 0
|
Thinking about this Listen backlog - should we make it configurable? Nginx has this to say:
And in the performance docs under the net.core.somaxconn settings: "Note: If you set this to a value greater than 512, change the backlog parameter to the NGINX listen directive to match" |
I'd say that the first person to demonstrate the value of having it be configurable in Haraka can provide the impetus to make it so. Until then, as far as we know 0 is better than the default, right? |
For SMTP - I can't really seem to find any benefit of setting it to anything other than 0. The problem being is that if you allow the kernel to queue up 511 connections, they all come thundering in at once. I did consider making it configurable, but I really couldn't find a good argument for doing so. |
Did you test values other than 0?
…On Thu, Dec 8, 2016 at 6:31 PM, Matt Simerson ***@***.***> wrote:
I'd say that the first person to demonstrate the value of having it be
configurable in Haraka can provide the impetus to make it so. Until then,
as far as we know 0 is better than the default, right?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1738 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAobY-PI_6V2YxAyJ_B4RYZpSqAi-L-lks5rGJNngaJpZM4LHu3b>
.
|
* port haraka/Haraka#1738 to haraka-config * update changelog
Fixed bug in config cache that was causing non-existent files to be checked on every call.
As we've dropped support for earlier versions of Node, replace all calls to process.nextTick() with setImmediate() and expose setImmediate() in the plugin sandbox.
Fix toobusy plugin, it was completely broken and not working correctly.
Set backlog to zero on all listen() calls as it was found to improve connection handling under heavy loads (>30 connections/sec).