Re:How to Sell Elixir Again (2023)
by lobstrosity420 on Saturday May 13, 2023 @10:42AM
(#35928870)
If there is data loss itβs an incident, full stop. Your observability layer should be letting you know.
[ Parent
| on HN ]
I agree. However, the linked article that I was quoting from seems to see things differently. It describes a situation in which transactions are failing (i.e. data is being lost), but it's not an incident.
Re:How to Sell Elixir Again (2023)
by throwawaymaths on Saturday May 13, 2023 @12:45PM
(#35930110)
It's still in your logs and you're still tracking it with whatever o11y suite you're using.
Transaction failing does not mean dataloss. If you think it is, you do not understand what graceful recovery means.
Graceful recovery means that something handle that failure after these transactions failed. There is no data loss. They may have been slower, but i think we can agree that a slight temporary latency for no dataloss and graceful handling of unexpected stuff like your database machine being on fire is not so bad?