4 ms·
Smart health checks and logging should take care of that and remove the instance automatically. You can also spin up a canary machine to "live" debug. I'm refer
by moondev 10y ago
Smart health checks and logging should take care of that and remove the instance automatically. You can also spin up a canary machine to "live" debug. I'm referring to distributed clusters not a single machine taking on all the traffic.
- icebraining 10y agoSmart health checks and logging should take care of that and remove the instance automatically. What if the bug is corrupting data or sending incorrect results to the client? Even if you detect and kill the instance, you still have a problem to fix. And even if you can cleanly kill the instance and redirect the request, you can't avoid the latency hit from having to re-process it. You can also spin up a canary machine to "live" debug. You can reproduce the code and data, but how can you reproduce the exact state? You can't log everything that happens in a machine.