DEV Community

Discussion on: Graceful Shutdown Is A Lie

Collapse
 
stefandorresteijn profile image
Stefan Dorresteijn

Writing your code assuming that it'll crash is a pretty decent standard either way. When I was writing Elixir, that was the standard and it created much fewer awkward situations, because we never just assumed something was done. It was always checked, or assumed to have gone wrong. Sure, we sometimes sent a notification too many when our notification service lagged out and ended up sending the notification anyway, but nothing was lost!