Load Balancing
Prepare your Wisej.NET App
/**
* Health Check
*
* You can modify the default health check configuration by
* placing a HealthCheck.json file in the /bin directory of the
* application.
*
* HealthCheck Properties:
*
* maxMemory: Maximum percentage of allocated memory. Default: 70; 0 = skip.
* maxSessions: Maximum number of active sessions: Default: 100; 0 = skip.
* maxCPU: Maximum CPU load in percentage: Default: 100; 0 = skip.
* returnCode: Http return code to signal that this server is not available. Default: 503.
* retryAfter: Value for the Retry-After header in minutes. Default: 10.
*/
{
"enabled": true,
"maxMemory": 70,
"maxSessions": 100,
"maxCPU": 100,
"returnCode": 503,
"retryAfter": 10
}Configuration
Session
Healthcheck
HealthCheck.json
maxSessions
maxMemory
maxCPU
returnCode
retryAfter
HealthCheck.IsServerAvailable
Last updated
Was this helpful?

