Processes
Delminio serves agents and people with one or more processes: copies of the program that work together on the same installation and share the requests between them. You choose how many in Settings → Processes, in the The installation section.
How many you need
One process is enough for a few hundred sessions working at the same time: in our measurements between 400 and 600, after which replies slow down. With three processes, on a four-core machine, 1,200 sessions at once got a reply in under a second (95 requests out of 100).
Our advice:
- one process while the team is small: every installation starts there;
- more when hundreds of agents work at the same time, or when Delminio's replies slow down at busy hours;
- at most one per core, leaving one free for the rest of the machine: the database, the system, the other services. The card says how many cores Delminio can use, and offers no more than those.
Every extra process takes its own memory: on a small machine, check the RAM before adding one.
When it applies
The number you choose applies from Delminio's next restart: with more than one process Delminio opens its port and keeps the state between two requests in a different way, and the change happens all at once. Until you restart, the card shows the chosen number in red next to the one in use.
To restart, from the folder where you installed Delminio:
docker compose restartDuring the restart, a few seconds, agents get an error and try again; it is best done when nobody is ending a session.
Who chooses
The admin chooses, from the main space: it applies to the whole installation, other spaces included. Members see the number in use.
If the installation's .env contains DELMINIO_PROCESSI, the number is set by the person who runs the machine: the card shows it and does not change it. To choose it from Settings again, remove the variable and restart.
On Delminio Cloud we choose the processes, and the card is not there.