Configure custom queue cache
When you have a large number of active users, you can enhance WorkSpace performance by using a custom queue cache.
If the cache is active, when a user works with an assignment queue, the application preloads a configurable number of subsequent assignments. In this case, when a user submits or skips an assignment, the next one is taken from the in-memory cache instead of the database.
There are two key parameters to configure the cache:
- Queue Cache size (
ws.custom-queue.cache-queue-size): count of preloaded assignments. The cache is active if the parameter is greater than 1. - Queue Cache time to live (
ws.custom-queue.cache-time-to-live1): maximum time that assignments can be stored in memory.
The cache is enabled by default with parameters: size=30, time-to-live=10m.
If the custom queue cache feature is active, changes in the queue list can affect a user with delay, for example, assignees set for an assignment, changes in a custom order, new assignments appearing, and so on.