-
-
Notifications
You must be signed in to change notification settings - Fork 68
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
Intermittent long pauses when running as server #80
Comments
you most likely encountered javascript's garbage collector |
Hmm I tested changing the settings related to this. I eventually tracked it down to a specific DNS request that was causing the problem though not to why. Assuming it was broken in some way. If the clients who were sending that were blocked the pause never occurred. Stopped debugging as moved over to using Coredns which is currently working really well for us. |
sadly coredns doesn't seem to cover my needs 😔 |
What are you needs? |
Contacting a mongo database, storing cache in redis/memcached and contacting some REST APIs for each dns request. |
Don't worry though, the dns server is already written and has been working for like a decade now. |
:) Cool understand The above should be very doable via a plugin, as I'm doing something of a similar level of complexity. The migration over was as simple as all the logic, which had been sorted in the node code, being far simpler to iterate. Having said that, if we didn't have the bug, I also wouldn't have done the rewrite :) |
When under high load, the server pauses for a couple of seconds now and again.
I've tried to work out what could have caused this.
But at my wits end to find this.
Has someone else seen something similar?
The text was updated successfully, but these errors were encountered: