Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

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 Smile ).

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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Development ToDo finalized
Next Topic: U++ needs sockets examples and documentation
Goto Forum:
  


Current Time: Mon May 13 09:02:02 CEST 2024

Total time taken to generate the page: 0.02455 seconds