Thread: [Cppcms-users] cppcms standalone really?
Brought to you by:
artyom-beilis
|
From: Eric G. <con...@gm...> - 2013-08-16 15:57:44
|
Hi, I am interested to create a website with cppcms. I need authentification and probably ssl. I want it faster as possible... and I love C++ ! I have some questions, to be sure... I think cppcms can run without any webserver. What I think I saw with the hello world example. Is it correct that I can run it without Apache or nginx? If so... what could I need later that I won't be able to do if my site run directly without webserver? If I run my site without webserver, will it be ok for a lot of concurrent users? Or maybe the ability to run directly is limited to embeded devices or single user site ? Somebody know how faster is it comparing "standalone mode", running in "apache" and/or running in "nginx" ? Thanks for infos. E. |
|
From: Artyom B. <art...@ya...> - 2013-08-24 12:19:59
|
It is simple: - Internal web server is good for development and if is fine for embedded applications. - It is not very efficient in serving static files - It does not support many features of modern web servers, including SSL, vhosts etc. - Internal web server supports HTTP/1.0 responses only Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: Eric Gendron <con...@gm...> >To: cpp...@li... >Sent: Friday, August 16, 2013 6:57 PM >Subject: [Cppcms-users] cppcms standalone really? > > > >Hi, > >I am interested to create a website with cppcms. I need authentification and probably ssl. I want it faster as possible... and I love C++ ! > >I have some questions, to be sure... > >I think cppcms can run without any webserver. What I think I saw with the hello world example. Is it correct that I can run it without Apache or nginx? If so... what could I need later that I won't be able to do if my site run directly without webserver? > > >If I run my site without webserver, will it be ok for a lot of concurrent users? Or maybe the ability to run directly is limited to embeded devices or single user site ? > > >Somebody know how faster is it comparing "standalone mode", running in "apache" and/or running in "nginx" ? > > >Thanks for infos. > > >E. > > >------------------------------------------------------------------------------ >Get 100% visibility into Java/.NET code with AppDynamics Lite! >It's a free troubleshooting tool designed for production. >Get down to code-level detail for bottlenecks, with <2% overhead. >Download for free and get started troubleshooting in minutes. >http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |
|
From: Eric G. <con...@gm...> - 2013-08-25 03:32:20
|
So... In production system for e-commerce using cppcms, your advice is to use a webserver and running the cppcms app in cgi ? If so... Apache or nginx ? On Aug 24, 2013 8:20 AM, "Artyom Beilis" <art...@ya...> wrote: > It is simple: > > - Internal web server is good for development and if is fine for embedded > applications. > - It is not very efficient in serving static files > - It does not support many features of modern web servers, including SSL, > vhosts etc. > - Internal web server supports HTTP/1.0 responses only > > > > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > ------------------------------ > *From:* Eric Gendron <con...@gm...> > *To:* cpp...@li... > *Sent:* Friday, August 16, 2013 6:57 PM > *Subject:* [Cppcms-users] cppcms standalone really? > > Hi, > > I am interested to create a website with cppcms. I need authentification > and probably ssl. I want it faster as possible... and I love C++ ! > > I have some questions, to be sure... > > I think cppcms can run without any webserver. What I think I saw with the > hello world example. Is it correct that I can run it without Apache or > nginx? If so... what could I need later that I won't be able to do if my > site run directly without webserver? > > If I run my site without webserver, will it be ok for a lot of concurrent > users? Or maybe the ability to run directly is limited to embeded devices > or single user site ? > > Somebody know how faster is it comparing "standalone mode", running in > "apache" and/or running in "nginx" ? > > Thanks for infos. > > E. > > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite! > It's a free troubleshooting tool designed for production. > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
|
From: Forgotten O. <dr...@gm...> - 2013-08-25 03:45:02
|
I would think nginx is a better choice. I seriously hope SSL would be implemented soon On 25 Aug 2013 11:32, "Eric Gendron" <con...@gm...> wrote: > So... > In production system for e-commerce using cppcms, your advice is to use a > webserver and running the cppcms app in cgi ? > > If so... > > Apache or nginx ? > On Aug 24, 2013 8:20 AM, "Artyom Beilis" <art...@ya...> wrote: > >> It is simple: >> >> - Internal web server is good for development and if is fine for embedded >> applications. >> - It is not very efficient in serving static files >> - It does not support many features of modern web servers, including SSL, >> vhosts etc. >> - Internal web server supports HTTP/1.0 responses only >> >> >> >> >> Artyom Beilis >> -------------- >> CppCMS - C++ Web Framework: http://cppcms.com/ >> CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >> >> ------------------------------ >> *From:* Eric Gendron <con...@gm...> >> *To:* cpp...@li... >> *Sent:* Friday, August 16, 2013 6:57 PM >> *Subject:* [Cppcms-users] cppcms standalone really? >> >> Hi, >> >> I am interested to create a website with cppcms. I need authentification >> and probably ssl. I want it faster as possible... and I love C++ ! >> >> I have some questions, to be sure... >> >> I think cppcms can run without any webserver. What I think I saw with >> the hello world example. Is it correct that I can run it without Apache or >> nginx? If so... what could I need later that I won't be able to do if my >> site run directly without webserver? >> >> If I run my site without webserver, will it be ok for a lot of concurrent >> users? Or maybe the ability to run directly is limited to embeded devices >> or single user site ? >> >> Somebody know how faster is it comparing "standalone mode", running in >> "apache" and/or running in "nginx" ? >> >> Thanks for infos. >> >> E. >> >> >> >> ------------------------------------------------------------------------------ >> Get 100% visibility into Java/.NET code with AppDynamics Lite! >> It's a free troubleshooting tool designed for production. >> Get down to code-level detail for bottlenecks, with <2% overhead. >> Download for free and get started troubleshooting in minutes. >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Introducing Performance Central, a new site from SourceForge and >> AppDynamics. Performance Central is your source for news, insights, >> analysis and resources for efficient Application Performance Management. >> Visit us today! >> >> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >> _______________________________________________ >> Cppcms-users mailing list >> Cpp...@li... >> https://lists.sourceforge.net/lists/listinfo/cppcms-users >> >> > > ------------------------------------------------------------------------------ > Introducing Performance Central, a new site from SourceForge and > AppDynamics. Performance Central is your source for news, insights, > analysis and resources for efficient Application Performance Management. > Visit us today! > http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > > |
|
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/ |