Re: [Cppcms-users] cppcms standalone really?
Brought to you by:
artyom-beilis
|
From: Artyom B. <art...@ya...> - 2013-08-25 06:16:27
|
>________________________________ > From: Eric Gendron <con...@gm...> >So... >In production system for e-commerce using cppcms, > your advice is to use a webserver and running the cppcms app in cgi ? Yes, but not with CGI - use FastCGI or SCGI :-) >If so... >Apache or nginx ? Lighttpd :-) Seriously, any web server like Apache, Lighttpd, Nginx or Cherokee is fine. But.. Apache is very powerful but does not scale well for multiple connections. For example one one of the heavily loaded cppcms/lighttpd based sites we keep file descriptor limits much higher that default 1024. The apache even in mod_worker would use huge amount of memory for such a load - if it would be capable of handling it a tall. While lighttpd virtually does not feel it. So the actual choice is between lighttpd and nginx (or Cherokee). My personal preference is lighttpd, but nginx is fine as well as long as you use latest versions >=1.3.* http://blog.cppcms.com/post/99 Also many would disagree about my opinion about nginx. Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ |