Hi guys
I have been using Lighttpd using the simple conf from the webpy set up
page

It has served me well so far. now I need to add scaling and more nodes/
servers/computers however you wanna call it.

Several people recommended nginx over lighty as nginx is asynchronous
and scales well.

Also the recommend mode is to proxy to webpy apps
running
as simple ./code.py 8080
 ./code.py 8081
 ./code.py 8082
 ./code.py 8083

for 4 nodes

does this work well

my question is
 ./code.py 8080 doing this during development is really slow like
10secs for a page
and fastcgi lighttpd gives like .2 s for a page

should i be using lighty in the backend with nginx proxying in the
front

Any tips/sample conf files appreciated

thanks
Green

 server.modules = ("mod_fastcgi", "mod_rewrite")
 server.document-root = "/path/to/root/"
 fastcgi.server = ( "/code.py" =>
 (( "socket" => "/tmp/fastcgi.socket",
    "bin-path" => "/path/to/root/code.py",
    "max-procs" => 1
 ))
 )

 url.rewrite-once = (
   "^/favicon.ico$" => "/static/favicon.ico",
   "^/static/(.*)$" => "/static/$1",
   "^/(.*)$" => "/code.py/$1",
 )


--~--~---------~--~----~------------~-------~--~----~
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