Erlang / Erlang Advanced Interview questions
Why can global name registration cause a network partition ("split brain") problem?
If a cluster's network splits into two isolated groups that can each still see their own members but not the other side, each half only knows about its own view of global names. A process on each side of the partition could register the same global name independently, since neither side can detect the other's conflicting registration while the network is split — you end up with two "single" registered processes simultaneously, each side believing it holds the only one.
When the partition heals and the two node groups reconnect, global's conflict resolver runs
retroactively and kills one of the two conflicting processes to restore a single consistent registration
— meaning whichever side loses that resolution had been operating, potentially for some time, under a
now-invalidated assumption that it held the sole registered process.
This is why systems relying on global uniqueness guarantees during network instability often add their own
quorum or leader-election logic on top of global, rather than trusting it alone under partition
conditions.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
