Chapter 4. Divide and Conquer

One of the primary advantages of technologies such as Hazelcast is the distributed nature of their data persistence. By fragmenting and scattering the data that is held across many diverse nodes, we can achieve high levels of reliability, scalability, and performance. In this chapter, we will investigate the following topics:

  • How data is split into partitions
  • How data is backed up within the overall cluster
  • Replicating backups – synchronous versus asynchronous
  • The trade-off between the read performance and consistency
  • How to silo groups of nodes together
  • How to manage network partitioning (the split-brain syndrome)
  • How to ensure that a sufficient quorum of nodes is available

Divvying up the data

In order to be resilient, Hazelcast ...

Get Getting Started with Hazelcast - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.