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 cluster. This topic discusses how Endeca Server manages automatic idling of data domains.

A data domain profile contains these settings for idling of a data domain:
A data domain is idle when the Dgraph process is stopped, on all Endeca Server nodes 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 processes are restarted automatically. 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 that is configured to auto-idle is a data domain that uses the data domain profile with autoIdle set to true. Such a data domain can be active but set to auto-idle after a timeout, or, it can already idle be, if it received no queries during the timeout.

Comparing with an ability to manually disable a data domain, 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.

The following statements describe how an idle data domain behaves in various situations:
Limitations for the idling of data domains are as follows: