concept partition in category elixir

appears as: A partition, partitions, partition
Elixir in Action

This is an excerpt from Manning's book Elixir in Action.

Note that you won’t tackle the most difficult challenge of distributed systems: network partitions. A partition is a situation in which a communication channel between two nodes is broken and the nodes are disconnected. In this case, you may end up with a “split brain” situation: the cluster gets broken into two (or more) disconnected smaller clusters, all of which work and provide service. This situation can cause problems because now you have multiple isolated systems, each of which accepts input from users. Ultimately, you may end up with conflicting data that is impossible to reconcile. For most of this section, we’ll ignore this issue, but we’ll discuss some consequences before parting.

When you decide to go distributed, partitions are a problem you’ll have to deal with, one way or another. Even if you reach for a third-party product (such as an external database) to handle clustering and replication, you should understand how that product behaves when partitions occur. A network partition is a situation you shouldn’t ignore in a distributed system, and it’s best to be aware of the challenges you’ll face so you can make a conscious and an informed decision about how to proceed.