That's what I was originally going to do, but they are either going to have conflicting imports (different versions of the same libraries, so different virtualenvs), or the parent app has a large set of dependencies and one of the child apps has another large set of dependencies (including scientific number-crunching libraries) and I don't want to combine the two in the same process in case that creates further maintenance headaches.
On Mon, Apr 28, 2014 at 10:17 PM, Chris McDonough <[email protected]> wrote: > On 04/28/2014 07:35 PM, Mike Orr wrote: >> >> In the next few months I will need the ability to forward requests >> from a Pyramid application to another Pyramid or Pylons application >> running in a separate processes. The reason for the separate processes >> is they're still in Pylons or have complex dependencies and I want to >> keep their code separate. The reason for the parent application is for >> complex authentication. >> >> Any ideas for how to approach this? I think a Pyramid view will be >> making an HTTP request via IPC. So, urllib? >> >> I've started using uWSGI for Apache-Pyramid communication, but that's >> probably too complex for Pyramid-subapp communication. The subapp >> response time does not have to be fast, since these are minor use >> cases. >> > > Have you thought about doing something like this? > > <http://docs.pylonsproject.org/projects/pyramid-cookbook/en/latest/porting/legacy.html> > > - C > > -- > You received this message because you are subscribed to the Google Groups > "pylons-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/pylons-discuss. > For more options, visit https://groups.google.com/d/optout. -- Mike Orr <[email protected]> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pylons-discuss. For more options, visit https://groups.google.com/d/optout.
