Re:We have used too many levels of abstractions and now the ...
by sgarland on Saturday October 21, 2023 @11:31AM
(#37967623)
The number of times people write code that immediately tries hitting the DB again upon failure - with no back off or jitter - is entirely too high.
Assume everything is broken, all the time.
also, devs seem to not understand that a computer network is basically a massive distributed system (on the routing level anyways), and that things inside this system can and do fail nearly constantly.
things like latency, endpoint connectivity and available bandwith is not a fixed given!.
So many devs in my experience seem to write code which assumes the network is always available with the same characteristics as the point in time in which they wrote the software.
Not to even mention devs are even entire companies building HA mechanisms which rely on ethernet connectivity to work, making it very hard if not impossible to stretch them properly across network segments/locations without stretching ethernet. (which brings its own set of problems).