---
title: "Queues & messaging"
description: "Message queues, pub/sub, Kafka, event buses"
url: "https://swe.quest/tags/messaging"
---

# Queues & messaging

Topic in Backend & APIs: Message queues, pub/sub, Kafka, event buses

By difficulty: [Easy](https://swe.quest/tags/messaging.md?difficulty=easy) · [Medium](https://swe.quest/tags/messaging.md?difficulty=medium) · [Hard](https://swe.quest/tags/messaging.md?difficulty=hard)

Posts 1–24 of 63, page 1 of 3, newest first.

## 2026-11-24

- [A Reboot Is Still a Deployment](https://swe.quest/articles/a-reboot-is-still-a-deployment-96583400c784f5bf.md): Stack Overflow Blog · 2026-11-24 · Medium · 9 min read · Deployment, Linux, Resilience, SRE, Queues & messaging
  Host reboots for kernel updates should be verified like deployments: by a completed representative job on the returning host, not by a process or unit showing up.

## 2026-11-02

- [How we halved DNS build delay and cut memory use by 85%](https://swe.quest/articles/how-we-halved-dns-build-delay-and-cut-memory-use-by-85-571d0d573d8e7634.md): Cloudflare · 2026-11-02 · Hard · 15 min read · DNS, Scaling, Queues & messaging, Performance engineering, Testing
  Cloudflare's DNS Zone Builder now uses a targeted build planner that picks the smallest provably safe build (resources only, resources plus metadata, apex plus metadata, purge, or full zone) and a unified per-zone scheduler that merges queued work.

## 2026-10-29

- [Introducing Apache Kafka 4.4.0](https://swe.quest/articles/introducing-apache-kafka-4-4-0-40d1e99a1f08e085.md): Confluent · 2026-10-29 · Hard · 7 min read · Queues & messaging, Stream processing, Distributed systems
  Apache Kafka 4.4.0 ships 25 KIPs and 963 commits since 4.3.0.

## 2026-10-28

- [1M Durable Workflows per Second on Postgres](https://swe.quest/articles/1m-durable-workflows-per-second-on-postgres-8f041571c87c6775.md): DBOS · 2026-10-28 · Medium · 5 min read · PostgreSQL, Distributed databases, Scaling, Resilience, Queues & messaging
  Sharding Postgres with PgDog let DBOS durable workflow throughput scale linearly from 20K workflows/sec on one db.m7i.4xlarge RDS instance to 1M workflows/sec across 50 shards.

## 2026-10-05

- [Scaling and benchmarking a critical message bus using a new indexing strategy](https://swe.quest/articles/scaling-and-benchmarking-a-critical-message-bus-using-a-new-indexing-strategy-b90c14ae394a3109.md): Jane Street Tech Blog · 2026-10-05 · Medium · 9 min read · Queues & messaging, Performance engineering, Data structures, Algorithms, Testing
  Aria, Jane Street's internal message bus, was burning CPU by linearly filtering its in-memory ring buffer whenever lagging clients recovered a subset of topics.

## 2026-09-17

- [Worker Backpressure (Part 1)](https://swe.quest/articles/worker-backpressure-part-1-6d000eabc0ad7f1d.md): Canva Engineering · 2026-09-17 · Medium · 11 min read · Resilience, Queues & messaging, SRE
  Canva added Worker Backpressure to its shared queue library: each worker records success/failure outcomes, a pluggable controller maintains a backoff factor (0.0 to 1.0) against a failure-rate set point, and the factor scales down how many messages the worker may poll and process concurrently.

## 2026-09-14

- [How We Built Automated Capacity Testing for Kafka Consumers](https://swe.quest/articles/how-we-built-automated-capacity-testing-for-kafka-consumers-bca74c5a1d624617.md): Booking.com Engineering · 2026-09-14 · Medium · 7 min read · Queues & messaging, Capacity planning, Resilience, Testing, SRE
  Booking.com extended its HTTP capacity-testing platform to Kafka consumers by using partition assignment as the load knob: a custom priority-aware partition assignor shifts extra partitions onto one target instance step by step, reproducing failure-induced load concentration without killing healthy consumers.

## 2026-09-02

- [5 Billion Records, 10 Terabytes, Four Weeks: A Real Data Migration Playbook](https://swe.quest/articles/5-billion-records-10-terabytes-four-weeks-a-real-data-migration-playbook-ba6d0d87ec973dae.md): Wix Engineering · 2026-09-02 · Medium · 9 min read · Schema migrations, Data pipelines, Queues & messaging, MySQL, Testing
  Wix's large live-system migrations dropped from months or years to weeks mainly by tackling recurring problems before the migration starts, not through new tooling.

## 2026-08-11

- [We turned off Pub/Sub and nobody noticed](https://swe.quest/articles/we-turned-off-pub-sub-and-nobody-noticed-df128aa62ef239e4.md): incident.io · 2026-08-11 · Medium · 13 min read · Queues & messaging, Resilience, Event-driven architecture, Go, Chaos engineering
  incident.io removed Google Cloud Pub/Sub as a single point of failure by adding NATS as a second message broker in an active-active setup behind its existing Go \`eventadapter\` abstraction.

## 2026-08-04

- [Bringing serverless functions closer to the speed of wire](https://swe.quest/articles/bringing-serverless-functions-closer-to-the-speed-of-wire-4593ae513494961f.md): Modal · 2026-08-04 · Medium · 5 min read · Serverless, Performance engineering, System design, Go, Queues & messaging
  Modal rebuilt its serverless I/O plane, which queues Function inputs and outputs, and now runs it in at least four regions.

## 2026-07-31

- [Kafka App? There’s a Skill for That](https://swe.quest/articles/kafka-app-there-s-a-skill-for-that-db613ac72530c591.md): Etsy Code as Craft · 2026-07-31 · Medium · 6 min read · AI agents, AI for coding, Stream processing, Developer productivity, Queues & messaging
  Etsy's streaming platform team built Agent Skills that let coding agents like Claude scaffold, validate, run locally and open PRs for Kafka streaming apps that produce ML features and embeddings.

## 2026-07-29

- [Infrastructure patterns for agentic applications](https://swe.quest/articles/infrastructure-patterns-for-agentic-applications-ae04a737545ff7c9.md): Render · 2026-07-29 · Medium · 12 min read · AI agents, Resilience, Scheduling, Queues & messaging, System design
  Agents are long-running, stateful and non-deterministic, so running them inside an HTTP request handler breaks in production.

## 2026-07-24

- [Postgres LISTEN/NOTIFY Actually Scales](https://swe.quest/articles/postgres-listen-notify-actually-scales-a299c10c9793118e.md): DBOS · 2026-07-24 · Medium · 5 min read · PostgreSQL, Queues & messaging, Performance engineering, Storage engines, Concurrency
  Postgres NOTIFY takes a global exclusive lock from commit start through fsync so notifications enqueue in commit order, which serializes every notifying transaction and blocks group commit.

## 2026-06-12

- [How We Cut Kafka Consumer Deployment Costs by 83%](https://swe.quest/articles/how-we-cut-kafka-consumer-deployment-costs-by-83-5cc00640348d4168.md): trivago tech · 2026-06-12 · Medium · 5 min read · Queues & messaging, Performance engineering, Java & JVM, Concurrency, Cost optimization
  Trivago's PSE-kafka service, which consumes hotel price messages and pushes them to an external Ads service, suffered chronic consumer lag at only ~10% CPU because of three compounding bottlenecks.

## 2026-04-01

- [Sharp opinions, clean infrastructure: How Cynical Sally serves nine clients from one backend on Render](https://swe.quest/articles/sharp-opinions-clean-infrastructure-how-cynical-sally-serves-nine-clients-from-3b8676d86ff7b399.md): Render · 2026-04-01 · Medium · 5 min read · System design, Cloud platforms, Serverless, Queues & messaging
  Cynical Sally, an AI roast-reviewer, runs nine clients (website, browser extensions, CLI, MCP server, open-source Lite version and upcoming apps) as thin layers over a single Render-hosted backend.

## 2026-02-09

- [How LY Corporation uses ClickHouse to observe one of the largest Kafka deployments on earth](https://swe.quest/articles/how-ly-corporation-uses-clickhouse-to-observe-one-of-the-largest-kafka-4673da61e0f144c7.md): ClickHouse · 2026-02-09 · Medium · 6 min read · Observability, Queues & messaging, Analytics & OLAP, Debugging
  LY Corporation (LINE + Yahoo! Japan) runs a Kafka platform of 200+ brokers serving 25,000+ clients and handling 31M messages/sec at peak, over 1 trillion messages and 2.6 PB of I/O per day.

## 2026-01-20

- [“Just OLAP it”: How Ramp rebuilt its analytics platform on ClickHouse Cloud](https://swe.quest/articles/just-olap-it-how-ramp-rebuilt-its-analytics-platform-on-clickhouse-cloud-36298842faab88cc.md): ClickHouse · 2026-01-20 · Medium · 5 min read · Analytics & OLAP, Event-driven architecture, Data pipelines, PostgreSQL, Queues & messaging
  Ramp moved customer-facing spend analytics off its Postgres monolith after enterprise customers' reports on a single card-transactions table began taking 40+ seconds, and now serves them in milliseconds from ClickHouse Cloud.

## 2025-12-08

- [Patterns & Best Practices in Event-Driven Systems](https://swe.quest/articles/patterns-best-practices-in-event-driven-systems-4f09d6274ee25443.md): Kogan.com Dev Blog · 2025-12-08 · Medium · 5 min read · Event-driven architecture, Queues & messaging, Distributed systems, System design, Microservices
  Five core event-driven architecture patterns, compared with their tradeoffs: event notification (thin signals that force consumers to call back), event-carried state transfer (full payloads that decouple consumers at the cost of size and schema discipline), event sourcing with CQRS, choreography and orchestration.

## 2025-12-03

- [Getting from tested to battle-tested](https://swe.quest/articles/getting-from-tested-to-battle-tested-e1b6bb8c2cdb1387.md): Jane Street Tech Blog · 2025-12-03 · Medium · 13 min read · Testing, Distributed systems, Debugging, Formal methods, Queues & messaging
  Jane Street's Aria, a low-latency message bus with strong ordering guarantees, already had unit, simulated-network, quickcheck, AFL fuzz, version-skew, lab and chaos tests, yet adding Antithesis's deterministic-hypervisor testing surfaced two unknown bugs on the first run.

## 2025-11-21

- [Incident Report: November 20th, 2025](https://swe.quest/articles/incident-report-november-20th-2025-8a5b09711237e8e3.md): Railway · 2025-11-21 · Easy · 3 min read · Incidents & postmortems, Resilience, Deployment, Queues & messaging
  A dip in GitHub push webhooks followed by a 10x surge flooded Railway's asynchronous deployment task queue, delaying all new deployments for about two and a half hours on November 20th, 2025.

## 2025-11-04

- [Replication redefined: How we built a low-latency, multi-tenant data replication platform](https://swe.quest/articles/replication-redefined-how-we-built-a-low-latency-multi-tenant-data-replication-467db62624b6c7cc.md): Datadog Engineering · 2025-11-04 · Medium · 10 min read · Event-driven architecture, Replication, PostgreSQL, Queues & messaging, Schema migrations
  Datadog grew a single Postgres-to-search replication pipeline into a multi-tenant CDC platform built on Debezium, Kafka, and Kafka Connect.

## 2025-10-08

- [Inside Laravel Nightwatch’s Observability Pipeline: Real-Time Event Processing with Amazon MSK and ClickHouse Cloud](https://swe.quest/articles/inside-laravel-nightwatch-s-observability-pipeline-real-time-event-processing-2274d87b280c63f4.md): ClickHouse · 2025-10-08 · Easy · 5 min read · Observability, Analytics & OLAP, Queues & messaging, Cloud platforms, System design
  Laravel Nightwatch, Laravel's first-party observability platform, ingests telemetry through API Gateway and Lambda into Amazon MSK Express brokers, then streams it into ClickHouse Cloud via ClickPipes, with materialized views pre-aggregating raw JSON.

## 2025-08-12

- [Scaling down to speed up: How we improved efficiency of live process metrics by 100x](https://swe.quest/articles/scaling-down-to-speed-up-how-we-improved-efficiency-of-live-process-metrics-by-db520ecc99ab0c49.md): Datadog Engineering · 2025-08-12 · Medium · 8 min read · Observability, Scaling, Cost optimization, Queues & messaging, System design
  Datadog cut real-time process and container metric traffic by about 100x by enabling 2-second live collection only on hosts whose processes a user is actually viewing (at most 50 per user), instead of on every host in the tenant.

## 2025-07-10

- [How Tesla built a quadrillion-scale observability platform on ClickHouse](https://swe.quest/articles/how-tesla-built-a-quadrillion-scale-observability-platform-on-clickhouse-d92f25e05a12e1a7.md): ClickHouse · 2025-07-10 · Easy · 7 min read · Observability, Analytics & OLAP, Scaling, Queues & messaging
  Tesla built Comet, an in-house metrics platform that stores Prometheus-style time series in ClickHouse and keeps full PromQL compatibility.

[Next page](https://swe.quest/tags/messaging.md?page=2)

Same list as RSS: [https://swe.quest/feed.xml?tag=messaging](https://swe.quest/feed.xml?tag=messaging). Lists take `?page=`, `?per=12|24|48|96` and, on the home page, `?tag=` (up to 3), `?source=`, `?difficulty=easy|medium|hard` and `?search=`.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
