1. Definition: CCU
CCU (Concurrent Users):
The number of users simultaneously logged in or actively using system resources at the same time.
Purpose:
To limit simultaneous usage of system resources (e.g., sessions, server load).
To ensure system stability and performance, preventing overload.
In the context of MAVIS:
Each account login occupies one Session and consumes one CCU slot.
Logging in from multiple devices or browsers consumes additional CCU slots.
The CCU limit controls the maximum number of concurrent users allowed online.
2. Login Verification Rules
When a user logs in, the system must check if there are remaining available slots (CCU > 0).
If available CCU > 0: allow normal login.
If available CCU = 0:
Regular users: an error message will be displayed, indicating that the CCU limit has been reached and to contact the administrator.
Administrators: one admin account can still log in to perform operations (usage will exceed the licensed limit, e.g., limit 5 users, admin becomes the 6th).
When an admin has already exceeded the usage limit: all other logins, regardless of account type, will display an error message indicating the CCU limit has been reached.
3. Session and Usage Calculation Rules
One account + one device (browser) = occupies 1 Session and 1 usage count.
Multiple tabs in the same browser for the same account → still occupies 1 Session / 1 usage count.
Logging in from different devices → each device consumes its corresponding Session / usage count.
Different browsers (same device) → each browser consumes its corresponding Session / usage count.
Incognito / Private Mode:
Same browser in incognito mode → occupies 1 user.
Normal mode + incognito mode in the same browser → occupies 2 users.
Multiple incognito tabs → still counts as 1 user.
4. Examples
Different Devices
Same account logging in on two computers → occupies 2 users.
Different Browsers (same device)
Same account logging in on Chrome and Edge simultaneously → occupies 2 users.
Multiple Tabs in the Same Browser (normal mode)
Same account in multiple tabs of the same Chrome browser → still occupies 1 user.
Incognito / Private Mode in the Same Browser
Same account in Chrome incognito mode → occupies 1 user.
Using normal mode + incognito mode simultaneously → occupies 2 users.
Multiple incognito tabs → still counts as 1 user.
Mixed Devices & Browsers
Same account on Device A (Chrome) and Device B (Edge) simultaneously → occupies 2 Sessions / 2 users.