-
tom
Is there any way to increase the initial speed at which http uploads upload?
-
tom
It takes about a second to ramp up 10 megabits
-
tom
Say i have 100 megabits per second free. I'd like to be able to send files instantly
-
tom
Is this an NGINX issue? Seems to be so as uploads kick off instantly since tuning my TCP congestion algo
-
tom
Though, it's definitely not a throughput issue as i've got a 80gigabit downlink on the server
-
travis
it could be a lot of different things, client, server, anything in between
-
moparisthebest
easiest would be to try different clients
-
moparisthebest
what do you have handling http upload on the server ?
-
tom
Th perl script
-
tom
And nginx's mod_perl_handler
-
mimi89999
tom, What are you using?
-
tom
mimi89999: https://0x0.st/-KZw.pm
-
moparisthebest
my first gut instinct is to blame perl
-
tom
Why?
-
moparisthebest
it's not exactly known as the fastest language known to man
-
tom
Sure, but it's not that slow
-
mimi89999
How is data passed to the perl handler?
-
moparisthebest
but, that answers my server question, and makes trying with a known-good client easy, try uploading files with curl: https://github.com/moparisthebest/open-screeny/blob/master/http_upload.sh
-
tom
And it's slowest parts are startup during compilation into a tree
-
mimi89999
CGI? FastCGI?
-
tom
No cgi
-
tom
It's built into the NGINX worker
-
moparisthebest
if the curl upload is slow, then you 100% know it's a problem with network or server
-
tom
Thanks for the test script