Re: [Cppcms-users] Max processes on cppcms lighttpd
Brought to you by:
artyom-beilis
From: Shiv S. D. <shi...@gm...> - 2012-11-04 11:42:03
|
Thanks Artyom. Too bad I should have searched documentation for process pool. I knew about thread pool but not about process pool. Thanks a lot for all the help. On Sun, Nov 4, 2012 at 4:30 PM, Artyom Beilis <art...@ya...> wrote: > > > > >________________________________ > > From: Shiv Shankar Dayal <shi...@gm...> > >To: cpp...@li... > >Sent: Sunday, November 4, 2012 10:56 AM > >Subject: [Cppcms-users] Max processes on cppcms lighttpd > > > > > >Hi, > > > >The configuration says max-procs should be one. Why is this restriction? > > > > CppCMS provides its own thread pool and process pool. That allows tighter > integration between threads/processes for stuff like sharing cache > and sessions. > > > Second point is how is one supposed to run multiple processes and load > balance. > > Is it mandatory to run second process on another machine and then load > balance. > > If such is the case how can one achieve vertical scaling. > > No, it is not mandatory, and of course you can easily do vertical scaling. > > However you need to use cppcms_scale services for sharing cache that would > be shared using network across different nodes. > > Same for session management. Of course if you use, for example, > shared file system, client side session storage or database for session > storage you don't need cppcms_scale. > > So as long as you don't scale to multiple network nodes it is better > to use CppCMS with its own process and thread pool rather than > > letting lighttpd to handle it for you. > > > > > >-- > >Best regards, > >Shiv Shankar Dayal > > > > Artyom Beilis > -------------- > CppCMS - C++ Web Framework: http://cppcms.com/ > CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ > > > ------------------------------------------------------------------------------ > LogMeIn Central: Instant, anywhere, Remote PC access and management. > Stay in control, update software, and manage PCs from one command center > Diagnose problems and improve visibility into emerging IT issues > Automate, monitor and manage. Do more in less time with Central > http://p.sf.net/sfu/logmein12331_d2d > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > -- Best regards, Shiv Shankar Dayal |