On 5/7/07, Andrew Wilson <[EMAIL PROTECTED]> wrote: > ---------- Forwarded message ---------- > From: Andrew Wilson <[EMAIL PROTECTED]> > Date: May 7, 2007 5:25 PM > Subject: Re: [Paste] Deploying apps that use different versions of a library > To: Brad Clements <[EMAIL PROTECTED]> > > > > > > My question is this: what's the best way to Paste Deploy a set of > > > applications that have mutually contradictory requirements. For example, > > > application A says: > > > > are these all running as part of the same process, or are you just > concerned > > about having two versions of CherryPy installed? > > They aren't, at present, running at all; I'm trying to figure out how to > deploy them. I have two versions of CherryPy installed; setuptools allows > that fairly simply. But, so far as I know, Paste Deploy runs all of the > configured applications in one Python process, hence all of the applications > will be running in one Python process. I think that's the way that WSGI > works. > > So...is this just a limitation of using Paste to collect a number of WSGI > applications into a server? I must make sure that all the applications can > run at one package version? Or is there some kind of known solution to allow > the WSGI appliciations to be deployed by Paste into multiple Python > processes, so each one can require its own versions of the software?
The short answer is to proxy the applications behind Apache and use a different Web server for each. I use a separate instance of paster for each of my 4 Web applications anyway. There are much more complicated long answers, but I think you should just do the above. Best Regards, -jj -- http://jjinux.blogspot.com/ _______________________________________________ Paste-users mailing list [email protected] http://webwareforpython.org/cgi-bin/mailman/listinfo/paste-users
