Topic

Backend

Track backend development news across APIs, services, databases, infrastructure, reliability, and programming languages. Snapbyte.dev collects backend stories from developer communities and turns them into ranked summaries for focused catch-up.

What this topic tracks

  • API design and service architecture
  • Databases, queues, and storage systems
  • Backend languages and framework updates
  • Performance, reliability, and deployment
  • Production engineering case studies

Backend · 351 stories

Recent stories

Each story's summary, with the places it was discussed.

Summaries are written by AI from the linked sources. Open the source for full context.

20 stories

Solving the 1 Billion Concurrent Connections (C1B) Problem On My Laptop

kyle.cascade.family · 28 Nov

Backend · Low-Level Programming · Performance

A custom HTTP/SSE server, c1bhttpd, held about 1.018 billion simulated IPv4 TCP connections on a laptop using 12.54 GiB—roughly 13.4 bytes per connection—by bypassing kernel connection state, using SYN cookies, compact hashing, table-based keepalives, and single-packet messages.

Over a gigabit link, 99.87% connected, remained 17 hours with 70,205 accidental drops, and delivered an alert to 1,018,540 subscribers. The experiment demonstrates C1B feasibility, not production readiness; TLS and richer TCP features were excluded.

Too many words about DIDs

steveklabnik.com · 14 Jul

Backend · Distributed Systems · AI Agents

This post explains the technical implementation of Decentralized Identity (DID) within atproto, the protocol powering Bluesky.

It details how DIDs, such as did:web and did:plc, function as portable identities independent of specific applications. The author outlines the trade-offs between managing your own identity via DNS versus relying on managed services like plc.directory for accessibility.

Binding port 0 to avoid port collisions

ntietz.com · 23 Feb

Backend · Testing · Computer Science

The article discusses how binding to port 0 enables the kernel to assign an available ephemeral port, effectively preventing port collisions in concurrent end-to-end testing.

This technique is more reliable than using random or incremental ports, as it leverages the kernel's system state to ensure successful, unique listener addresses.

Jepsen: Orkes Conductor 5.3.2

jepsen.io · 20 Oct

Backend · Distributed Systems · Software Architecture · Testing

Jepsen testing found Orkes Conductor 5.3.2–5.5.0-rc2 could execute tasks concurrently, stall tasks, return misleading startWorkflow errors, and—under failures—abandon, lose, or falsely complete acknowledged workflows.

Tests used Postgres/Redis clusters and process/network faults. Orkes fixed serious issues #5 and #7 in 5.5.0 and #1, #4, #8, and #9 in 5.5.6; #3 and #6 remained unresolved. Users should upgrade to 5.5.6 and use idempotent, commutative tasks and durable storage.

Unison Cloud is now open source

unison-lang.org · 9 Oct

Backend · Distributed Systems

Unison Cloud is now open source under the MIT license, comprising four projects that turn pools of nodes into distributed computers programmable with Unison.

It offers sub-200 KB service deployments, typed inter-service communication with adaptive service graph compression, distributed batch jobs, transactional DynamoDB-backed storage, S3-backed object storage, secrets management, and background jobs. Newly released components include the Unison-written Nimbus worker, Haskell API Server, and Cloud UI; the client was already open source.

The Best Café in Town Turns People Away. Your System Should Too

dev.to · 27 Nov

Backend · REST API

Good API refusals are early, fast, explicit, and safe to act on, like a café clearly explaining that it is full.

Services should distinguish `429 Too Many Requests` from `503 Service Unavailable`, provide meaningful `Retry-After` guidance when possible, return machine-readable RFC 9457 problem details, and document whether rejected requests caused side effects. Clients should retry only safe operations with backoff, jitter, limits, and timeouts, while monitoring refusal counts by reason.

Stalwart v1.0: The Fastest Mail Server on the Planet

stalw.art · 26 Oct

Backend · Performance · Rust

Stalwart v1.0 is released as its first stable mail and collaboration server after five years of development.

It focuses on performance and a finalized database schema that enables future in-place upgrades, while adding document full-text search and other features. Rewritten parsers, SIMD/SWAR, optimized storage, caching, and search deliver major gains: it beats Postfix and Dovecot in 35 of 38 headline comparisons, including 5,445 versus 723 incoming messages per second. v1.0 requires a one-time migration from earlier layouts; future releases upgrade in-place.

Expose only share links of a private service with caddy

dataswamp.org · 21 Oct

Authorization · Backend · Cybersecurity

Caddy can expose only valid share-link routes from VPN-only Immich and Nextcloud services.

It checks each token by proxying a request to the service, forwards valid requests, and returns 404 for invalid or unapproved paths. Strict regular expressions and header removal prevent access to login pages, APIs, and other routes. This reduces exposure to scanners and vulnerabilities while preserving browser-based sharing, but requires maintenance as application routes change and still exposes allowed-route flaws.

Your JSON Is Lying to You

blog.gaborkoos.com · 3 Aug

Backend · JavaScript · Software Architecture

JSON serialization is not a lossless process for JavaScript objects.

Developers often assume it preserves data, but it discards types, rounds large integers, ignores undefined values, and converts special numbers like NaN. To manage this safely, define explicit data wire formats, use schemas for validation, and handle types manually instead of relying on implicit conversions.

IPv6 Adoption in 2026

netmeister.org · 19 Feb

Backend · Cloud Computing · Distributed Systems

Despite IPv6 being 30 years old, 2026 data shows adoption remains stagnant.

Analysis of the Top 1M domains reveals only 35.3% support HTTP over IPv6 and under 47% support it for SMTP. Persistent challenges include conservative industry configurations, lack of 'Happy Eyeballs' in mail servers, and inadequate education for new engineers.

It is incorrect to “normalize” // in HTTP URL paths

runxiyu.org · 27 Jan

Backend · Software Architecture · Computer Science

The text argues that collapsing double slashes (//) into a single slash (/) within HTTP URL paths is not a valid form of normalization according to RFC 3986 and RFC 9110.

It explains that the ABNF grammar for paths allows for empty segments, meaning // represents a syntactically meaningful zero-length segment. Standard syntax-based normalization only includes case folding, percent-encoding normalization, and dot-segment removal. The author demonstrates that since path segments are considered opaque, altering them changes the resource identifier. This is exemplified in specific Git implementations where a double-slash sentinel is used to distinguish between repository paths and internal file hierarchies, showing that merging slashes can lead to resolution failures and unintended behavior in server-side routing.

OSRS Wiki and RuneLite are increasingly under strain from low-effort AI development

oldschool.runescape.wiki · 16 Sept

Artificial Intelligence · Backend · Open Source

AI-assisted development has driven a 100x surge in RuneLite Plugin Hub code submissions, overwhelming volunteer review capacity while median plugin adoption has collapsed.

Generated plugins hallucinate and can overload OSRS Wiki APIs; one incident consumed 700,000 GB of bandwidth. Human expertise remains essential, but blanket rejection or heavy friction could damage the open ecosystem. Developers must consider dependency load.

Simple NetBSD webserver

bsandro.tech · 24 Oct

Backend · CLI

NetBSD 11 can run a simple static web server with bozohttpd, using only the acme-client package for Let’s Encrypt HTTPS.

Configure the service through /etc/rc.conf, point its document root at /var/www, obtain certificates with acme-client, and schedule renewals before restarting httpd. The approach suits home projects and small communities rather than heavy traffic. bozohttpd also supports virtual hosts, CGI, HTTP basic authorization, Lua scripting, and URL rewrites.

Quality IMAP, Part 2: Mailbox Concurrency

aerogramme.deuxfleurs.fr · 23 Nov

Backend · Distributed Systems · Software Architecture

Aerogramme improved IMAP mailbox concurrency correctness across client connections and distributed nodes.

Testing concurrent email additions exposed synchronization bugs, prompting a mailbox interface with connection-local state, explicit `sync`, and sequential `get`/`push_op` semantics. Because Garage lacks locks and transactions, Aerogramme relies on a convergent operation log. Garage K2V was also extended with monotonic reads, beyond read-after-write consistency, preventing values such as `UIDVALIDITY` from appearing to move backward across nodes; these changes shipped in Aerogramme 0.4 and Garage 2.4.0.

Smooth Cruiser at Lyft: Built for Safety and Transparency

eng.lyft.com · 17 Nov

Backend

Lyft built Smooth Cruiser to score Driver behavior against real-world conditions and provide transparent explanations.

It evaluates smooth braking, smooth steering, vehicle speed, and mounted-phone use relative to road, time, season, and comparable regional markets. Scores require 20 rides and use a rolling window of the last 100 rides over 12 months. Machine learning, an Apache Airflow ETL pipeline, and DynamoDB process telemetry and deliver daily-updated scores and ride-level details in the Lyft Driver app.

What Functional Programmers Get Wrong About Systems

iankduncan.com · 9 Feb

Backend · Distributed Systems · Software Architecture

In this insightful piece, the author discusses how functional programming (FP) practitioners often mistake the correctness of a single program for the correctness of an entire system.

While FP provides powerful tools like static types and algebraic data types to ensure a program is well-behaved internally, these tools often fail at the boundaries of distributed systems. In production environments—which include monoliths with multiple servers or external integrations—multiple versions of code often run simultaneously. This asynchronous reality means that a program might interact with data or services from past or future versions that its local type system cannot see. This concept, known as the 'version problem,' is especially prevalent in message queues like Kafka and event-sourced architectures where historical data must be interpretable by modern code forever. The article argues that the true unit of correctness is the set of active deployments rather than any single artifact. To address this, developers should look toward schema registries, database migration linters, and version-aware infrastructure like service meshes to verify compatibility across the entire system ensemble before deploying.

Upcoming Critical PHP Security Release (18 Nov 2026)

php.net · 18 Nov

Backend · Cybersecurity · PHP

PHP has released security updates 8.5.12, 8.4.27, 8.3.36 and 8.2.35, fixing two critical unauthenticated remote-code-execution vulnerabilities, CVE-2026-109618 and CVE-2026-109619.

Windows rebuilds also update Brotli to 1.2.1 for CVE-2026-111497. Users should upgrade immediately; PHP 8.2 reaches end of life on 31 December 2026. PHP 8.6.0 RC7 is available for testing, with its first GA release planned for 19 November 2026, alongside additional critical security releases.

Blunt Banhammer Blocks Basic Bots Ballistically

shkspr.mobi · 9 Nov

Backend · Cybersecurity · PHP

B⁶ reduced bot traffic to OpenBenches.org by using a hidden honeypot link that compliant crawlers should avoid.

The PHP trap records a visitor’s IP in .htaccess, which permanently returns HTTP 402 for that address; robots.txt explicitly disallows the honeypot. After one week, more than 400 IPs were blocked and peak daily transfer fell from 216GB to about 25GB. The blunt approach can block innocent users behind hijacked IPs and may add .htaccess overhead.

Enterprise Haskell at H-E-B

blog.haskell.org · 16 Jul

Backend · Software Architecture · Business

H-E-B transitioned critical supply chain applications from legacy mainframes to Haskell, managing nearly a million lines of code.

Despite initial challenges, Haskell's type safety and reliability proved essential for business logic. Success relied on fostering internal expertise, managing architectural complexity with 'boring' Haskell, and leveraging modern tooling, ultimately proving Haskell as a competitive, durable enterprise solution.

Where it came fromLobstersDev.toLyft EngineeringBuild a backend digest that filters broad engineering feeds down to the service, database, and reliability topics you care about.Build your digest