Tuesday, 27 October 2026

18 entries · final
Concept of the day · distributed systems

Raft

Consensus you can actually hold in your head: one leader, an append-only log, a majority.

The mechanism. Raft decomposes consensus into three problems. Leader election: nodes are followers until one times out, becomes a candidate, and wins a majority vote for a numbered term. Log replication: all writes go to the leader, which appends them and replicates to followers; an entry commits once a majority have it. Safety: a candidate can only win if its log is at least as up to date as the majority's, which guarantees a new leader never discards committed entries.

Why it exists. Paxos is correct and famously hard to implement correctly. Raft was explicitly designed for understandability — strong leadership, no holes in the log, and terms as a logical clock — and it won: etcd, Consul, TiKV, CockroachDB, RabbitMQ quorum queues, Kafka's KRaft and Redpanda all run Raft or a close variant.

What it costs you. Every write is a majority round trip, so write latency is bounded below by your slowest-of-majority network hop — which is why a three-region Raft group has a floor of tens of milliseconds per write. Throughput is bounded by the leader. A majority must be alive: 3 nodes tolerate 1 failure, 5 tolerate 2. An even number of nodes buys you nothing.

The parts that bite in production. Reading from the leader is not automatically linearizable — a deposed leader may not know it yet, so you need a lease or a read index. Membership changes are a protocol step, not a config edit. And a slow follower can silently become a liability long before it is "down".

Takeaway. Raft gives you a replicated log. Everything else — a KV store, a lock service, a state machine — is what you build on top of it.

0 of 18 read

Top Reads

5

Articles and engineering write-ups worth the full read.

Websites Should Be Printable

brennenputh.me·Lobsters +1·309 points / 186 comments·2 sourcescsswebthread →

CSS-Tricks has a new owner

css-tricks.com·Lobsters +1·416 points / 94 comments·2 sourceswebthread →

SIMD-accelerated computer vision on a $2 microcontroller

shraiwi.com·Lobsters +1·192 points / 57 comments·2 sourcesassemblythread →

Meta Employees Denounce Interference in Brazilian Elections

panamericandispatch.org·Hacker News·310 points / 140 commentsthread →

Billion-query-per-second lookup tables in C++

A lot of software spends its time mapping strings to values. A web server must identify the HTTP method ( GET , POST , &#8230;). It must recognize header names. A URL parser must recognize the protocol ( http , https , ftp , &#8230;). A compiler must recognize keywords. In C++, the default approach is to put the strings in a std::unordered_map . std :: unordered_map < std :: string_view , Method >

lemire.me·Daniel Lemireblog

Shipped

4

Releases, changelogs, cloud and language news.

Our Response To The eMudhra Key Disclosure Incident

How the Go team responded to the eMudhra certificate compromise with our first-ever URGENT track security release.

go.dev·Go Bloglanguage

HypoPG 1.4.4 is out!

HypoPG 1.4.4 is out! Tainan, Taiwan - Sun 25 Oct 2026 HypoPG 1.4.4 I'm pleased to announce the release of the version 1.4.4 of HypoPG, an extension adding support for Hypothetical Indexes, compatible with PostgreSQL 9.2 and above. Changelog Bug fixes : Fix hypothetical index name for Oid >= 2^31 (Devrim Gündüz) Fix memory leak of WITH clause options (Devrim Gündüz) Check maximum number of columns

postgresql.org·PostgreSQL Newspostgres

How to fund Rust contributors

TLDR: To fund general maintenance, donate to the Rust Foundation Maintainers Fund or sponsor the RustNL Maintainers Team To fund specific features and improvements, sponsor fundable Rust Project Goals To fund individual contributors, donate to their GitHub Sponsors accounts There is always so much to do in the Rust Project! New features to implement, bugs to fix, performance optimizations to make,

blog.rust-lang.org·Rust Bloglanguage

Easy to integrate, compliant by design: Bringing the Swiss Franc to Google Cloud Universal Ledger

Every day, countless financial transactions are interrupted by slow, expensive, and inflexible conventional payment systems. As a result, public commercial stablecoins like Tether, USDC, and PayPal USD have become increasingly popular by making it easy to move money efficiently with instant, 24/7 blockchain settlement. Yet major regulated banks have largely kept such transactions at arm’s length;

cloud.google.com·Google Cloud Blogai & machine learningcustomersfinancial services

Repos

3

Projects gaining real traction, and what they actually do.

JustAResearcher/gpu-unlock-ada

GPU tensor unlock source for RTX 4090 and experimental RTX 4070 Ti SUPER; firmware generated locally

github.com·GitHubc

The Exponential Time Hypothesis Is False [pdf]

See also: Announcing three new discoveries in mathematics, computer science, and physics - https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=50251344

github.com·Hacker News·471 points / 175 commentsthread →

Type Server Protocol

github.com·Hacker News·217 points / 146 commentsthread →

Discussion

2

Threads where the comments are the content.

A mathematician reads the AI future

theatlantic.com·Hacker News·68 points / 128 commentsthread →

What are you doing this week?

What are you doing this week? Feel free to share! Keep in mind it’s OK to do nothing at all, too.

lobste.rs·Lobsters·15 points / 26 commentsaskprogramming

AI

3

Capped on purpose, so it does not eat the edition.

Working with academic communities to build scientific understanding

OpenAI shares model results on the Kakeya conjecture, Exponential Time Hypothesis, and quantum chromodynamics—and how researchers can verify and build on them.

openai.com·OpenAI +1·677 points / 296 comments·2 sourcesresearchaithread →

Making Failure Diagnosis Reliable with Pensive AI

By Praneeth Yenugutala , Victor Dusa , Anastasia Samoilova , Megan Ren , Justin Wei , Marcelo Mayworm At Netflix, data and machine learning practitioners run millions of workloads each day across orchestration systems and compute engines such as Titus, Spark, Trino, and Druid. On peak days, roughly 100,000 workloads fail. When workloads fail, the failure itself is only the beginning. Someone still

netflixtechblog.com·Netflix Technology Blogpensivedata-engineeringmaestros

Meta Networking at the 2026 OCP Global Summit: Open Innovation for Scale-Up, Scale-Out, and Scale-Across AI Networks

At the 2026 Open Compute Project (OCP) Global Summit, Meta shared the networking innovations that are directly supporting our latest AI models, including Muse Wonder and Muse Spark , and our gigawatt-scale Prometheus cluster . Highlights IcePack & IceCube: Meta&#8217;s first liquid-cooled network rack with 102.4T switch blades (128×800G, Broadcom Tomahawk 6C and NVIDIA Spectrum-6 variants), runnin

engineering.fb.com·Engineering at Metadata center engineeringdata infrastructuredevinfra

Deep

1

One paper or long teardown.

A Deep Dive into Salesforce’s Agent Tech Stack

Only 30% of AI agent pilots reach production. What separates them? (Sponsored) Datadog&#8217;s free eBook covers what actually separates the agents that ship from the pilots that stall. Spoiler: it&#8217;s not the model. It&#8217;s durable execution, memory management, evaluation pipelines, and observability. You&#8217;ll learn how to: Identify the four failure modes that kill agent programs befor

blog.bytebytego.com·ByteByteGosystem design

Revision

2 from earlier editions

Answer each one before you open it.

What happens to the origin the instant a popular cache key expires?3d ago

One expired key, a thousand simultaneous recomputations.

Concept · Thundering Herd and Cache Stampede
How does MVCC let a reader avoid blocking on a concurrent writer?10d ago

Readers never block writers because each sees its own snapshot of history.

Concept · MVCC