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

# 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–63 of 63, page 1 of 1, 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.

## 2025-06-23

- [How we built reliable log delivery to thousands of unpredictable endpoints](https://swe.quest/articles/how-we-built-reliable-log-delivery-to-thousands-of-unpredictable-endpoints-0cf63fb1f4da9cac.md): Datadog Engineering · 2025-06-23 · Medium · 14 min read · Observability, System design, Multi-tenancy, Resilience, Queues & messaging
  Datadog's Log Forwarding avoids head-of-line blocking from Kafka's per-partition FIFO ordering by moving logs out of Kafka early into cloud object storage, grouped by destination.

## 2025-04-01

- [Automatic Embeddings in Postgres](https://swe.quest/articles/automatic-embeddings-in-postgres-41612b12257af4ee.md): Supabase · 2025-04-01 · Medium · 6 min read · PostgreSQL, Vector search, RAG & retrieval, Queues & messaging
  Supabase moves embedding generation coordination into Postgres.

## 2025-03-10

- [Why Astronomer chose ClickHouse to power its new data observability platform, Astro Observe](https://swe.quest/articles/why-astronomer-chose-clickhouse-to-power-its-new-data-observability-platform-f5c7916b8461008d.md): ClickHouse · 2025-03-10 · Easy · 7 min read · Analytics & OLAP, Observability, Data pipelines, Queues & messaging
  Astronomer built Astro Observe, an observability platform for Apache Airflow, on ClickHouse Cloud after a per-customer Amazon RDS Postgres setup degraded on large time-range aggregations and forced limits on retained data.

## 2025-02-19

- [Achieving relentless Kafka reliability at scale with the Streaming Platform](https://swe.quest/articles/achieving-relentless-kafka-reliability-at-scale-with-the-streaming-platform-ccf96914fd7cb7a9.md): Datadog Engineering · 2025-02-19 · Medium · 10 min read · Queues & messaging, Resilience, Distributed systems, Scaling, Rust
  Datadog runs hundreds of Kafka clusters with millions of partitions and built the Streaming Platform, a control layer that decouples producers and consumers from specific clusters through "Streams" spanning clusters, AZs and Kubernetes environments.

## 2024-11-20

- [How we use formal modeling, lightweight simulations, and chaos testing to design reliable distributed systems](https://swe.quest/articles/how-we-use-formal-modeling-lightweight-simulations-and-chaos-testing-to-design-aca03cf9b6abf48d.md): Datadog Engineering · 2024-11-20 · Hard · 23 min read · Formal methods, Queues & messaging, Distributed systems, Chaos engineering, Multi-tenancy
  Datadog validated the design of Courier, a multi-tenant message queue built on multiple FoundationDB clusters after its March 2023 outage, by combining TLA+ formal modeling, lightweight simulations and chaos testing.

## 2024-09-19

- [Processing embeddings with libSQL, Redpanda Kafka, and Mixedbread](https://swe.quest/articles/processing-embeddings-with-libsql-redpanda-kafka-and-mixedbread-f174ef189355e5de.md): Turso · 2024-09-19 · Medium · 9 min read · Vector search, SQLite, Queues & messaging, Event-driven architecture, TypeScript
  Embedding generation can be moved out of the request path by publishing successful libSQL writes to a Kafka topic and computing vectors in a background consumer.

## 2024-09-06

- [Easy Embeddings Indexing Pipelines with Redpanda and Neon](https://swe.quest/articles/easy-embeddings-indexing-pipelines-with-redpanda-and-neon-5e15b71c2d49e429.md): Neon · 2024-09-06 · Medium · 3 min read · Vector search, Data pipelines, PostgreSQL, Queues & messaging, RAG & retrieval
  An embeddings indexing pipeline can be built from configuration alone with Redpanda Connect: it consumes e-commerce invoice messages from a Redpanda Serverless topic over SASL/TLS, builds a text description of each order with Bloblang, computes embeddings locally via Ollama's nomic-embed-text model, and flattens items into separate messages before writing them to Neon Postgres with pgvector for natural-language search.

## 2024-08-21

- [Data Hive: The story of beehiiv’s journey from Postgres to ClickHouse](https://swe.quest/articles/data-hive-the-story-of-beehiiv-s-journey-from-postgres-to-clickhouse-467867cb2bebb87b.md): ClickHouse · 2024-08-21 · Easy · 6 min read · Analytics & OLAP, Databases, PostgreSQL, Stream processing, Queues & messaging
  beehiiv replaced its Postgres-and-Ruby-queue analytics system, which struggled with billions of email events and had multi-hour reporting delays, with a Kafka-fed ClickHouse Cloud pipeline.

## 2024-06-13

- [OpenMeter: Real-time usage-based billing powered by ClickHouse Cloud](https://swe.quest/articles/openmeter-real-time-usage-based-billing-powered-by-clickhouse-cloud-1ee88b3c82298546.md): ClickHouse · 2024-06-13 · Easy · 2 min read · Analytics & OLAP, Queues & messaging, Stream processing, Payments & fintech
  OpenMeter, an open-source usage-based metering and billing platform, replaced a Kafka + ksqlDB + Postgres pipeline with Kafka feeding ClickHouse Cloud.

## 2024-06-11

- [How we improved push processing on GitHub](https://swe.quest/articles/how-we-improved-push-processing-on-github-ee01af72cf149679.md): GitHub Engineering · 2024-06-11 · Medium · 7 min read · Event-driven architecture, Queues & messaging, Resilience, Ruby, Scaling
  GitHub replaced RepositoryPushJob, a single sequential background job that ran over 60 push-handling tasks from 20 services, with a Kafka push event fanned out to roughly 16 independently owned, parallel jobs.

## 2024-04-22

- [Enhancing Distributed System Load Shedding with TCP Congestion Control Algorithm](https://swe.quest/articles/enhancing-distributed-system-load-shedding-with-tcp-congestion-control-algorithm-c180104e3f071048.md): Zalando Engineering · 2024-04-22 · Medium · 9 min read · Resilience, Event-driven architecture, Queues & messaging, Microservices
  Zalando's customer communication platform applies TCP-style AIMD (Additive Increase Multiplicative Decrease) congestion control at its ingestion point to shed load and prioritize critical messages.

## 2024-02-28

- [Build a Real-time Materialized View from Postgres Changes using Confluent’s ksqlDB](https://swe.quest/articles/build-a-real-time-materialized-view-from-postgres-changes-using-confluent-s-cfa507d6c7070e59.md): Neon · 2024-02-28 · Medium · 10 min read · Event-driven architecture, PostgreSQL, Stream processing, Queues & messaging
  Postgres logical replication can feed a Debezium-based CDC connector on Confluent Cloud that streams changes from Neon tables into Kafka topics, where ksqlDB aggregates them into a continuously updated materialized view.

## 2024-02-14

- [Fan-out from Postgres with Change Data Capture using Debezium and Upstash Redis](https://swe.quest/articles/fan-out-from-postgres-with-change-data-capture-using-debezium-and-upstash-redis-1afcb52ed56a9566.md): Neon · 2024-02-14 · Medium · 9 min read · Event-driven architecture, PostgreSQL, Queues & messaging, Replication
  Streaming committed Postgres changes from the write-ahead log via a logical replication slot avoids the dual-write problem, where an application writes to the database and a message broker separately and can leave them inconsistent.

## 2023-12-20

- [Goldsky - A Gold Standard Architecture with ClickHouse and Redpanda](https://swe.quest/articles/goldsky-a-gold-standard-architecture-with-clickhouse-and-redpanda-347e225c0fe7c7a7.md): ClickHouse · 2023-12-20 · Medium · 9 min read · Analytics & OLAP, Stream processing, Queues & messaging, Multi-tenancy, Data pipelines
  Goldsky streams blockchain data to potentially thousands of customer ClickHouse clusters by indexing chains into per-data-type Redpanda topics (Avro, infinite retention via tiered storage), applying per-customer FlinkSQL filters, joins and aggregations in stream at up to 500k events/sec, and delivering results to ClickHouse.

## 2023-11-14

- [Cost-predictable logging at scale with ClickHouse, Grafana & WarpStream](https://swe.quest/articles/cost-predictable-logging-at-scale-with-clickhouse-grafana-warpstream-e8190c33bfc4f3b4.md): ClickHouse · 2023-11-14 · Medium · 22 min read · Observability, Analytics & OLAP, Cost optimization, Queues & messaging, Performance engineering
  Combining ClickHouse Cloud's Development tier, WarpStream (a Kafka-compatible streaming platform built on object storage) and Grafana gives a low-cost logging stack, dubbed CGW.

## 2023-09-28

- [Executing Cron Scripts Reliably At Scale](https://swe.quest/articles/executing-cron-scripts-reliably-at-scale-300d2911de10f9b3.md): Slack Engineering · 2023-09-28 · Medium · 5 min read · Scheduling, System design, Kubernetes, Go, Queues & messaging
  Slack replaced a single cron box running all scripts from one crontab with a distributed cron execution service built mostly from existing infrastructure.

## 2023-09-27

- [Announcing Deno Queues](https://swe.quest/articles/announcing-deno-queues-6220a78d2486588f.md): Deno · 2023-09-27 · Medium · 6 min read · Queues & messaging, Serverless, JavaScript, Consistency models
  Deno Queues adds two APIs to Deno KV, \`enqueue()\` and \`listenQueue()\`, for offloading or delaying background work with no infrastructure to configure.

## 2023-09-13

- [Kafka, Latency, and You: Minimizing Latency with Kafka & ClickHouse](https://swe.quest/articles/kafka-latency-and-you-minimizing-latency-with-kafka-clickhouse-89c71c2fc7e4578d.md): ClickHouse · 2023-09-13 · Medium · 8 min read · Queues & messaging, Analytics & OLAP, Performance engineering, Data pipelines
  End-to-end latency in a Kafka → Kafka Connect → ClickHouse pipeline can be measured by stamping messages with offset, partition, timestamp and topic via single message transforms, recording insert time with a DEFAULT now() column, and charting median/p75/p95 deltas per minute in SQL.

## 2023-07-20

- [Real-time event streaming with ClickHouse, Confluent Cloud and ClickPipes](https://swe.quest/articles/real-time-event-streaming-with-clickhouse-confluent-cloud-and-clickpipes-879faea273bbaac2.md): ClickHouse · 2023-07-20 · Medium · 7 min read · Stream processing, Queues & messaging, Analytics & OLAP, Data pipelines
  ClickPipes, a managed Kafka ingestion service in ClickHouse Cloud, replaces the ClickHouse Kafka Connector in a pipeline that streams Google's public Ethereum dataset from Pub/Sub through Confluent Cloud into ClickHouse.

## 2023-06-22

- [Real-time Event Streaming with ClickHouse, Kafka Connect and Confluent Cloud](https://swe.quest/articles/real-time-event-streaming-with-clickhouse-kafka-connect-and-confluent-cloud-afbdec81890c4edb.md): ClickHouse · 2023-06-22 · Medium · 18 min read · Queues & messaging, Data pipelines, Analytics & OLAP, Stream processing
  ClickHouse's official Kafka Connect sink, which uses the KeeperMap table engine for exactly-once semantics, can now be deployed as a Confluent Cloud Custom Connector.

## 2023-06-15

- [Change Data Capture (CDC) with PostgreSQL and ClickHouse - Part 1](https://swe.quest/articles/change-data-capture-cdc-with-postgresql-and-clickhouse-part-1-10e3d601e2748dab.md): ClickHouse · 2023-06-15 · Medium · 23 min read · Event-driven architecture, PostgreSQL, Analytics & OLAP, Replication, Queues & messaging
  Postgres-to-ClickHouse CDC can be built by streaming row changes from Postgres logical decoding (pgoutput plugin, replication slots, LSN ordering) through Debezium and Kafka, then applying them in ClickHouse with the ReplacingMergeTree engine.

## 2023-02-22

- [Husky: Exactly-once ingestion and multi-tenancy at scale](https://swe.quest/articles/husky-exactly-once-ingestion-and-multi-tenancy-at-scale-e0787135af05f4f3.md): Datadog Engineering · 2023-02-22 · Hard · 21 min read · Multi-tenancy, Distributed systems, Stream processing, Queues & messaging, Analytics & OLAP
  Husky, Datadog's columnar event store, achieves exactly-once ingestion and cost-efficient multi-tenancy by routing events deterministically to Kafka partition groups (shards), so deduplication only has to happen within a shard.

## 2023-01-31

- [Asynchronous computing at Meta: Overview and learnings](https://swe.quest/articles/asynchronous-computing-at-meta-overview-and-learnings-38025981fbc83823.md): Meta Engineering · 2023-01-31 · Medium · 10 min read · Serverless, Queues & messaging, Scheduling, Distributed systems, System design
  Meta re-architected Async tier, its serverless asynchronous computing platform running multi-trillion workloads per day, by splitting an overloaded Dispatcher into data-source-specific "tailers" and a source-agnostic scheduler.

## 2023-01-12

- [Announcing a New Official ClickHouse Kafka Connector](https://swe.quest/articles/announcing-a-new-official-clickhouse-kafka-connector-5e810526c099fceb.md): ClickHouse · 2023-01-12 · Medium · 8 min read · Queues & messaging, Data pipelines, Analytics & OLAP, Consistency models
  ClickHouse released a beta open-source Kafka Connect sink that aims for exactly-once delivery into ClickHouse.

## 2022-12-13

- [3 (More) Tips for Optimizing Apache Flink Applications](https://swe.quest/articles/3-more-tips-for-optimizing-apache-flink-applications-9c796b6721a565fb.md): Shopify Engineering · 2022-12-13 · Medium · 7 min read · Stream processing, Performance engineering, Queues & messaging
  Three practices for tuning large stateful Apache Flink jobs, drawn from Shopify's streaming platform.

## 2022-11-30

- [Intermittent downtime from repeated crashes](https://swe.quest/articles/intermittent-downtime-from-repeated-crashes-9e00050b528fb037.md): incident.io · 2022-11-30 · Medium · 11 min read · Incidents & postmortems, Go, Resilience, Queues & messaging
  A poison-pill Pub/Sub message crashed incident.io's Go monolith on Heroku repeatedly, causing 13 minutes of downtime over 32 minutes.

## 2022-11-09

- [Tulip: Schematizing Meta’s data platform](https://swe.quest/articles/tulip-schematizing-meta-s-data-platform-725b7402ef7a8468.md): Meta Engineering · 2022-11-09 · Medium · 6 min read · Schema migrations, Data pipelines, Queues & messaging, Performance engineering
  Tulip is Meta's binary serialization protocol for analytics logging, built on Thrift's TCompactProtocol.

## 2022-10-05

- [The Engineering Story Behind Flex Comp](https://swe.quest/articles/the-engineering-story-behind-flex-comp-ab1f6b48724dc8fa.md): Shopify Engineering · 2022-10-05 · Medium · 15 min read · Privacy, Cryptography, Queues & messaging, React, Product engineering
  Shopify built Flex Comp, a system letting employees split total compensation between base salary, RSUs and stock options, under tight deadlines and strict privacy constraints.

## 2022-09-16

- [Queues on Railway](https://swe.quest/articles/queues-on-railway-90b6e45faa35b5e6.md): Railway · 2022-09-16 · Medium · 3 min read · Queues & messaging, JavaScript, TypeScript
  Railway has no first-party queue service, but a job queue can be deployed with a language-level library.

## 2022-09-14

- [Building Workflows, Part 2 – the executor and evaluation](https://swe.quest/articles/building-workflows-part-2-the-executor-and-evaluation-b966efc6ca5866f8.md): incident.io · 2022-09-14 · Medium · 19 min read · PostgreSQL, Scheduling, Queues & messaging, System design, Go
  incident.io's workflow executor listens for trigger events, evaluates workflow conditions against a scope, and creates a workflow run before executing steps.

## 2022-09-09

- [Leveraging Go Worker Pools to Scale Server-side Data Sharing](https://swe.quest/articles/leveraging-go-worker-pools-to-scale-server-side-data-sharing-5ace4b0b544c8996.md): Shopify Engineering · 2022-09-09 · Medium · 7 min read · Go, Concurrency, Performance engineering, Queues & messaging, Scaling
  Shopify's Server Pixels service, a Go pipeline that consumes over a billion customer events per day from Kafka, fell behind on consumer lag because it spawned an unbounded number of goroutines to process and produce event batches.

## 2022-07-26

- [DeepL’s journey with ClickHouse](https://swe.quest/articles/deepl-s-journey-with-clickhouse-66b4fb32110b2db8.md): ClickHouse · 2022-07-26 · Easy · 4 min read · Analytics & OLAP, Data pipelines, Schema migrations, Queues & messaging
  DeepL runs ClickHouse as its central data warehouse for web and app analytics, company metrics, A/B testing and ML personalization.

## 2022-06-15

- [Collecting Semi-structured Data from Kafka Topics Using ClickHouse Kafka Engine](https://swe.quest/articles/collecting-semi-structured-data-from-kafka-topics-using-clickhouse-kafka-engine-3d9b1ad5e7d388c2.md): ClickHouse · 2022-06-15 · Medium · 5 min read · Analytics & OLAP, Queues & messaging, Data pipelines, Schema migrations
  Superology, a sports-betting product company, ingests clickstream and other customer quantitative data into ClickHouse straight from Kafka using the Kafka table engine with the Protobuf input format.

## 2022-02-11

- [Building Self-driving Kafka clusters using open source components](https://swe.quest/articles/building-self-driving-kafka-clusters-using-open-source-components-f376c07215769703.md): Slack Engineering · 2022-02-11 · Medium · 11 min read · Queues & messaging, Scaling, SRE, Chaos engineering, Infrastructure as code
  Slack standardized roughly 10 Kafka clusters (0.7 PB, 6.5 Gbps peak) onto Kafka 2.0.1 and automated their operation with Chef, Terraform ASGs, Consul-assigned Zookeeper IDs, Cruise Control, Kafka Manager and a Prometheus offset exporter.

## 2022-01-18

- [FOQS: Making a distributed priority queue disaster-ready](https://swe.quest/articles/foqs-making-a-distributed-priority-queue-disaster-ready-0c0b1a2a20084eae.md): Meta Engineering · 2022-01-18 · Medium · 10 min read · Queues & messaging, Resilience, Replication, Distributed systems, MySQL
  Meta's FOQS distributed priority queue moved from isolated regional installations on semi-synchronous replicated MySQL to a single global installation, after Hurricane Florence in 2018 exposed manual traffic rebalancing and items stuck on unreachable shards.

## 2021-07-08

- [High Availability by Offloading Work Into the Background](https://swe.quest/articles/high-availability-by-offloading-work-into-the-background-e2fbdc591d2490c8.md): Shopify Engineering · 2021-07-08 · Medium · 14 min read · Queues & messaging, Resilience, Ruby, Scaling, Consistency models
  Moving slow, resource-heavy or error-prone work such as emails, image processing, webhooks and imports out of the request-response cycle into queued background jobs keeps application servers available and responsive.

## 2021-06-10

- [Schematizing Deletion at Scale](https://swe.quest/articles/schematizing-deletion-at-scale-4a9164e6bb73ed7b.md): Shopify Engineering · 2021-06-10 · Medium · 16 min read · Privacy, Data pipelines, Queues & messaging, Analytics & OLAP
  Shopify handles PII deletion in a warehouse ingesting tens of billions of events per day by requiring privacy-annotated schemas for every analytical event (4,500+ active schemas) and pseudonymising PII before it lands.

## 2021-04-01

- [Building Smarter Search Products: 3 Steps for Evaluating Search Algorithms](https://swe.quest/articles/building-smarter-search-products-3-steps-for-evaluating-search-algorithms-f267f58da4febc3b.md): Shopify Engineering · 2021-04-01 · Medium · 12 min read · Search, Evaluation, Data pipelines, Queues & messaging
  Shopify's Help Center search team evaluates new ranking algorithms in three steps: collect ground truth from Kafka interaction events and expert-annotated relevance ratings, score variants offline with MAP and NDCG over thousands of historical queries, then run online A/B tests on metrics like click-through rate, average clicked rank, abandonment and support deflection.

## 2021-03-12

- [Capturing Every Change From Shopify’s Sharded Monolith](https://swe.quest/articles/capturing-every-change-from-shopify-s-sharded-monolith-fd5db9b13b97ba9a.md): Shopify Engineering · 2021-03-12 · Medium · 23 min read · Event-driven architecture, Data pipelines, MySQL, Queues & messaging, Analytics & OLAP
  Shopify is replacing Longboat, its query-based change-data capture tool that polls MySQL replicas on an updated\_at column, with a log-based CDC platform built on Debezium, Kafka Connect and Kafka that reads the binlog from 100+ MySQL shards.

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)
