[Cppcms-users] Multiprocesses and cppcms_scale
Brought to you by:
artyom-beilis
From: william l. <we...@gm...> - 2012-04-06 14:45:14
|
Hi, I'm reading the wiki pages, and played some examples. I have two questions, actually, maybe talking about same thing. 1. cppcms_scale Here in this page, it mentioned "cppcms_scale" http://cppcms.com/wikipp/en/page/cppcms_1x_high_performance and I found the built binary cppcms_scale.exe as well. It is supposed to provide triggered cache, and cross process session support? I can't any wiki page talking about its usage. I found here is something about "cppcms_tcp_scale" http://cppcms.com/wikipp/en/page/ref_utils Are they the same thing? It would be great if can have a page/sample talking more about how to scale up. Thanks. 2. Multi-Processes Here in this page, http://cppcms.com/wikipp/en/page/tut_concept it mentioned CppCMS can have a pool of threads or processes. But here when configure with web servers, http://cppcms.com/wikipp/en/page/cppcms_1x_tut_web_server_config#Configuring.Other.Web.Servers document mentioned "be sure it starts only a single process". Otherwise the cache & session will be messed up, due to not cross process. Is this the problem cppcms_scale targeted to solve ? If true, how can we configure CppCMS with modern web servers, to run as multiple processes and multiple threads, in fastcgi env? Thanks for the great work! I'd like to use CppCMS in my production environment soon. Cheers, William L. |