3 ms·
The problem described in the article could also exist if you followed the same messaging flow. Erlang and OTP may make it easier to have a better flow, but it'
by toast0 6y ago
The problem described in the article could also exist if you followed the same messaging flow.
Erlang and OTP may make it easier to have a better flow, but it's not a magic bullet. Plenty of ways to write race conditions and get unexpected message orderings (especially on a multinode system)
- dnautics 6y agoYeah this happens a lot, and in practice it's not a big deal. I noticed that when I redeploy, there's a nondeterministic flurry of errors in my system on the node that restarts. Finally I came to understand that this was race conditions. But it's honestly not a big deal. The system restarts anything in a funny state and moves on with its life. I feel like if you have something exquisitely race-condition sensitive that you aren't aware that it should be so, then you're not using OTP correctly.