Hi guys,

I'm running a webpy through lighttpd as a fastcgi process, and I've
had some performance issues.  Doing a little benchmarking using ab:

ab - 1 -n 1000 http://example.com/

That gives me ~ 45 requests per second on my shared hosting...not
great, but not too shabby.  I didn't think anything of it until I
tried benchmarking against the builtin server:

ab -1 -n 1000 http://localhost:8080/

This yields like 200 requests per second!

Any idea why the big difference?  Here's my config for fastcgi:

"/code.py" =>
(( "socket" => "/tmp/fastcgi.socket",
   "bin-path" => "/home/web/code.py",
   "check-local" => "disable",
   "max-procs" => 1,
   "bin-environment" => (
    "REAL_SCRIPT_NAME" => ""
   )
))


Thanks,
Justin
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to