Feature #271
massive client process administration
Status: | Closed | Start date: | 01/09/2018 | |
---|---|---|---|---|
Priority: | Normal (Code 4) | Due date: | ||
Assignee: | - | % Done: | 100% | |
Category: | - | |||
Target version: | - |
Description
According to Ojars Krumins request:
In case, when system needs many generic clients without specific or custom data in configuration subsection, it would be cool to have just a plain count variable instead of full line for each.
Technically it might be implemented like:
Count variable by default is 1 if not specified.
If count value is specified - section can look like:
<client cmdline="myclient -t MYGENCLIENT -s 1"> <exec tag="MYGENCLIENT" subsect="MYGENCLIENTSUBSECT_${ID}" autostart="Y" log="${LOGDIR}/tmp/MYGENCLIENT_${ID}" count=100/> </client>
To make system more flexible, subsection can be considered as empty if does not exist in config file or applied if exist.
For example, first 5 clients can be started with specific parameters located in subsections, next 5 with another, and remaining - without (generic). To keep consistency, empty subsections internally can be kept in "virtual" mode what is used real is not found.
History
#1 Updated by Madars about 6 years ago
- Description updated (diff)
#2 Updated by Madars about 5 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Implemented here: https://www.endurox.org/issues/367 this mostly is duplicate.
#3 Updated by Madars about 5 years ago
- Status changed from Resolved to Closed