By bobbahbrown
I’m currently trying to troubleshoot a rather annoying issue with one member of my small community, this user in based in the UK and is having severely limited [potentially throttled] connections when downloading static content from our server.
For some level of comparison, from my server in NYC1, I get about 6MB/s when downloading from our NGINX server; he will get around 500KB/s. If relevant, I have about 31ms ping and he has around 110ms~.
Is there a way wherein I might determine if this bottleneck is indeed his ISP or some other networking issue on his side?
I’m currently using a configuration wherein the traffic is using SSL http/2, and the configuration of the static directory is as follows:
location /storage {
access_log off;
aio threads;
directio 16M;
output_buffers 2 1M;
sendfile on;
tcp_nopush on;
sendfile_max_chunk 512k;
}
I’ve been tweaking the NGINX configuration to attempt to get a higher throughput for serving large files, but it seems that has had little effect for him. That leads me to guess it’s something else on the server itself or perhaps his ISP.
The server itself is running Ubuntu 16.04, 2gb of RAM, 1 vCPU, and 50gb SSD, and is located in NYC1. It typically has very low load, as we use it for small functions in our small community, like serving files.
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!
Hi there,
I think that one option to narrow such cases down is to try with a different server, for example create a new server in a different region and test this again. That way you will be able to verify if the bottle neck is the existing server or the ISP.
Another option is to try and use a CDN service, for example the DigitalOcean Spaces comes with a CDN option:
https://docs.digitalocean.com/products/spaces/how-to/enable-cdn/
Also, if the user has a chance it is worth testing this from another ISP or a mobil network if available.
The user, could also run an MTR and see if there is any packet loss along the way which might be causing the problem.
Best,
Bobby
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.