Skip to main content

Configure custom queue cache

When Workspace has a large number of active users, you can improve the application's performance using a custom queue cache.

Once the cache is active, and a user starts to work with the 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) is the 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) is the maximum time during which assignments can be stored in memory.

The cache is active by default with the following parameters: size=30, time-to-live=10m.

If the Custom queue cache feature is active, changes in the queue list can have a delayed effect, for example, changed assignee for an assignment, changes in the custom order, new assignments added, and so on.