Hello,
There is no such feature,
However:
1. Technically you may have two instances of cppcms::service in same process.
of course they can't listen on same port.
Note: I hadn't tested this feature deeply so I can't promise that
wouldn't be problems there.
2. Nothing prevents from you to create two independent processes
where one has 5 threads and other 20.
The sessions can be easily shared, cache can be shared using cache over
tcp/ip backends as CppCMS is generally designed to work
in distributed mode.
Artyom
----- Original Message ----
> From: Cristian Oneț <one...@gm...>
> To: cppcms-users <cpp...@li...>
> Sent: Tue, April 5, 2011 11:17:55 AM
> Subject: [Cppcms-users] setting a priority between mounted applications
>
> Hi,
>
> I would like to ask if there is a possibility to control the number of
> threads that can be used to handle requests for a type of application?
> In other words a kind of priority between the mounted applications.
>
> For example if I have:
> A - mounted at /A
> B - mounted at /B
> and 15 threads then I would like to say that A is more important so
> allocate 12 threads to handling requests to /A and 3 to be /B.
>
> Regards,
> Cristian
>
> ------------------------------------------------------------------------------
> Xperia(TM) PLAY
> It's a major breakthrough. An authentic gaming
> smartphone on the nation's most reliable network.
> And it wants your games.
> http://p.sf.net/sfu/verizon-sfdev
> _______________________________________________
> Cppcms-users mailing list
> Cpp...@li...
> https://lists.sourceforge.net/lists/listinfo/cppcms-users
>
|