문제

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?

도움이 되었습니까?

해결책

It's part of their enterprise package.

Documentation for rolling restarts in Apache

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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top