Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Simplifying Service Management with Consul

You're reading from   Simplifying Service Management with Consul Overcome connectivity and security challenges within dynamic service architectures

Arrow left icon
Product type Paperback
Published in Nov 2021
Publisher Packt
ISBN-13 9781800202627
Length 234 pages
Edition 1st Edition
Concepts
Arrow right icon
Author (1):
Arrow left icon
Robert E. Jackson Robert E. Jackson
Author Profile Icon Robert E. Jackson
Robert E. Jackson
Arrow right icon
View More author details
Toc

Table of Contents (12) Chapters Close

Preface 1. Section 1: Consul Use Cases and Architecture
2. Chapter 1: Consul Overview – Operation and Use Cases FREE CHAPTER 3. Chapter 2: Architecture – How Does It Work? 4. Chapter 3: Keep It Safe, Stupid, and Secure Your Cluster! 5. Chapter 4: Data Center (Not Trade) Federation 6. Section 2: Use Cases Deep Dive
7. Chapter 5: Little Bo Peep Lost Her Service 8. Chapter 6: Connect Four or More 9. Chapter 7: Animate Me 10. Chapter 8: Where Do We Go Now? 11. Other Books You May Enjoy

Gossiping serfs

Now that we understand a bit more about how a server peer set is established and operates, let's take a deeper look into what everybody is gossiping about. Again, if we start unpacking where the gossip protocol comes from, it utilizes the Serf (https://www.serf.io/) library, which is based on the Scalable Weakly-consistent Infection-style Process Group Membership protocol, which has thankfully been shortened to SWIM (http://www.cs.cornell.edu/info/projects/spinglass/public_pdfs/swim.pdf). We've jumped off of the Raft, and we've gone swimming!

Have a look at the following diagram:

Figure 2.16 – Gossip connections

All of the members of the Consul cluster, the servers and clients, are swimming in the same pool. This enables the distributed discovery of all members of the pool, their status, and—of course—the status of any services registered with the Consul clients. Although gossip is how all of the agents...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime