webpy fastcgi configuration

5 views
Skip to first unread message

xrfang

unread,
Nov 23, 2009, 7:56:24 AM11/23/09
to web.py
I am running webpy with nginx via fastcgi. There is a problem that
is, if I have 2 web.py apps I need to run 2 fcgi processes. But with
PHP, I only need to run one single fcgi process. Does webpy support
serving multiple applications with one fcgi process?

Secondly, with php-fcgi, I can use spawn-fcgi to spawn multiple php-
fcgi processes to cope with high simultaneous access rates. Can I do
this with web,py (ie. if I pass -C 5 to spawn-fcgi to launch 5
identical web.py application, can they seamlessly serve a single
application -- e.g. share session information across all fcgi
processes?

Thanks!
Reply all
Reply to author
Forward
0 new messages