Thursday, 22 October 2026

18 entries · final
Concept of the day · architecture

Circuit Breaker

Stop calling a dependency that is already failing, so you fail fast instead of piling up.

The mechanism. A breaker wraps a remote call and tracks its failure rate. In closed state, calls pass through. When failures cross a threshold, it trips to open and fails immediately without calling — no socket, no timeout wait. After a cooldown it moves to half-open and lets a few probes through; success closes it, failure re-opens it.

The problem it actually solves. It is not about the failing dependency; it is about you. Without a breaker, every request to the sick service occupies a thread or a connection for the full timeout. Those resources are shared, so your healthy endpoints starve and a single slow dependency takes the whole service down. That is the cascading failure.

Getting it wrong. Too sensitive and you trip on normal jitter, turning a 1% error rate into a 100% outage. Thresholds should be a rate over a window with a minimum request count, never a raw count. And the breaker needs a fallback: a cached value, a degraded response, a queued retry. A breaker without a fallback just converts slow failures into fast ones, which is an improvement but not a feature.

Related tools. Bulkheads (separate pools per dependency, so one cannot starve the others) and timeouts (a breaker cannot help if your timeout is 60 seconds, because you will exhaust the pool long before the threshold trips). Timeouts first, then bulkheads, then breakers.

Takeaway. Set the timeout, isolate the pool, then add the breaker. In that order.

0 of 18 read

Top Reads

5

Articles and engineering write-ups worth the full read.

Railway Security Disclosure: Wednesday October 21st

blog.railway.com·Lobsters +1·381 points / 224 comments·2 sourcesdevopssecuritythread →

Compromised LiteLLM 1.107.0 on PyPI Installs a Credential Stealer and Backdoor

safedep.io·Lobsters +1·467 points / 158 comments·2 sourcesai-toolingsecuritythread →

Patch the Planet: global response coordination as agents uncover critical vulnerabilities

https://patchtheplanet.org/

openai.com·OpenAI +1·246 points / 165 comments·2 sourcessecurityaithread →

The Future of CSS ✨

Every year, browser vendors collaborate via the Interop project to synchronize their efforts on new HTML/CSS/JS features. This year, there’s a ton of super exciting features being considered! In this blog post, we’ll explore the CSS of the future, to get a glimpse of what we’ll soon be able to do. Keep reading .

joshwcomeau.com·Josh W. Comeau +2·603 points / 265 comments·3 sourcescssblogthread →

Google's Rust Style Guide

google.github.io·Lobsters +1·256 points / 138 comments·2 sourcesrustthread →

Shipped

4

Releases, changelogs, cloud and language news.

GitLab Critical Patch Release: 19.5.1, 19.4.3, 19.3.6, 19.2.9, 19.1.9, 19.0.10, 18.11.13

docs.gitlab.com·GitLab +2·287 points / 70 comments·3 sourcessecurityvcsengineeringthread →

Announcing DuckDB 2.0.0 LTS “Cinnamon Teal”

The DuckDB team is happy to announce that today we're releasing DuckDB version 2.0.0 LTS, codenamed “Cinnamon Teal” (Spatula cyanoptera). This is our biggest feature release so far, and it ships a polished version of the Quack protocol, asynchronous I/O, a first-class `VARIANT` type, agent mode, triggers, an extensible SQL parser and much more, built from close to 20,000 commits since DuckDB 1.5.

duckdb.org·DuckDB +1·386 points / 49 comments·2 sourcesreleasecloudinfrathread →

Introducing the unified Supabase .NET SDK

The Supabase .NET libraries move to a single repo, with a unified version number.

supabase.com·Supabasecloudinfra

GitHub CLI: Opt in to expiring, auto-refreshing OAuth tokens

You can now use expiring, automatically refreshing OAuth credentials in GitHub CLI as part of a public preview. When you opt in, gh stores an expiring access token alongside a rotating refresh token and automatically refreshes the token whenever it is needed. You stay authenticated without reauthenticating, and a leaked access token becomes unusable within hours instead of lasting indefinitely. Op

github.blog·GitHub Changelogreleaseapplication securityclient apps

Repos

3

Projects gaining real traction, and what they actually do.

PHP 8.2.35

Related ongoing thread: Today's PHP security release, and how we're strengthening security - https://news.ycombinator.com/item?id=50182987

github.com·Hacker News·990 points / 534 commentsthread →

simbasjungles/free-my-tv

A fast, ad-free home screen for Google TV. Open source, built with Claude Code. One button to undo.

github.com·GitHubjavaandroid-tvclaude-code

mitmproxy adds --emudhra option

github.com·Hacker News·352 points / 94 commentsthread →

Discussion

2

Threads where the comments are the content.

The compiler was supposed to end programming too

hrih.si·Hacker News·98 points / 137 commentsthread →

Lobsters NYC Meetup on the 28th of October

I previously arranged (by PMing everyone who mentioned it) a 5 Lobster meetup in Mexico. I'll be in NYC next week and think this could be nice. There will be cross contamination from Array Language people. We can target e.g. 5:30PM until ???, perhaps by Bryant Park or Borough Hall. (I don't know the general city well, mostly commuting to friends near Myrtle or in Manhattan on quick trips, but thes

lobste.rs·Lobsters·40 points / 12 commentsevent

AI

3

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

Mistral Large 4

https://docs.mistral.ai/models/mistral-large-4-0

mistral.ai·Hacker News·317 points / 94 commentsthread →

Fragments: October 21

Gergely Orosz is frustrated at those that entered his explicitly “No AI” essay competition and used AI. He goes on to say: When I start to suspect some part is AI about someone I don’t know: how can I tell how much of it is? And how much time and effort do I want to invest to figure out? I fear most people do not realize this last part: that when it takes time and effort from others to figure out

martinfowler.com·Martin Fowlerblog

Survey Says: You'll swap the model, but everything you build around it is staying put

Earlier this month, my team at Stacklok surveyed 520 technical leaders to understand whether they were concerned about being locked into frontier labs. The data says they’re already swapping models in and out, but the trap they’re concerned about is the layer on top of the model.

stackoverflow.blog·Stack Overflow Blogaisurveyse-tech

Deep

1

One paper or long teardown.

The End of Consensus Research?

Consensus is a fundamental problem in distributed computing and at the core of state machine replication (SMR). Despite decades of active human research, discovering practical low-latency solutions to the problem is still open, as it requires combining protocol knowledge, correctness reasoning, implementation, and experimental evaluation. We report on how AI helped us discover A-greement, a new co

arxiv.org·arXiv CScs.dccs.aipaper

Revision

1 from earlier editions

Answer each one before you open it.

When will the planner ignore your index and scan the table instead?3d ago

An index helps only when it eliminates most of the table.

Concept · Index Selectivity