On Fri, Apr 4, 2014 at 11:18 AM, Donald Stufft <don...@stufft.io> wrote:
> > On Apr 4, 2014, at 10:56 AM, Chuck Thier <cth...@gmail.com> wrote: > > On Fri, Apr 4, 2014 at 9:44 AM, Donald Stufft <don...@stufft.io> wrote: > >> requests should work fine if you used the event let monkey patch the >> socket module prior to import requests. >> > > That's what I had hoped as well (and is what swift-bench did already), but > it performs the same if I monkey patch or not. > > -- > Chuck > _______________________________________________ > OpenStack-dev mailing list > OpenStack-dev@lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev > > > Is it running inside of a eventlet.spawn thread? > It looks like I missed something the first time, as I tried again and got a little different behavior. monkey patching the socket helps, but is still far slower than it was before. Currently, swift bench running with requests, does about 25 requests/second for PUTs and 50 requests/second for GETs. The same test without requests does 50 requests/second for PUTs and 200 requests/second for GETs. I'll try to keep digging to figure out why there is such a performance difference, but if anyone else has had experience tuning performance with requests, I would appreciate any input. -- Chuck
_______________________________________________ OpenStack-dev mailing list OpenStack-dev@lists.openstack.org http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev