Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Accepted Answer
Using await before the sendRequest() function is a big no because when you use await the code will be forced to wait for the sendRequest() function to finishing executing. You mentioned that you have more than 50K queries, so maybe the client can’t send that many requests at once. So my advice would be to remove the await in the sendRequest() function and only send 400 requests at a time to the server, if that succeeds try increasing the number of requests that the client makes to see what is the maximum number of requests that the client can make. Also, check this question I found on StackOverflow , it might help you with the EADDRNOTAVAIL issue. You can reach me at sam.b.russian@gmail.com if you need more help.