Question

I'm using the PassengerPreStart and touch tmp/restart.txt to restart my app. Still, it is very slow (10s) to finish the restart process. This make a poor users experience on restart.

It would be nice if servers were not shutdown immediately, and some resquests were still served using the old servers, until the new servers finish their load and are ready to take requests quickly.

Is that possible with Passenger? Is it possible with another Rails webserver? How?

Was it helpful?

Solution

It's part of their enterprise package.

Documentation for rolling restarts in Apache

Unicorn also supports rolling restarts. Same question, but for Unicorn

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top