How idling affects data domain behavior

You can create a data domain profile that automatically turns a data domain to idle if it receives no queries for the specified timeout period. Automatic idling of data domains is useful as it helps control the proliferation of data domains in the Endeca Server deployment, thus improving hardware utilization by the Endeca Server. This topic discusses how Endeca Server manages automatic idling of data domains.

A data domain is idle when the Dgraph process is stopped, on the Endeca Server node hosting this data domain. A data domain that is idle continues to be registered with the Endeca Server, however the Endeca Server stops allocating resources (memory and processing threads), to this data domain. An idle data domain is activated automatically if it receives a query. In other words, once an end user of a front-end application powered by the Endeca Server, (such as Studio), issues a request, an idle data domain is activated, and its Dgraph process is restarted automatically.

Limitations for the idling of data domains are as follows:
A data domain profile contains these settings (in the Manage Web Service) for idling of a data domain:
The following statements describe which operations activate (or do not activate) an idle data domain:
Note: It is important to distinguish an "idle data domain" from a "data domain that is configured to auto-idle": an idle data domain is the one that is already idle (its processes are stopped); while a data domain configured to auto-idle is the one that uses the data domain profile with autoIdle set to true. It can be active but set to auto-idle after a timeout, or, it can already be idle, if it received no queries during the timeout.

If a data domain is configured to auto-idle, stopping and restarting its Dgraph process is handled automatically by the Endeca Server, without requiring you to call these operations explicitly, as you would do when manually starting and stopping a data domain.

The following statements describe how an idle data domain behaves in various situations: