Monday, 26 October 2026

18 entries · final
Concept of the day · distributed systems

Consistent Hashing

Adding a node should move 1/n of the keys, not all of them.

The mechanism. hash(key) % n is catastrophic under resizing: change n and almost every key maps somewhere new, so every cache misses and every shard rebalances at once. Consistent hashing maps both keys and nodes onto a ring. A key belongs to the first node clockwise from it. Add or remove a node and only the keys between it and its predecessor move — about 1/n of them.

Virtual nodes. With one point per node, the ring is lumpy: some nodes own far more of the keyspace than others, and removing a node dumps all its load onto a single neighbour. Give each physical node 100–200 virtual points and the distribution smooths out and the load of a departing node spreads across all the others. Every real implementation does this.

Bounded loads. Even with virtual nodes, a hot key or a skewed workload can overload one node. Consistent hashing with bounded loads caps any node at (1+ε) times the average, spilling to the next node on the ring when it is full. Useful for request routing, not for storage placement.

The alternatives. Rendezvous (highest random weight) hashing is simpler — hash (key, node) for every node and take the max — and gives perfect distribution with no virtual nodes, at O(n) per lookup. Jump consistent hash is faster and smaller still, but cannot handle arbitrary node removal, only shrinking the tail.

Where you will meet it. Memcached clients, Cassandra and DynamoDB partitioning, Envoy's ring-hash load balancer, and any sharded cache you are about to resize.

0 of 18 read

Top Reads

5

Articles and engineering write-ups worth the full read.

Partial Order Precedence

ziglang.org·Lobsters·37 points / 14 commentszigthread →

Balloting has completed for C++26. Unfortunately it was Disapproved

tl;dr: it looks like C++ 26 got turned down by the national bodies (afaik unprecedented)

linkedin.com·Lobsters·51 points / 26 commentsc++thread →

Dolly Parton's Imagination Library

With today's news, I thought I'd share this great program: “When I was growing up in the hills of East Tennessee, I knew my dreams would come true. I know there are children in your community with their own dreams. They dream of becoming a doctor or an inventor or a minister. Who knows, maybe there is a little girl whose dream is to be a writer and singer. The seeds of these dreams are o

imaginationlibrary.com·Hacker News·465 points / 86 commentsthread →

“AI Skills” are worthless in 2026

fishbowl.pastiche.org·Lobsters·6 points / 6 commentsai-toolingpracticesthread →

When a glibc update accidentally breaks Chromium's audio (2021)

refi64.dev·Lobsters·15 points / 2 commentscdebuggingprogrammingthread →

Shipped

3

Releases, changelogs, cloud and language news.

Python 3.15.2, 3.14.10, 3.13.18, 3.12.16 and 3.11.18 are out

Five expedited security releases to distrust the compromised eMudhra intermediate CA keys.

blog.python.org·Python Insiderreleaseslanguage

JEP targeted to JDK 28: 544: Ahead-of-Time Code Compilation

The following JEP is targeted to JDK 28: 544: Ahead-of-Time Code Compilation

inside.java·Inside Javajdk 28project leydenperformance

.NET October 2026 Out-of-Band Security Updates

Today, we are releasing out-of-band (OOB) security updates for .NET 8, .NET 9, and .NET 10, along with .NET 11 Release Candidate 3. We recommend updating as soon as possible. Security updates This out-of-band release addresses CVE-2026-111497 , a vulnerability in the Brotli decompression algorithm . It also includes a fix for CVE-2026-114148 (Linux .NET tarball ownership) in .NET 8, 9, 10, and 11.

devblogs.microsoft.com·.NET Blog.netmaintenance & updatessecurity

Repos

3

Projects gaining real traction, and what they actually do.

Zagitta/gpu-unlock

Unlock FP/BF16 instruction issue rate on Nvidia 3000's cards to their professional equivalents

github.com·GitHubc

jaywcjlove/awesome-mac

 This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.

github.com·GitHubswiftappapple

browser-use/browser-use

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

github.com·GitHubpythonai-agentsai-tools

Discussion

3

Threads where the comments are the content.

AI use leads UC Berkeley math professor to see 'no point' in grading homework

dailycal.org·Hacker News·210 points / 306 commentsthread →

OpenAI and Anthropic cut their LLM prices by up to 80% within a few months. Why?

minimaxir.com·Hacker News·218 points / 247 commentsthread →

France asked ISPs to prepare temporary DNS blocks for major social platforms

blast-info.fr·Hacker News·149 points / 175 commentsthread →

AI

3

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

A 10-year-old CNN outperforms frontier LLMs for skin cancer diagnosis

lynchlab.net·Hacker News·496 points / 226 commentsthread →

Samsung running a TensorFlow lite model on 960x540 image to track you

twitter.com·Hacker News·287 points / 1 commentsthread →

Is Kubernetes ready for AI agents?

Kubernetes was built around a fairly simple assumption. It’s that software does what its developers told it to do. AI The post Is Kubernetes ready for AI agents? appeared first on The New Stack .

thenewstack.io·The New Stackai agentsai infrastructurekubernetes

Deep

1

One paper or long teardown.

Runtime BiDi Structural Verification Catches Right-to-Left Layout Defects that Accessibility, Actionability, and Logical-Property Linting Miss

Bidirectional (right-to-left, RTL) layout defects arise when interfaces authored with physical directional CSS (margin-left, border-left, text-align:left) are rendered under dir="rtl" without being mirrored. Accessibility engines (axe-core), actionability engines (Playwright), and even Stylelint's current core logical-property rule fail to localise these defects. We present runtime structural inva

arxiv.org·arXiv CScs.secs.hcpaper

Revision

2 from earlier editions

Answer each one before you open it.

Why is backoff without jitter still a synchronised retry storm?3d ago

Retries without jitter re-synchronise your clients into a self-inflicted DDoS.

Concept · Exponential Backoff with Jitter
What does an LSM tree trade away to make every write sequential?10d ago

Trade read amplification for write throughput by never updating in place.

Concept · LSM Trees