The Sharding Pattern
Sharding means dividing a whole component into small and manageable parts and distributing them into different nodes of a cluster, so that that the whole component can be accessed at all times. It gives better performance and never fails. Let us assume, we design and develop our Reactive System by following this design pattern. Even if one of our system's portion or part fails, it will recover that functionality by using another portion from same node or a different node in that same cluster or different cluster.
Here, those small parts are known as Shards.
This principle is the same even in the Reactive World. In a Reactive System, we divide a big Domain Object into small partitions and distribute them into different ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access