Re: [Web-SIG] A query for hosting providers

2005-04-05 Thread Ian Bicking
Remi Delon wrote: On our own servers we've been using CGI connectors (wkcgi, Zope.cgi), which seem fast enough, and of course won't be crashing Apache. Yeah, but we wanted a somewhat "standard" way of talking to Apache and most frameworks do come with a small HTTP server, so that works fine for

Re: [Web-SIG] A query for hosting providers

2005-04-03 Thread Remi Delon
On our own servers we've been using CGI connectors (wkcgi, Zope.cgi), which seem fast enough, and of course won't be crashing Apache. Yeah, but we wanted a somewhat "standard" way of talking to Apache and most frameworks do come with a small HTTP server, so that works fine for us and it also compl

Re: [Web-SIG] A query for hosting providers

2005-04-03 Thread Remi Delon
The CP-Location trick is not needed (I should remove it from this page as it confuses people). Hmm, I wrote that part of the page. My specific reason for using a custom header is that it's the only way I can see to locate a CherryPy application *not* at the root of a virtual host. Maybe we should c

Re: [Web-SIG] A query for hosting providers

2005-04-01 Thread Ian Bicking
Titus Brown wrote: -> I use relative URLs because of this, but I understand why this might -> cause you problems. Perhaps we can add a 'root namespace' parameter -> to WSGI... duh. That's what SCRIPT_NAME is. BTW, an interesting (I think) pattern that I found, with a hook I added to wsgikit.urlp

Re: [Web-SIG] A query for hosting providers

2005-03-31 Thread Titus Brown
-> I use relative URLs because of this, but I understand why this might -> cause you problems. Perhaps we can add a 'root namespace' parameter -> to WSGI... duh. That's what SCRIPT_NAME is. Sorry. ;) --titus ___ Web-SIG mailing list Web-SIG@python.o

Re: [Web-SIG] A query for hosting providers

2005-03-31 Thread Titus Brown
-> > The CP-Location trick is not needed (I should remove it from this page -> > as it confuses people). -> -> Hmm, I wrote that part of the page. My specific reason for using a -> custom header is that it's the only way I can see to locate a CherryPy -> application *not* at the root of a virtual

Re: [Web-SIG] A query for hosting providers

2005-03-31 Thread Ian Bicking
Remi Delon wrote: On our own servers we've been using CGI connectors (wkcgi, Zope.cgi), which seem fast enough, and of course won't be crashing Apache. Yeah, but we wanted a somewhat "standard" way of talking to Apache and most frameworks do come with a small HTTP server, so that works fine for u

Re: [Web-SIG] A query for hosting providers

2005-03-31 Thread Paul Moore
On Thu, 31 Mar 2005 11:56:33 +0100, Remi Delon <[EMAIL PROTECTED]> wrote: > The CP-Location trick is not needed (I should remove it from this page > as it confuses people). Hmm, I wrote that part of the page. My specific reason for using a custom header is that it's the only way I can see to loca

Re: [Web-SIG] A query for hosting providers

2005-03-31 Thread Remi Delon
Ian Bicking wrote: Remi Delon wrote: I'm wondering -- and this is mostly directed to the hosting providers (Remi, Sean...) -- what are the problems with providing commodity-level hosting for Python programs? I can think of some, but I'm curious what you've encountered and if you have ideas abou

Re: [Web-SIG] A query for hosting providers

2005-03-29 Thread Ian Bicking
Remi Delon wrote: I'm wondering -- and this is mostly directed to the hosting providers (Remi, Sean...) -- what are the problems with providing commodity-level hosting for Python programs? I can think of some, but I'm curious what you've encountered and if you have ideas about how to improve t

Re: [Web-SIG] A query for hosting providers

2005-03-29 Thread Remi Delon
This allows us to use the trick described on this page: http://www.cherrypy.org/wiki/BehindApache (look for "autostart.cgi") to have Apache restart the server automatically if it ever goes down. A main disadvantage of using apache to start the HTTP server is process UID. The HTTP server will be s

Re: [Web-SIG] A query for hosting providers

2005-03-29 Thread Sridhar Ratna
On Tue, 29 Mar 2005 10:43:55 +0100, Remi Delon <[EMAIL PROTECTED]> wrote: > This allows us to use the trick described on this page: > http://www.cherrypy.org/wiki/BehindApache (look for "autostart.cgi") to > have Apache restart the server automatically if it ever goes down. > A main disadvantage

Re: [Web-SIG] A query for hosting providers

2005-03-29 Thread Remi Delon
I'm wondering -- and this is mostly directed to the hosting providers (Remi, Sean...) -- what are the problems with providing commodity-level hosting for Python programs? I can think of some, but I'm curious what you've encountered and if you have ideas about how to improve things. Some things

Re: [Web-SIG] A query for hosting providers

2005-03-28 Thread Bill Janssen
> * Long running processes are hard to maintain (assuming we rule out > CGI). Code becomes stale, maybe the server process gets in a bad state. >Sometimes processes becomes wedged. With mod_python this can effect > the entire site. I've been extremely impressed at how well Python's VM doe

Re: [Web-SIG] A query for hosting providers

2005-03-28 Thread Lloyd Kvam
Speaking as a Tummy.com customer, I have a virtualized linux server. My processes are isolated from Tummy's other clients on that piece of hardware at the OS level. I still face the same issues with long-running processes, but at least it is all from code that I maintain on a server image that I

Re: [Web-SIG] A query for hosting providers

2005-03-27 Thread Ian Bicking
michael bayer wrote: if you run multiple virtual hosts out of Apache, mod_python by default creates new subinterpreters, via Py_NewInterpreter, for each virtual host. this can also be set up per apache directive, an arbitrary name, or within individual directories. although how well Py_NewI

Re: [Web-SIG] A query for hosting providers

2005-03-27 Thread michael bayer
if you run multiple virtual hosts out of Apache, mod_python by default creates new subinterpreters, via Py_NewInterpreter, for each virtual host. this can also be set up per apache directive, an arbitrary name, or within individual directories. although how well Py_NewInterpreter separates

[Web-SIG] A query for hosting providers

2005-03-27 Thread Ian Bicking
I'm wondering -- and this is mostly directed to the hosting providers (Remi, Sean...) -- what are the problems with providing commodity-level hosting for Python programs? I can think of some, but I'm curious what you've encountered and if you have ideas about how to improve things. Some things