3 ms·
If you just have a context, than your app cannot kill itself and the environment has to do it. That is better than nothing, but having the app do the killing is
by liampulles 3y ago
If you just have a context, than your app cannot kill itself and the environment has to do it. That is better than nothing, but having the app do the killing is advantageous because: A) it can die faster (and so you can e.g. do your blue-green rollout faster) and B) you can write a log to say that your app is finished shutting down all its components, which can be useful for troubleshooting if your app was mid-transaction when it was killed.