Skip to Content
Hands-On Software Engineering with Golang
book

Hands-On Software Engineering with Golang

by Achilleas Anagnostopoulos
January 2020
Intermediate to advanced
640 pages
16h 56m
English
Packt Publishing
Content preview from Hands-On Software Engineering with Golang

Chapter 12

  1. In a leader-follower configuration, the nodes hold an election and elect a leader for the cluster. All reads and writes go through the cluster leader, while the other nodes monitor the leader and automatically hold a new election if the leader becomes unavailable. As the name implies, in a multi-master configuration, the cluster has several master nodes and each of the master nodes can serve both read and write requests. The master nodes implement some form of distributed consensus algorithm (Raft, Paxos, and so on) to ensure that they always share the same view of the cluster's state.
  1. When implementing the checkpoint strategy, workers are periodically asked by the master to persist their current state to durable storage. If ...
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.
Start your free trial

You might also like

Hands-On Software Architecture with Golang

Hands-On Software Architecture with Golang

Jyotiswarup Raiturkar

Publisher Resources

ISBN: 9781838554491Supplemental Content