LinkedIn keeps telling me I have unread messages.
I don't. I read them.
The little bubble just sits there. In Recruiter. In regular Messaging. I open the thread, it's a conversation I already finished, and the badge finally clears.
Slack does it too. A badge for a conversation you already read. Bold text that won't unbold.
It's the typical case of eventual consistency, showing up in the one place everybody can see it.
---
My first reaction was annoyance. I'm an engineer. I know what this is.
My second reaction was: why am I okay with it?
Because I am. Everyone is. I open the thread. The badge clears. Nothing was lost. Nobody got charged twice. It costs me one click.
That's the thing. The message itself was never wrong. Only the count was.
The message is the record. The badge is just a view of the record — a small counter that gets copied everywhere and updated whenever I read anything, on any device.
Those two don't move at the same speed. They never did. Researchers once measured LinkedIn's stores and found them consistent within about 14 milliseconds, 99.9% of the time.
14 milliseconds is nothing. Until you multiply it by billions of reads a day. Then a badge that's briefly wrong isn't a bug. It's math.
To be fair to LinkedIn, they know exactly what they're doing. Their main store, Espresso, is the source of truth for messaging and InMail — built to choose consistency over availability. The derived stuff lives somewhere else, in Venice, and Venice is eventually consistent on purpose. It can always be rebuilt from the record.
They even got burned once doing it the other way. During their big messaging rewrite, they later admitted they had accidentally created eventual consistency between the old and new systems. Messages were slow to show up. People noticed. They rolled it back.
Slack is the same story on a completely different stack. MySQL, later sharded with Vitess. Every message saved before it's shown to anyone. And still — the ghost badge. Their own help page basically shrugs: something might be out of sync on our end, here's how to mark everything read.
Two of the most heavily used products in the world. Same trade. Protect the record. Let the badge catch up.
---
I keep coming back to a story from fifteen years ago. Because I watched some of it happen.
Facebook was rebuilding Messages. Cassandra was already there — Facebook created it. But it was running Inbox Search, not the messages.
Kannan Muthukaruppan wrote the post explaining the choice. For the messages themselves, they evaluated Cassandra and walked away. His words: "We found Cassandra's eventual consistency model to be a difficult pattern to reconcile for our new Messages infrastructure."
They picked HBase. Mostly for its simpler consistency model.
Read that again. The team that built Cassandra said no to Cassandra — for the record itself.
On that HBase team were Kannan, Karthik Ranganathan, and Mikhail Bautin. Karthik says he and Kannan were the third and fourth people to ever work on Cassandra. They knew eventual consistency from the inside, at the biggest messaging scale on the planet.
And when it was the actual messages on the line, they chose the other thing.
Years later, Messenger moved storage again, HBase to MyRocks. The product barely noticed. That's what a clean foundation buys you. You can re-lay the floor without rebuilding the house.
---
In February 2016, the three of them started Yugabyte.
Strip everything else away and the bet is simple. I have said this for years: it doesn't matter what the top level query interface is. As long as the storage layer is built strong, we can always add different primitives to the query layer.
That's literally what they did. One storage engine — DocDB, Raft replication, automatic sharding. Then Postgres on top. They said it plainly in 2024: "We use vanilla Postgres as-is for the query layer and replace Postgres storage with YugabyteDB's own distributed storage engine."
Postgres is one door. There's a Cassandra-compatible door. In 2025 they added a MongoDB-compatible one, in beta, plus vector search for AI workloads.
Karthik explained the thinking years ago: "We're not going to invent a new API — that's what people hate."
Honest caveat, because it matters: the doors share the engine, but a table written through one door isn't readable through another. The bedrock is shared. The rooms are still separate. I'd rather say that out loud than oversell it.
---
If you think this is just a Yugabyte story, watch what everyone else does with their own money.
PostHog rebuilt its warehouse product twice in five months. Off ClickHouse onto DuckDB. Then off DuckDB onto their own fork of Trino with their own table format, after the catalog filled up with ghost rows and writes took three minutes. They could swap engines twice in a year because the data sat in object storage, independent of whatever was querying it. And when the floor failed them, they went and built their own floor.
Discord ran 177 Cassandra nodes for messages and described the team as frequently firefighting. They ended up on ScyllaDB with 72 nodes.
Uber built its own store over MySQL. Figma looked at the fashionable distributed databases, decided migrating was too risky, and sharded its own Postgres instead.
And if you want a market signal: Databricks paid a billion dollars for Neon. Nobody pays a billion dollars for a query language.
---
Here is the part I actually care about.
Karthik has a rule from the Facebook years: never do anything that wakes you up at 3 a.m. that you'd rather not be doing at 10 a.m.
He tells a story about a team that ran a huge Cassandra migration over Christmas. Sleepless nights. Flawless execution. And at the very end, they dropped the wrong database.
Not malice. Not incompetence. Just exhaustion.
That's the whole game, right there. A database company's founders need to peacefully sleep at night, not worrying something crashed their data store. So the safety has to be in the system, in its guarantees — not in a tired human's judgment at 3 a.m.
I have known Kannan and Karthik since Facebook. They are deeply vested in their story, and I get why. A badge can heal itself — open the thread, the truth is there, the view rebuilds.
A balance can't heal itself. Neither can an order, or a permission, or a customer's primary data. There's nothing above the record to fix it from. The record is where it stops.
Messaging companies can afford an eventually consistent badge. The inconsistency lives in the cheap layer. A database company sells the record itself. It doesn't get that discount.
Pick the primitive you can sleep on.
The interfaces will keep changing. They always do.
---
References
- Kannan Muthukaruppan, "The Underlying Technology of Messages" (Facebook, Nov 2010) — contemporaneous coverage
- Migrating Messenger storage to MyRocks — Engineering at Meta (2018)
- On Brewing Fresh Espresso: LinkedIn's Distributed Data Serving Platform — SIGMOD 2013
- How LinkedIn redesigned its messaging platform — The New Stack (2020)
- Scaling Datastores at Slack with Vitess — Slack Engineering (2020)
- About Yugabyte and YugabyteDB with Enhanced Postgres Compatibility (2024)
- Getting Started with MongoDB API in YugabyteDB (2025)
- Why we rebuilt our data warehouse — PostHog (2026)
- Why we're moving our warehouse product off DuckDB — PostHog (Nov 2026)
- How Discord Stores Trillions of Messages — Discord (2023)
- Designing Schemaless, Uber's Scalable Datastore — Uber Engineering
- How Figma's Databases Team Lived to Tell the Scale — Figma (2024)
- Databases in 2025: A Year in Review — Andy Pavlo, CMU
- Q&A with Karthik Ranganathan — NextTechToday