Home » Developing U++ » U++ Developers corner » Web framework....
Re: Web framework.... [message #34506 is a reply to message #34497] |
Sat, 26 November 2011 12:22 |
|
mirek wrote on Fri, 25 November 2011 21:37 | - preferred multithreaded apps (single process, many threads to serve connections) - advantage is to store some common cached data; alternative is preforked processes
|
May I ask you why you prefer MT over preforked processes? At work we use custom preforked server with shared memory. It proved very stable, since a problem (fatal error, lock-up etc.) in single child doesn't take down entire server. Also it is possible to limit each child to certain number of requests or set it some time of life, after which it is killed. This can be helpful in case of leaking apps (we don't use U++, so leaks happen from time to time ).
Of course I see that MT makes other things simple. So maybe having both options available is the right way to go...
Best regards,
Honza
|
|
|
Goto Forum:
Current Time: Mon May 13 09:02:02 CEST 2024
Total time taken to generate the page: 0.02455 seconds
|