net/http PUT/POST versus GET performance

Discussion in 'Ruby' started by snacktime, Oct 30, 2006.

  1. snacktime

    snacktime Guest

    I've found the performance difference between the PUT/POST and GET
    methods with net/http to be rather dramatic. The former clock in at
    around 10 per second, the latter at around 200. It seems that
    net/http sends the headers, then spends a large amount of time doing
    whatever is does with the body and then sending that. It isn't all
    written out to the socket at once. I can tell because I'm using
    eventmachine for the server end and it's very consistant, the whole
    request is never ready for reading on the server socket, it's always
    sent in two junks fairly far apart.

    Chris
     
    snacktime, Oct 30, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. jm
    Replies:
    1
    Views:
    526
    alien2_51
    Dec 12, 2003
  2. serge calderara

    HTTP GET vs HTTP POST protocol

    serge calderara, Nov 4, 2005, in forum: ASP .Net Web Services
    Replies:
    1
    Views:
    632
  3. n3d!m

    Http post and http get

    n3d!m, Jan 25, 2012, in forum: Python
    Replies:
    2
    Views:
    381
    n3d!m
    Feb 6, 2012
  4. Paul Butcher
    Replies:
    12
    Views:
    763
    Gary Wright
    Nov 28, 2007
  5. Fred
    Replies:
    17
    Views:
    269
Loading...

Share This Page