XMPP Service Operators - 2021-02-25

  1. tom

    Is there any way to increase the initial speed at which http uploads upload?

  2. tom

    It takes about a second to ramp up 10 megabits

  3. tom

    Say i have 100 megabits per second free. I'd like to be able to send files instantly

  4. tom

    Is this an NGINX issue? Seems to be so as uploads kick off instantly since tuning my TCP congestion algo

  5. tom

    Though, it's definitely not a throughput issue as i've got a 80gigabit downlink on the server

  6. travis

    it could be a lot of different things, client, server, anything in between

  7. moparisthebest

    easiest would be to try different clients

  8. moparisthebest

    what do you have handling http upload on the server ?

  9. tom

    Th perl script

  10. tom

    And nginx's mod_perl_handler

  11. mimi89999

    tom, What are you using?

  12. tom

    mimi89999: https://0x0.st/-KZw.pm

  13. moparisthebest

    my first gut instinct is to blame perl

  14. tom


  15. moparisthebest

    it's not exactly known as the fastest language known to man

  16. tom

    Sure, but it's not that slow

  17. mimi89999

    How is data passed to the perl handler?

  18. 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

  19. tom

    And it's slowest parts are startup during compilation into a tree

  20. mimi89999

    CGI? FastCGI?

  21. tom

    No cgi

  22. tom

    It's built into the NGINX worker

  23. moparisthebest

    if the curl upload is slow, then you 100% know it's a problem with network or server

  24. tom

    Thanks for the test script