dazuko-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Dazuko-devel] Restriction on quantity of connections.


From: Александр Корков
Subject: Re: [Dazuko-devel] Restriction on quantity of connections.
Date: Mon, 17 Sep 2007 22:42:04 +0400
User-agent: Thunderbird 2.0.0.6 (Windows/20070728)



John Ogness wrote:
Alexander Korkov wrote:
How I can increase quantity of connections by one group of trusted programs?

It depends somehow on it?

#define NUM_SLOTS       25

Yes, Dazuko implements the list of registered (or trusted) processes
using an array. The size of this array is hard-coded (at 25). By
increasing this size, you will increase the number of allowed registered
(or trusted) processes per group.

An array was chosen to simplify concurrent access to the list and allow
for very small regions to be protected by locks.

If increasing this value is important for you application, I could add a
"configure" option that allows the value to be set dynamically. For example:

$ ./configure --procs-per-group=50

A design based on dynamic-length lists is in the works and should be
included in an upcoming 3.0 version.

John Ogness

Yes, the option for a configure is a good way for the Dazuko versions less than 3.
It will allow me to not include patches in my application.
Thanks, I shall be grateful, if such option will be.


--
Alexander Korkov




reply via email to

[Prev in Thread] Current Thread [Next in Thread]