Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

High I/O load on DNS requests #14

Open
pkarw opened this issue Dec 11, 2019 · 4 comments
Open

High I/O load on DNS requests #14

pkarw opened this issue Dec 11, 2019 · 4 comments
Labels
5: Complex bug Something isn't working

Comments

@pkarw
Copy link
Contributor

pkarw commented Dec 11, 2019

What is the motivation for adding/enhancing this feature?

Original issue raised by one of the users:

I can see a lot of loooong DNS lookup on VSF API when it calls external Apis
It seems to be a know problem on NodsJS because this part runs on a monothread
So it wait for the first call to finish, if you have a lot of external API calls at the same it stays in the queue to be processed
And at a moment he cant handle it anymore and your site is unbrowsable
Its what is happening when we send a newsletter
I really would like you guys take a look at this problem because it will happen with other merchants with peak traffic

Related resources:

@pkarw pkarw added bug Something isn't working 5: Complex labels Dec 11, 2019
@pkarw
Copy link
Contributor Author

pkarw commented Dec 11, 2019

Probably a workaround is to uset etc/hosts to explicitly map the addresses however is of course not a final solution

@pkarw
Copy link
Contributor Author

pkarw commented Dec 11, 2019

@jonathanribas
Copy link

For information this issue is a Docker related environment.
One more interesting article: https://tech.xing.com/a-reason-for-unexplained-connection-timeouts-on-kubernetes-docker-abd041cf7e02

@pkarw
Copy link
Contributor Author

pkarw commented Dec 11, 2019

https://tech.xing.com/a-reason-for-unexplained-connection-timeouts-on-kubernetes-docker-abd041cf7e02

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
5: Complex bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants