Use of multiprocessing in Pyro
Dick Kniep <dick.kniep-xGHxO693rVlmR6Xm/[email protected]> Wed, 4 Dec 2013 14:40:01 +0100
| Newsgroups | gmane.comp.python.pyro |
|---|---|
| Message-ID | <[email protected]> |
Hi list, We are running a system that has been built in the last decade. I want to implement a daemon that acts as middleware and stores the state of each logged on user. The businesslogic that has been built is NOT threadsafe. But I really need the daemon to be multithreaded. So I thought about multiprocessing where the memory is separated. What I am thinking about is to run Pyro in multiplexed mode and when a user logs on build the session in a multiprocessing way. Then when the session has been started, any subsequent request must be channeled to the correct process, but should satisfy my needs. Is this a viable path? Thanks in advance, D. Kniep ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk