You are viewing the documentation for Blueriq 17. Documentation for other versions is available in our documentation directory.

In some cases, you may want to shutdown a Blueriq service in a failover setup, i.e. in the case of down scaling.

Graceful shutdown

As the Blueriq services in a failover setup are stateless, there is no need to wait for sessions to complete before performing a shutdown. In most cases, performing a graceful shutdown of the container should suffice, as this allows the applications to process their active requests before exiting.

Refusing connections before shutdown

If your application potentially deals with long running HTTP requests that might exceed the shutdown grace period (for example when large files are processed), you may want to make sure that the application no longer accepts requests for a period of time before performing a shutdown by removing it from your load balancer. We advice to determine a sensible duration for your application based on it's characteristics. The safest value would be the same duration as your application server's request timeout.

  • No labels