The Coder Cafe

The Coder Cafe

Share this post

The Coder Cafe
The Coder Cafe
Gossip Glomers
Copy link
Facebook
Email
Notes
More
Concepts

Gossip Glomers

Practical Distributed Systems Challenges

Teiva Harsanyi's avatar
Teiva Harsanyi
Nov 28, 2024
3

Share this post

The Coder Cafe
The Coder Cafe
Gossip Glomers
Copy link
Facebook
Email
Notes
More
Share

Hello! Today, let’s explore another kind of coding challenge with Gossip Glomers.

Gossip Glomers is a fantastic challenge (for real!). Instead of focusing on coding, this challenge explores the world of distributed systems: fly.io/dist-sys.

It was crafted by Fly.io, a cloud platform aiming to ease the deployment and running of applications1. In addition, they paired with Kyle Kingsbury, the author of Jepsen2.

I haven’t encountered a better challenge that allows us to get our hands dirty while working on distributed systems. Furthermore, a great thing about that challenge is that while the documentation and examples are in Go, we can solve it in any programming language.

There are five main challenges (if we omit the Echo challenge, which is for the setup):

  • Unique ID generation: The goal is to build a globally unique ID generation system3.

  • Broadcast: Implement a broadcast system that gossips messages between all the nodes in a cluster in a fault-tolerant and efficient way.

  • Grow-only counter: Develop a stateless, grow-only counter that relies on a store implementing sequential consistency4.

  • Kafka-style log: Build a replicated log service similar to Kafka with a strong focus on efficiency.

  • Totally-available transactions: Here, we must create a distributed store that ensures read uncommitted and then read committed isolation levels.

Whether you are a junior developer eager to dive into distributed systems or a senior engineer looking for a fresh challenge, I’m sure that you will learn something new; I certainly did!

The Coder Cafe logo.

Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve timeless concepts with your coffee. Written by a Google SWE and published author, we help you grow as an engineer, one coffee at a time.


Tomorrow, you will receive your weekly recap.

1

I have never used it, but the concept looks interesting, and some great folks are working there, such as Ben Johnson, the author of Litestream.

2

Jepsen is a company that built a framework that is used to test database vendor claims. They produce amazing analyses to verify, for example, that databases such as MongoDB properly implement their claims regarding consistency models.

3

It can be solved using UUIDs, but that wouldn’t be fun enough.

4

Sequential consistency is the consistency model right below linearizability; we will explore these models in future issues.


Subscribe to The Coder Cafe

By Teiva Harsanyi · Launched 9 months ago
Feeling overwhelmed by the endless stream of tech content? At The Coder Cafe, we serve timeless concepts with your coffee. Written by a Google SWE and published author, we help you grow as an engineer, one coffee at a time.
Rojin Ebrahimi's avatar
Robin's avatar
3 Likes
3

Share this post

The Coder Cafe
The Coder Cafe
Gossip Glomers
Copy link
Facebook
Email
Notes
More
Share

Comments

User's avatar
Working on Complex Systems
This is why recognizing whether a system is complicated or complex is so important: it shapes how we should approach problem-solving.
May 7 • 
Teiva Harsanyi
41

Share this post

The Coder Cafe
The Coder Cafe
Working on Complex Systems
Copy link
Facebook
Email
Notes
More
So, I Wrote a Book
The Story Behind 100 Go Mistakes and How to Avoid Them
Apr 8 • 
Teiva Harsanyi
39

Share this post

The Coder Cafe
The Coder Cafe
So, I Wrote a Book
Copy link
Facebook
Email
Notes
More
12
Unit Tests As Documentation
Unit tests are always in sync with the code, making them a powerful tool for up-to-date documentation.
Oct 17, 2024 • 
Teiva Harsanyi
19

Share this post

The Coder Cafe
The Coder Cafe
Unit Tests As Documentation
Copy link
Facebook
Email
Notes
More
1

Ready for more?

© 2025 Teiva Harsanyi
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share

Copy link
Facebook
Email
Notes
More

Create your profile

User's avatar

Only paid subscribers can comment on this post

Already a paid subscriber? Sign in

Check your email

For your security, we need to re-authenticate you.

Click the link we sent to , or click here to sign in.