Red Hat Bugzilla – Bug 1028795
There should be no downtime for a scaled app
Last modified: 2016-11-30 19:27:53 EST
Description of problem:
When I restart or git push the scaled app during the load, there are several seconds when the app is unavalable. In fact, it happens even without any load
Version-Release number of selected component (if applicable):
reproduced on devenv-stage_562
Steps to Reproduce:
1. rhc app create myphp php-5.3 -s
2. scale up the app. Make sure the app has 2 gears
3. create some local content, git commit and push
4. During git push constantly check the app's url for availability
there are several moments when I get 503 - service unavailable
the app url should be available always
If we want to restart the app without down time, we should have at least two haproxies.
The case is out of date.
In your step, the app should have a small downtime to restart the haproxy cartridge. But you can see the web gears are rolling restart.