# Net/http PUT/POST versus GET performance

**URL:** <https://www.ruby-forum.com/t/net-http-put-post-versus-get-performance/74443>\
**Category:** Ruby\
**Created:** [November 7, 2006, 10:44am UTC](https://www.ruby-forum.com/t/net-http-put-post-versus-get-performance/74443 "2006-11-07T10:44:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![snacktime](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/7feea3/32.png) [@snacktime](https://www.ruby-forum.com/u/snacktime)\
**Post date:** [November 7, 2006, 10:44am UTC](https://www.ruby-forum.com/t/net-http-put-post-versus-get-performance/74443/1 "2006-11-07T10:44:10Z")

</div>

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
