On Sun, Mar 15, 2009 at 10:35 AM, SAMEER KUMAR <[email protected]> wrote: > Hi to all, > > We are working on hybrid architecture of OpenSIP Server. It already has a > Multiprocessing architecture. We would like to extend it to have hybrid > architecture like apache 2.0. Any advice or help or guidance from any one in > any form will be appreciated.
I think the biggest lesson for Apache 2.x MPMs is that the scope of an MPM was too much. The MPMs both were the lowest level abstraction layer for the operating system, and they defined the process model. I believe at least on *nix operating systems, this was a mistake. If you look at the Prefork/Worker/Events MPMs, there are huge swaths of copied code. If we do it all over again, I would strive to separate the process model parts from the portability parts of the MPM. The process model should be plugable, but should only use portable primitives/functions to execute a process model (prefork, worker, leader, event, etc). That is where I would like to go with the Simple MPM in trunk, but I just haven't had time to really finish it yet :)
