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

The Valley of Webhooks

weli.dev · 5 Aug

Backend · Distributed Systems · Software Architecture

Webhooks are often misused to replicate data, forcing developers to build complex, brittle systems to handle ordering, deduplication, and reconciliation.

The author argues for a transition to cursor-based, ordered change logs (SCROLL) that allow consumers to pull reliable, verifiable state, moving away from the unreliable push-based model that currently dominates API integrations.

A 40ms Go garbage collector pause caused by swap

frn.sh · 5 Oct

Backend · Go · Low-Level Programming · Performance · Operating Systems

Running swap in production caused Go’s stop-the-world garbage-collector pauses to reach 40ms when GC metadata was paged out.

A Hetzner test with kernel 6.8 and MGLRU found 228 page faults consuming 39ms during GC bookkeeping; median pauses were 51μs. Reused, non-freed metadata is evicted by age and faulted back during sweep and mark termination, halting every P. Building a 511KiB message also rose from 3–5ms to 105ms on NVMe and 903ms on network storage. Go 1.26’s Green Tea GC had negligible impact.

Vibra-Ingenn/Janus

github.com · 1 Oct

Artificial Intelligence · Backend · Go · Large Language Models · REST API

Janus is a single Go binary that runs local .gguf LLMs through llama.cpp using Vulkan on AMD, Intel, or NVIDIA GPUs, with CPU fallback, and exposes an OpenAI-compatible API.

It solves the need for a lightweight local server without Python, Docker, or Ollama. Its distinguishing features include hot-swapping models, automatic GGUF chat-template detection, streamed chat completions, thinking-model reasoning output, and integration with Cursor, Cline, and other OpenAI clients.

Amazon S3 now supports reading parts of multipart uploads in progress

aws.amazon.com · 30 Nov

AWS · Backend

Amazon S3 now lets applications read each multipart upload part as soon as it arrives, before completion, enabling parallel upload and downstream processing.

The GetPart API retrieves a full part or byte range during or after upload, while the s3:MultipartUpload:PartUploaded event signals readiness. It works with existing workflows and is available for general purpose buckets in all AWS Regions; the latest AWS CLI and AWS SDKs are required.

Sky – an Elm-inspired language that compiles to Go

github.com · 6 Apr

Artificial Intelligence · Backend · Programming Languages

Sky is an experimental, self-hosted programming language compiling to Go.

It blends Go's pragmatism, such as fast compilation and single binary deployment, with Elm's functional elegance, Hindley-Milner type safety, and server-driven UI via its Phoenix LiveView-inspired Sky.Live framework. It aims to eliminate fullstack friction by unifying codebase, types, and deployment artifact.

Does anyone run Postgres without PgBouncer?

brandur.org · 12 Aug

Backend · Database · Performance

After a decade, Postgres still struggles with many connections, making PgBouncer or equivalent poolers essential.

Nearly all major managed Postgres providers now bundle connection pooling, but inconsistent implementations, configurations, and caveats create unnecessary operational work. The ideal would be a standardized, built-in pooler exposed through one database URL and port, as in MySQL and MongoDB.

The art of sending less: reducing mobile API payloads without breaking clients

engineering.grab.com · 5 Dec

Backend · Mobile · Performance · REST API · Software Architecture

Grab reduced mobile API payloads by normalising repeated menu entities into shared pools while reconstructing the legacy object model on Android and iOS.

The approach stores modifier groups and modifiers once, replaces duplicates with references, and retries in legacy format if validation or reconstruction fails. Across seven-day comparisons, average API Gateway response bytes fell about 20%; a matched Android estimate showed 38.1% lower gzip wire bytes. P95 reconstruction added 203.9 ms on Android and 2.6 ms on iOS, with a 0.00023% parsing-failure rate.

Declarative Event Streaming on Kubernetes at a Billion Events a Day

engineering.zalando.com · 1 Dec

Backend · DevOps · Distributed Systems · Kubernetes · Software Architecture

Zalando’s Fabric Event Streams (FES) is a Kubernetes-native declarative platform that moves and transforms events while keeping progress in source systems, making connector pods disposable and resilient to crashes.

Its operator manages resources, stateless connectors consume Postgres, DynamoDB Streams, or Nakadi, and typed Source, Flow, Sink, and Recovery contracts support fan-out and dead-lettering. FES runs about 1,100 pods across 80 clusters, processing over a billion events daily and peaking above 9,000 events per second per connector, with at-least-once delivery and source-retention trade-offs.

Bringing application context to full-host eBPF profiling

datadoghq.com · 1 Dec

Backend · Low-Level Programming · Observability · Performance · Software Architecture

OpenTelemetry standardized process and thread context protocols that let the OpenTelemetry eBPF Profiler connect full-host profiles to applications, requests, and traces.

Process context publishes resource attributes through a discoverable Linux memory mapping, while thread context exposes trace, span, and request attributes through a compact ELF thread-local record. The design handles fork(), multiple TLS access models, and runtime differences across Java, Python, Go, Ruby, .NET, and Node.js. Java benchmarks reduced context-update costs to 91.2 ns.

Scaling metrics queries for AI workloads with Distributed DataFusion

datadoghq.com · 30 Nov

Backend · Big Data · Observability · Performance · Software Architecture

Datadog shipped Distributed DataFusion, a distributed query engine based on Apache DataFusion and Substrait, to scale high-cardinality metrics queries for AI workloads.

It splits physical plans across workers, streams Apache Arrow batches, eliminates an unnecessary network shuffle, and hashes string tags into u64 keys. In a local benchmark, these optimizations reduced latency from 420 ms on four cores to 42.2 ms on 16 cores. Adding machines improved latency most for longer query ranges.

How we scaled metrics aggregation by moving durable state into storage

datadoghq.com · 17 Nov

Backend · Big Data · Distributed Systems · Observability · Software Architecture

Datadog scaled metrics aggregation through three generations by moving durable state from fixed consumers into storage.

The first design used static partition ownership and local RocksDB; the second added dynamic Kafka assignment with blob-backed state recovery, supporting about 10× more volume but making restoration the bottleneck. The third uses best-effort streaming while timeseries storage deduplicates, merges partial aggregates, and incorporates late data, allowing workers to resume at the live edge without restoring hours of historical state.

Choosing QuePaxa, an unusual consensus algorithm

blog.cloudflare.com · 11 Nov

Algorithms · Backend · Distributed Systems · Software Architecture · Computer Science

Cloudflare chose QuePaxa for Meerkat, an experimental global consensus service whose replicas maintain an ordered event log.

Unlike leader-dependent Raft or Paxos variants, QuePaxa uses an optional leader, randomized proposal priorities, recorder majorities, and cooperative adoption, allowing progress through latency spikes, disconnections, and leader failures without fault detection. It offers a one-round-trip leader fast path and slower fallback rounds. Global evaluations showed Meerkat continued processing requests without stalling, though throughput temporarily declined after leader failure.

Inside Hyperdrive: How we solved a rare Hyperdrive MySQL caching bug

blog.cloudflare.com · 14 Oct

Backend · Database · Distributed Systems · MySQL · Software Architecture

Cloudflare made Hyperdrive’s MySQL support generally available after fixing reliability issues, including a rare caching bug that caused empty query results or hangs.

Hyperdrive’s Client and Endpoint could share a CDN cache while encoding MySQL responses for different negotiated capabilities, especially CLIENT_DEPRECATE_EOF; either node could read bytes in the other’s format. Cloudflare fixed this by storing canonical result bytes encoded with Hyperdrive’s capabilities, eliminating the empty-row issue and raising Client connection success to 99.99%. It also corrected UTF-8 handling with utf8mb4.

Under the hood, off the hot path: how D1 scales to millions of databases

blog.cloudflare.com · 13 Oct

Backend · Database · Distributed Systems · Software Architecture · SQLite

Cloudflare scaled D1, its managed serverless SQLite database, beyond 5.5 million databases by separating control-plane work from hot-path queries.

Each database uses a SQLite Durable Object; Workers KV provides edge routing metadata, while Hyperdrive accesses cached Postgres metadata and replicas. Queries avoid centralized components, and heartbeats repair inconsistent state. Queues and pre-aggregated Postgres tables handle storage limits, while ClickHouse and Quicksilver support analytics and row limits, enabling millions of databases and hundreds of thousands active at once.

Rewinding the exponential: How we keep hardware usage down

blog.cloudflare.com · 13 Oct

Backend · Big Data · Distributed Systems · Performance · Software Architecture

Cloudflare reduced data-pipeline backbone traffic by about 70 GB/s through schema decomposition, zstd compression, load-balanced replication, early sampling, and repeated aggregation.

Product-specific schemas cut bandwidth 35–40%, zstd reduced compressed throughput nearly 40%, and 2026 changes saved roughly 38 GB/s through load balancing, 25 GB/s through sampling, and 7+ GB/s through aggregation. Ready-Analytics receiver optimizations reclaimed about 750 CPUs and 3.5 TiB of memory, while projected 2031 data volume was halved.

Automating Data Ingestion with a RAG Flywheel

engineering.zalando.com · 11 Oct

Artificial Intelligence · Backend · Large Language Models · Software Architecture · RAG

Zalando built an LLM-powered schema-mapping system that combines AWS Bedrock, Amazon Titan Text Embeddings V2, pgvector, and human review to ingest diverse supplier data.

Cold-start predictions use target-schema definitions, while warm starts retrieve approved historical mappings through cosine similarity, approval counts, and an 0.8 threshold. Tool Use, zero temperature, and API validation constrain outputs and reject invalid mappings. The system currently achieves an 85% unchanged acceptance rate, while retaining human oversight and rebuildable history.

Thundering herd of circuit breakers

engineering.zalando.com · 7 Oct

Backend · Distributed Systems · Observability · Performance · Software Architecture

A client-side circuit breaker trapped traffic in a loop, blocking about 95% of requests for hours despite a healthy service.

A custom OpenTelemetry trace visualizer showed that half-open probes succeeded on a three-pod, under-provisioned service, but closing the breaker released a thundering herd; queues exceeded 100 ms, requests timed out, and the breaker reopened. Pre-scaling or force-closing allowed HPA capacity to catch up. CPU-based HPA missed three-second bursts, exposing limits of aggregate metrics and representative probes.

Microsoft Announces Type Server Protocol, Extension of Language Server Protocol

github.com · 26 Oct

Backend · Python

Microsoft has announced Type Server Protocol (TSP), a JSON-RPC extension of Language Server Protocol (LSP) for querying Python type-analysis state.

A type server exposes protocol-version, snapshot, search-path, import-resolution, and computed/declared/expected-type requests, using LSP positions and ranges. Snapshots invalidate stale results, while optional negotiated multi-connection mode supports concurrent read-only requests over IPC. Version 0.4.1 adds connection negotiation and control.

I'm quite pleased by the tech architecture of my art website

klauria.tech · 20 Nov

Backend · Serverless · Software Architecture

Klauria built an art website that stays static for visitors while giving the creator a CRUD editing UI.

A Cloudflare Worker generates HTML from one JSON metadata file; responses are cached for 30 days, and every write invalidates all cached pages. The browser creates three image sizes at upload, storing them with originals in Cloudflare R2. Maps and timelines run client-side, with no database. Cloudflare’s CDN serves cached pages globally, while Astro provides integration.

Postgres 19 delayed after AI reviewers find more bugs than humans can fix

theregister.com · 16 Oct

Backend · Database · PostgreSQL

PostgreSQL 19 has been delayed until around November 19, with eight to 10 significant features postponed to PostgreSQL 20 after LLM-assisted code reviews exposed architectural defects and a long tail of edge-case bugs that developers could not resolve before release.

SQL Property Graph Queries (SQL/PGQ) is among the removed features. PostgreSQL 19 will still include REPACK CONCURRENTLY, and Peter Eisentraut says the release should be robust after additional scrutiny.

Where it came fromHacker NewsCloudflare BlogZalando EngineeringDatadog EngineeringLobstersGrab EngineeringBuild a backend digest that filters broad engineering feeds down to the service, database, and reliability topics you care about.Build your digest