[Repoze-dev] Re: Invitation to a dance

Chris McDonough chrism at plope.com
Fri Sep 28 19:40:57 UTC 2007


On Sep 28, 2007, at 2:45 PM, Jim Fulton wrote:

>
> On Sep 28, 2007, at 2:08 PM, Tres Seaver wrote:
>
>> Yes, at the moment (for the standalone case).  Any WSGI server should
>> do, but the Zope3 one is more solid than the wsgiutils / paste ones
>> seemed to be for our use case.
>
> How ironic.
>
> I really really really wish someone would do a WSGI server  
> benchmark (set of simple tests) so that people could have a better  
> basis for selecting servers.  I really don't want us to be in the  
> server business. I really want to see a benchmark that proves that  
> ours aren't the best. :) The benchmark doesn't have to be perfect.  
> Something that just did some fairly basic obvious tests would  
> probably shed a lot of light (and probably spur more benchmark  
> development).

I think the most commonly used non-Apache server implementations are  
probably Paste's "http" server and PasteScript's "wsgiutils" server.   
And maybe one Twisted's but I haven't tried that.

With this Paste configuration:

[DEFAULT]
debug = True

[app:test]
use = egg:Paste#test

[server:paste]
use = egg:Paste#http
host = 127.0.0.1
port = 8080

[server:wsgiutils]
use = egg:PasteScript#wsgiutils
host = 127.0.0.1
port = 8080

[server:zserver]
use = egg:repoze.zope2#zserver
host = 127.0.0.1
port = 8080

And I run (on my MacBook Pro):

ab -n1000 -c10 http://localhost:8080/ against each of the three  
servers serving up the test app:

egg:Paste#http ~ 1160 req/sec

   bin/paster serve --server-name=paste etc/paste.ini -n test

egg:PasteScript#wsgiutils ~95 req/sec

   bin/paster serve --server-name=wsgiutils etc/paste.ini -n test

egg:repoze.zope2#zserver ~ 1180 req/sec

   bin/paster serve --server-name=zserver etc/paste.ini -n test







More information about the Repoze-dev mailing list