List Info

Thread: Deploying WSGI apps INSIDE cherrypy?




Deploying WSGI apps INSIDE cherrypy?
user name
2006-10-03 18:56:40
I've got a couple WSGI apps and I'm interested in using
CherryPy as a
multi-threaded container for them... so basically rather
than running
CherryPy inside a WSGI container, I want to run WSGI apps
inside
cherrypy.

Is this possible, has anyone had any experience here? I like
CherryPy
from some brief experience with TurboGears but I'm not even
sure if
this is the right approach.

Right now we're running inside Apache with mod_python using
prefork,
and we're trying to get everything inside the same process.

Alec


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "cherrypy-users" group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to
cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://
groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

Deploying WSGI apps INSIDE cherrypy?
user name
2006-10-03 20:23:45
On 10/3/06, alecf < alecflettgmail.com">alecflettgmail.com> wrote:

I've got a couple WSGI apps and I'm interested in using CherryPy as a
multi-threaded container for them... so basically rather than running
CherryPy inside a WSGI container, I want to run WSGI apps inside
cherrypy.

Is this possible, has anyone had any experience here? I like CherryPy
from some brief experience with TurboGears but I'm not even sure if
this is the right approach.

Yep, you can use CherryPy as the container. 

If you are using 2.2.x, see the tests for the wsgiapp_filter:
http://www.cherrypy.org/browser/tags/cherrypy-2.2.1/cherrypy/test/test_wsgiapp_filter.py

If you are using the 3.0beta line, see:
http://www.cherrypy.org/browser/trunk/cherrypy/test/test_wsgiapps.py

This page also has some good information on some of the WSGI features of CP3:
http://www.cherrypy.org/wiki/WSGI

Post pack with any questions that you may have.

Christian
http://www.dowski.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "cherrypy-users&quot; group.
To post to this group, send email to cherrypy-usersgooglegroups.com
To unsubscribe from this group, send email to cherrypy-users-unsubscribegooglegroups.com
For more options, visit this group at http://groups.google.com/group/cherrypy-users
-~----------~----~----~----~------~----~------~--~---

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )