|
|
|
|
|
by benatkin
4867 days ago
|
|
The naive approach would fail badly if they didn't have some way of supporting a healthcheck. A customizable url path (/healthcheck is often used) where the app would return 200 if things look good would work. Otherwise you may wind up with dyno that's quickly sending back 500's where not appropriate, and since it's handling lots of requests the router would keep giving it more. |
|
That being said, health checks are nice for other reasons and could be used outside of the routing layer (which you need to sail along as quickly as possible).