I’m trying to create a web application that will be accessed by a few hundred users simultaneously. Each user’s device will check the server once every two seconds to see if anything has been updated.
I am using Varnish to optimize this and my web app can serve thousands of these requests per second when I run testing on my droplet. However, when I test through the internet, I get many connection resets.
I am doing my testing with the apache benchmark tool.
Is my droplet somehow confused into thinking I’m sending a DDOS attack?
I’m running Ubuntu 12.04
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!
Perhaps you have to tinker with the <code>MaxClients</code> and <code>MaxRequestsPerChild</code> directives, in your Apache configuration file. <br> <br>If enabled, have you tried disabling the <code>reqtimeout_module</code>?
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.