---
title: "Event-driven architecture (medium)"
description: "Event sourcing, CQRS, change data capture, event-driven designs"
url: "https://swe.quest/tags/event-driven?difficulty=medium&per=96"
---

# Event-driven architecture (medium)

Topic in Backend & APIs: Event sourcing, CQRS, change data capture, event-driven designs

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

Posts 1–67 of 67, page 1 of 1, newest first.

## 2026-11-24

- [Durable and auditable workflows with DBOS and ClickHouse Managed Postgres](https://swe.quest/articles/durable-and-auditable-workflows-with-dbos-and-clickhouse-managed-postgres-84b2cf91df44a544.md): ClickHouse · 2026-11-24 · Medium · 6 min read · Event-driven architecture, PostgreSQL, Analytics & OLAP, Scheduling, Python
  DBOS, an open-source Postgres-native durable execution library, stores workflow and step checkpoints, queues and schedules in Postgres so crashed processes resume from the last completed step without a separate orchestrator.

## 2026-11-19

- [How Country Road Group built a pattern-driven integration solution on AWS](https://swe.quest/articles/how-country-road-group-built-a-pattern-driven-integration-solution-on-aws-10204ddba48d4959.md): AWS Architecture Blog · 2026-11-19 · Medium · 10 min read · Event-driven architecture, Serverless, Infrastructure as code, Refactoring & migrations, Cloud platforms
  Country Road Group replaced 21 BizTalk Server interfaces on VMware with a declarative, pattern-driven integration platform on AWS, where each interface is composed from standard enterprise integration patterns provisioned by pre-built Terraform modules.

## 2026-11-18

- [How United Airlines streams database changes to Apache Iceberg with Amazon Data Firehose](https://swe.quest/articles/how-united-airlines-streams-database-changes-to-apache-iceberg-with-amazon-data-7135675271dc704f.md): AWS Architecture Blog · 2026-11-18 · Medium · 24 min read · Event-driven architecture, Data pipelines, Cloud platforms, Analytics & OLAP, MySQL
  United Airlines replicates frequently changing reference data from Aurora MySQL into Apache Iceberg tables on S3 in near-real-time using AWS DMS CDC, Kinesis Data Streams, a Lambda transform and Amazon Data Firehose, which applies inserts, updates and deletes via merge-on-read and commits Iceberg snapshots to the Glue Data Catalog.

## 2026-11-16

- [Turso Sync: Local-First SQLite with Push and Pull](https://swe.quest/articles/turso-sync-local-first-sqlite-with-push-and-pull-8967f9053b2dc6bc.md): Turso · 2026-11-16 · Medium · 10 min read · Local-first & sync, SQLite, Replication, Event-driven architecture, Performance engineering
  Turso Sync replaces libSQL's page-based Embedded Replicas with logical row-level changes captured via CDC in Turso Database, a Rust rewrite of SQLite, so reads and writes stay local and apps call push() and pull() explicitly.

## 2026-11-09

- [Eventually Consistent: How Do We Know the Systems Eventually Agree?](https://swe.quest/articles/eventually-consistent-how-do-we-know-the-systems-eventually-agree-446e4800453d4b35.md): Kogan.com Dev Blog · 2026-11-09 · Medium · 9 min read · Event-driven architecture, Consistency models, Resilience, PostgreSQL, E-commerce
  Eventually consistent event-driven order systems need a reconciliation job that starts from the authoritative order store, not from received messages, so orders whose events were lost (like a fraud-hold release that never reached SAP) still surface.

## 2026-11-06

- [What I learned from a month with WalShadow on ClickHouse Managed Postgres](https://swe.quest/articles/what-i-learned-from-a-month-with-walshadow-on-clickhouse-managed-postgres-89e5a8963b72573d.md): ClickHouse · 2026-11-06 · Medium · 16 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP, Performance engineering
  WalShadow, which decodes physical Postgres WAL outside the database and writes blocks directly to ClickHouse, held median replication latency near 0.4 s from 1 to 200,000 rows/s on a 16 vCPU source.

## 2026-11-05

- [Change Data Capture in SQLite, Without the Triggers](https://swe.quest/articles/change-data-capture-in-sqlite-without-the-triggers-241b82cfb5d25e99.md): Turso · 2026-11-05 · Medium · 8 min read · SQLite, Event-driven architecture, Data pipelines, Caching
  Turso Database, a Rust rewrite of SQLite, has built-in change data capture enabled with a single PRAGMA.

## 2026-09-22

- [How Fountain rebuilt its data plane on ClickHouse Cloud to power Cue, the Frontline Superintelligence](https://swe.quest/articles/how-fountain-rebuilt-its-data-plane-on-clickhouse-cloud-to-power-cue-the-0dccb4dc5f23d9f5.md): ClickHouse · 2026-09-22 · Medium · 9 min read · Analytics & OLAP, Data pipelines, Event-driven architecture, Multi-tenancy, AI agents
  Fountain replaced a multi-vendor batch pipeline (third-party replication to S3/Iceberg, then BigQuery) with ClickPipes CDC streaming Postgres and MongoDB directly into ClickHouse Cloud, cutting analytics freshness from three hours to under two minutes, with most queries sub-second, at about 66% lower cost.
- [When a file is uploaded, run the job on Neon](https://swe.quest/articles/when-a-file-is-uploaded-run-the-job-on-neon-11d1f9b245942444.md): Neon · 2026-09-22 · Medium · 7 min read · Serverless, Event-driven architecture, PostgreSQL, Storage systems
  Neon added a storage\_object\_created function trigger that invokes a Neon Function via HTTP POST when an object is created in a Neon Object Storage bucket, optionally filtered by key prefix.

## 2026-09-21

- [Blocking cutovers to save replication slots](https://swe.quest/articles/blocking-cutovers-to-save-replication-slots-d52d9d5fcc4a6789.md): PlanetScale · 2026-09-21 · Medium · 5 min read · PostgreSQL, Replication, Event-driven architecture, Deployment
  PlanetScale Postgres blocks planned cutovers (resizes, parameter changes, maintenance) when logical replication slots aren't synchronized to the replica being promoted, because vanilla Postgres will promote a replica without the slot and silently break CDC consumers.

## 2026-09-10

- [Introducing WalShadow: Sub-second Postgres replication to ClickHouse from physical WAL](https://swe.quest/articles/introducing-walshadow-sub-second-postgres-replication-to-clickhouse-from-722f53f940cda679.md): ClickHouse · 2026-09-10 · Medium · 5 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP, Performance engineering
  WalShadow is an open-source engine that replicates Postgres to ClickHouse by decoding the physical WAL stream outside the source database, instead of using logical replication slots.

## 2026-08-18

- [Rebuilding Linear’s delta sync read path](https://swe.quest/articles/rebuilding-linear-s-delta-sync-read-path-c44713dd7fac387a.md): Linear · 2026-08-18 · Medium · 7 min read · Local-first & sync, PostgreSQL, Search, Event-driven architecture, Performance engineering
  Linear moved its delta sync read path, which lets reconnecting local-first clients fetch only changes since their last checkpoint, from a Postgres table to turbopuffer inverted indexes.

## 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

- [From Batch Snapshots to Near-Real-Time Data](https://swe.quest/articles/from-batch-snapshots-to-near-real-time-data-66d4723d1d45278d.md): Doximity Technology · 2026-08-04 · Medium · 13 min read · Event-driven architecture, Data pipelines, MySQL, Analytics & OLAP, Replication
  Doximity added a Debezium/Kafka/Snowflake CDC pipeline alongside its existing Aurora point-in-time batch snapshots, bringing 95% of sampled events to a queryable layer within eight minutes.
- [Fixed cadence to seconds: making ClickHouse Cloud autoscaling more reactive](https://swe.quest/articles/fixed-cadence-to-seconds-making-clickhouse-cloud-autoscaling-more-reactive-1b4745e879b2e9ce.md): ClickHouse · 2026-08-04 · Medium · 13 min read · Kubernetes, Capacity planning, Go, Analytics & OLAP, Event-driven architecture
  ClickHouse Cloud's vertical autoscaling recommender moved from a fixed timer loop to a controller-runtime based design, so services that hit memory pressure get a recommendation in seconds instead of waiting for the next scheduled pass.

## 2026-07-06

- [98% faster queries, 50% lower cloud costs: Verihubs’ journey from Postgres to ClickHouse](https://swe.quest/articles/98-faster-queries-50-lower-cloud-costs-verihubs-journey-from-postgres-to-f6535061aff525b1.md): ClickHouse · 2026-07-06 · Medium · 6 min read · Analytics & OLAP, Data pipelines, PostgreSQL, Event-driven architecture
  Verihubs replaced a Postgres warehouse fed by daily Airflow batch pulls with a ClickHouse-based real-time OLAP stack.

## 2026-06-22

- [How Spyne simplified their CDC pipeline with ClickPipes and ClickHouse Cloud](https://swe.quest/articles/how-spyne-simplified-their-cdc-pipeline-with-clickpipes-and-clickhouse-cloud-44d67da08e6e4dbc.md): ClickHouse · 2026-06-22 · Medium · 6 min read · Event-driven architecture, Data pipelines, Analytics & OLAP, Schema migrations
  Spyne replaced a self-managed Debezium → Kafka → ClickHouse Kafka-engine/materialized-view CDC pipeline with ClickPipes on ClickHouse Cloud.

## 2026-05-12

- [Migrating Data Ingestion Systems at Meta Scale](https://swe.quest/articles/migrating-data-ingestion-systems-at-meta-scale-338df596ae05796f.md): Meta Engineering · 2026-05-12 · Medium · 9 min read · Data pipelines, Event-driven architecture, MySQL, Refactoring & migrations, Deployment
  Meta migrated tens of thousands of MySQL-to-warehouse change data capture (CDC) ingestion jobs, together moving several petabytes daily, from customer-owned pipelines to a self-managed warehouse service, and fully retired the legacy system.

## 2026-05-05

- [Realtime or Pipelines? How to choose the right tool](https://swe.quest/articles/realtime-or-pipelines-how-to-choose-the-right-tool-61e0b980ce77be1d.md): Supabase · 2026-05-05 · Medium · 8 min read · PostgreSQL, Event-driven architecture, Real-time systems, Replication, Data pipelines
  Supabase Realtime and Supabase Pipelines both read Postgres changes via logical replication but serve different jobs.

## 2026-03-16

- [Unordered mode for GCS ClickPipes is now available](https://swe.quest/articles/unordered-mode-for-gcs-clickpipes-is-now-available-697e58ec78f54387.md): ClickHouse · 2026-03-16 · Medium · 5 min read · Data pipelines, Cloud platforms, Event-driven architecture, Analytics & OLAP
  GCS ClickPipes in ClickHouse Cloud can now ingest files in any order.

## 2026-03-03

- [Using ClickHouse as a webhook endpoint with HMAC verification](https://swe.quest/articles/using-clickhouse-as-a-webhook-endpoint-with-hmac-verification-e66d732ddcb02589.md): ClickHouse · 2026-03-03 · Medium · 6 min read · Analytics & OLAP, SQL, Identity & auth, Event-driven architecture
  ClickHouse 25.12's new HMAC function lets a ClickHouse HTTP endpoint verify webhook signatures directly in SQL.

## 2026-02-13

- [Beyond rate limits: scaling access to Codex and Sora](https://swe.quest/articles/beyond-rate-limits-scaling-access-to-codex-and-sora-f19f4998580ba788.md): OpenAI · 2026-02-13 · Medium · 6 min read · Payments & fintech, System design, Consistency models, Event-driven architecture, Distributed systems
  OpenAI replaced hard rate-limit stops for Codex and Sora with a real-time access engine that treats rate limits, free tiers, credits, promotions and enterprise entitlements as layers in a single decision waterfall evaluated per request.

## 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.

## 2026-01-14

- [One for the Treble, Two for the Time](https://swe.quest/articles/one-for-the-treble-two-for-the-time-c03cd49395ab2de8.md): TigerBeetle · 2026-01-14 · Medium · 5 min read · Payments & fintech, Time & clocks, Databases, Event-driven architecture
  Bitemporal modelling lets an immutable, append-only ledger like TigerBeetle correct past mistakes: record every fact as soon as it is learned, tagged with both a recorded timestamp and an effective timestamp.

## 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

- [Postgres CDC in ClickHouse, A year in review](https://swe.quest/articles/postgres-cdc-in-clickhouse-a-year-in-review-6b9d350bcade98d4.md): ClickHouse · 2025-12-03 · Medium · 13 min read · PostgreSQL, Event-driven architecture, Data pipelines, Analytics & OLAP, Replication
  A year after PeerDB's acquisition, Postgres CDC into ClickHouse via ClickPipes has grown to 400+ companies replicating over 200 TB per month, driven by real-time customer-facing analytics and data warehousing workloads.

## 2025-12-02

- [Introducing Supabase Pipelines](https://swe.quest/articles/introducing-supabase-pipelines-65fc9ed15e862b06.md): Supabase · 2025-12-02 · Medium · 4 min read · Event-driven architecture, PostgreSQL, Analytics & OLAP, Data pipelines, Replication
  Supabase Pipelines is a managed change-data-capture service that replicates Postgres tables to analytical destinations in near real time using logical replication, publications and replication slots, with an initial sync followed by batched ongoing changes.

## 2025-11-11

- [ClickPipes for Postgres now supports failover replication slots](https://swe.quest/articles/clickpipes-for-postgres-now-supports-failover-replication-slots-63903c6595faed76.md): ClickHouse · 2025-11-11 · Medium · 3 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP
  Postgres ClickPipes can now create logical replication slots with failover enabled, so CDC pipelines into ClickHouse survive a primary-to-standby promotion.

## 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-09-09

- [TimescaleDB to ClickHouse replication: Use cases, features, and how we built it](https://swe.quest/articles/timescaledb-to-clickhouse-replication-use-cases-features-and-how-we-built-it-be36fccc04b0f111.md): ClickHouse · 2025-09-09 · Medium · 4 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP
  ClickPipes' Postgres CDC connector, built on PeerDB, now replicates TimescaleDB hypertables into ClickHouse for one-time migrations, staged migrations, or running both databases side by side.

## 2025-08-19

- [Consuming the Delta Lake Change Data Feed for CDC](https://swe.quest/articles/consuming-the-delta-lake-change-data-feed-for-cdc-a3df7811b1c94f79.md): ClickHouse · 2025-08-19 · Medium · 16 min read · Event-driven architecture, Data pipelines, Analytics & OLAP, Storage engines
  Delta Lake's Change Data Feed (CDF) can drive CDC into ClickHouse by reading row-level change events reconstructed from the \_delta\_log transaction log and the \_change\_data Parquet files.

## 2025-07-28

- [Beyond the Chatbot: Event-Driven Agents in Action](https://swe.quest/articles/beyond-the-chatbot-event-driven-agents-in-action-fe3eb0d5f18a275b.md): Docker · 2025-07-28 · Medium · 9 min read · AI agents, Event-driven architecture, TypeScript, LLMs, Containers
  A GitHub webhook-triggered agent workflow automatically detects "I finished the tutorial" pull requests on Docker's sample repos, generates an encouraging comment, and closes them without any chat interface.

## 2025-07-25

- [Postgres as Your Platform: Building Event-Driven Systems with Schema Changes](https://swe.quest/articles/postgres-as-your-platform-building-event-driven-systems-with-schema-changes-6824bf4fc3fb4dca.md): Neon · 2025-07-25 · Medium · 7 min read · PostgreSQL, Event-driven architecture, Schema migrations, Multi-tenancy
  Postgres event triggers, transactional DDL and LISTEN/NOTIFY can turn schema changes into reliable events that drive downstream automation such as SDK generation, warehouse syncs and documentation updates, with no external queue.

## 2025-07-16

- [Introducing Change Data Capture for SQLite in Turso](https://swe.quest/articles/introducing-change-data-capture-for-sqlite-in-turso-c6756296fac94071.md): Turso · 2025-07-16 · Medium · 5 min read · SQLite, Event-driven architecture, Databases
  Turso's SQLite rewrite gains an unstable, built-in Change Data Capture feature enabled per connection via PRAGMA unstable\_capture\_data\_changes\_conn.

## 2025-05-29

- [From multi-day latency to near real-time insights: Figma’s data pipeline upgrade](https://swe.quest/articles/from-multi-day-latency-to-near-real-time-insights-figma-s-data-pipeline-upgrade-1c3bdc34c41db2d9.md): Figma · 2025-05-29 · Medium · 12 min read · Data pipelines, Event-driven architecture, Analytics & OLAP, PostgreSQL, Cost optimization
  Figma replaced a daily \`SELECT \*\` export from RDS Postgres to Snowflake, which had grown to six-hour syncs and multi-day lag on the largest tables, with an in-house incremental sync pipeline.

## 2025-05-13

- [Leveraging Change Data Capture For Database Migrations At Scale](https://swe.quest/articles/leveraging-change-data-capture-for-database-migrations-at-scale-c10095cde295b15f.md): Squarespace Engineering · 2025-05-13 · Medium · 6 min read · Schema migrations, Event-driven architecture, PostgreSQL, Distributed databases, Stream processing
  Squarespace migrated many PostgreSQL databases to CockroachDB without write downtime by streaming changes through a CDC pipeline: pgoutput logical decoding feeds per-table Debezium connectors into Kafka (Avro), and per-table Apache Beam pipelines on Dataflow upsert batched events into CRDB with checkpointing and backpressure.
- [Under the Hood: Building MySQL Change Data Capture in ClickPipes](https://swe.quest/articles/under-the-hood-building-mysql-change-data-capture-in-clickpipes-285d2b2e8ad92711.md): ClickHouse · 2025-05-13 · Medium · 7 min read · Event-driven architecture, MySQL, Replication, Analytics & OLAP, Data pipelines
  ClickPipes captures MySQL changes by streaming the ROW-format binary log after an initial consistent snapshot, tracking progress through either GTID sets or binlog file/position checkpoints.

## 2025-03-19

- [Scaling Nextdoor’s Datastores: Part 5](https://swe.quest/articles/scaling-nextdoor-s-datastores-part-5-9c2a55c33ba04857.md): Nextdoor Engineering · 2025-03-19 · Medium · 8 min read · Caching, Consistency models, Event-driven architecture, PostgreSQL, Scaling
  Nextdoor closes cache consistency gaps in its look-aside Redis cache by consuming the PostgreSQL change data stream and issuing version-conditional del\_if\_version deletes whenever writers fail to update the cache.

## 2025-03-06

- [From Event-Driven Chaos to a Blazingly Fast Serving API](https://swe.quest/articles/from-event-driven-chaos-to-a-blazingly-fast-serving-api-515d5b06058dbe2a.md): Zalando Engineering · 2025-03-06 · Medium · 8 min read · Caching, Load balancing, Event-driven architecture, Performance engineering, E-commerce
  Zalando replaced an event-driven pipeline that merged Product, Price and Stock events with a central Product Read API (PRAPI).
- [Postgres to ClickHouse: Data Modeling Tips V2](https://swe.quest/articles/postgres-to-clickhouse-data-modeling-tips-v2-421af33ac59693d5.md): ClickHouse · 2025-03-06 · Medium · 21 min read · Analytics & OLAP, PostgreSQL, Event-driven architecture, Replication, SQL
  Postgres CDC into ClickHouse (via PeerDB or ClickPipes) uses logical decoding and maps tables to ReplacingMergeTree.

## 2024-10-30

- [ClickHouse Partnership, improved Postgres Replication, and Disk Management](https://swe.quest/articles/clickhouse-partnership-improved-postgres-replication-and-disk-management-fc24b5541354f1b8.md): Supabase · 2024-10-30 · Medium · 4 min read · PostgreSQL, Analytics & OLAP, Replication, Event-driven architecture
  Supabase and ClickHouse are partnering around a Postgres-for-transactions, ClickHouse-for-analytics stack that is becoming common among AI companies.

## 2024-10-22

- [Event-driven architectures using Neon and Sequin](https://swe.quest/articles/event-driven-architectures-using-neon-and-sequin-8e1877ce94623987.md): Neon · 2024-10-22 · Medium · 5 min read · Event-driven architecture, PostgreSQL, Replication
  Sequin offers a lighter alternative to Debezium plus Kafka for change data capture on Neon Postgres, using a logical replication slot to build a strictly ordered "Sequence" of table rows that consumers can read, rewind and replay without copying data into a separate system.

## 2024-10-02

- [Postgres Meets Analytics: CDC From Neon to ClickHouse Via PeerDB](https://swe.quest/articles/postgres-meets-analytics-cdc-from-neon-to-clickhouse-via-peerdb-669fe8e963909dd5.md): Neon · 2024-10-02 · Medium · 5 min read · PostgreSQL, Event-driven architecture, Analytics & OLAP, Replication, Data pipelines
  Neon serverless Postgres can serve as the transactional system of record while ClickHouse handles real-time analytics, with PeerDB streaming changes between them via Postgres logical replication.

## 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-08-28

- [Postgres to ClickHouse: Data Modeling Tips](https://swe.quest/articles/postgres-to-clickhouse-data-modeling-tips-aec1f81e14af15d4.md): ClickHouse · 2024-08-28 · Medium · 9 min read · Analytics & OLAP, PostgreSQL, Event-driven architecture, SQL, Replication
  Postgres tables replicated to ClickHouse via PeerDB land in ReplacingMergeTree tables where updates and deletes arrive as versioned inserts (\_peerdb\_version, \_peerdb\_is\_deleted), so duplicates persist until background merges run.

## 2024-08-26

- [What the interns have wrought, 2024 edition](https://swe.quest/articles/what-the-interns-have-wrought-2024-edition-b9d6cc4b73c67320.md): Jane Street Tech Blog · 2024-08-26 · Medium · 12 min read · Functional programming, Performance engineering, Debugging, Event-driven architecture, Analytics & OLAP
  Three 2024 Jane Street intern projects get a technical walkthrough.

## 2024-08-14

- [Enhancing Postgres to ClickHouse replication using PeerDB](https://swe.quest/articles/enhancing-postgres-to-clickhouse-replication-using-peerdb-3be51f7c6d9f7329.md): ClickHouse · 2024-08-14 · Medium · 4 min read · PostgreSQL, Replication, Event-driven architecture, Analytics & OLAP, Identity & auth
  PeerDB hardened its Postgres-to-ClickHouse CDC pipeline in four ways.

## 2024-08-12

- [Use SQLite triggers to send new user emails](https://swe.quest/articles/use-sqlite-triggers-to-send-new-user-emails-27dbd430dfe83f99.md): Turso · 2024-08-12 · Medium · 5 min read · SQLite, Serverless, Event-driven architecture, Communications, TypeScript
  An AFTER INSERT trigger on a users table copies each new row into a new\_users outbox table.

## 2024-08-09

- [Stream data from Neon to external data sources via logical replication](https://swe.quest/articles/stream-data-from-neon-to-external-data-sources-via-logical-replication-ba0a37ed2d47496f.md): Neon · 2024-08-09 · Medium · 7 min read · PostgreSQL, Replication, Event-driven architecture, Data pipelines
  Neon now supports outbound Postgres logical replication in beta, letting a Neon database publish WAL-decoded inserts, updates and deletes to warehouses, Kafka, CDC tools and other Postgres databases; inbound replication is coming later.

## 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-22

- [Streamkap: An out-of-the-box CDC solution for ClickHouse](https://swe.quest/articles/streamkap-an-out-of-the-box-cdc-solution-for-clickhouse-fb75535a3b94ad24.md): ClickHouse · 2024-02-22 · Medium · 14 min read · Event-driven architecture, Analytics & OLAP, Data pipelines, Schema migrations
  Streamkap's ClickHouse connector streams change data capture from PostgreSQL, MySQL, SQL Server, Oracle and MongoDB into ClickHouse using Kafka, Debezium and Flink.

## 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.

## 2024-01-25

- [Ownership and data flow in GPUI](https://swe.quest/articles/ownership-and-data-flow-in-gpui-d709f4da05260bf5.md): Zed · 2024-01-25 · Medium · 9 min read · Rust, Frontend, Memory management, Event-driven architecture
  GPUI, Zed's Rust UI framework, sidesteps Rust's single-ownership constraints by having a top-level App own every model and view, while code holds reference-counted Entity\<T\> handles that can only read or update state when given an App or Context.

## 2024-01-11

- [A Guide to Logical Replication and CDC in PostgreSQL with Airbyte](https://swe.quest/articles/a-guide-to-logical-replication-and-cdc-in-postgresql-with-airbyte-4e37edf2ac1b986b.md): Neon · 2024-01-11 · Medium · 9 min read · PostgreSQL, Replication, Event-driven architecture, Data pipelines
  PostgreSQL logical replication builds on the write-ahead log: logical decoding turns byte-level WAL records into row-level INSERT/UPDATE/DELETE changes, and replication slots track each subscriber's LSN while retaining WAL until it is consumed.

## 2023-12-21

- [Change Data Capture with Neon and Materialize](https://swe.quest/articles/change-data-capture-with-neon-and-materialize-b7e8c6b1f01b6525.md): Neon · 2023-12-21 · Medium · 4 min read · Event-driven architecture, PostgreSQL, Replication, Stream processing
  Neon's logical replication support lets Materialize ingest Postgres changes directly via the native replication protocol, without Debezium or other extra infrastructure, while keeping transactional consistency.
- [Change Data Capture with Serverless Postgres](https://swe.quest/articles/change-data-capture-with-serverless-postgres-4d667a8d26488042.md): Neon · 2023-12-21 · Medium · 7 min read · PostgreSQL, Replication, Event-driven architecture, Serverless
  Neon has released Postgres logical replication in beta, letting Neon databases act as publishers that stream an initial snapshot plus row-level changes to external stores for change data capture and real-time analytics.

## 2023-11-08

- [Patching the PostgreSQL JDBC Driver](https://swe.quest/articles/patching-the-postgresql-jdbc-driver-47e9400eaa77f0d2.md): Zalando Engineering · 2023-11-08 · Medium · 10 min read · PostgreSQL, Replication, Event-driven architecture, Java & JVM, Open source
  Postgres logical replication slots for clients watching low-traffic tables never advance, so the server retains all WAL generated by other tables until disk fills and the node goes read-only.

## 2023-06-15

- [Change Data Capture (CDC) with PostgreSQL and ClickHouse - Part 2](https://swe.quest/articles/change-data-capture-cdc-with-postgresql-and-clickhouse-part-2-2123f803752f2e9d.md): ClickHouse · 2023-06-15 · Medium · 22 min read · Event-driven architecture, PostgreSQL, Analytics & OLAP, Data pipelines, Replication
  A Postgres-to-ClickHouse CDC pipeline is built with Debezium, Kafka Connect and a ClickHouse materialized view, keeping a ReplacingMergeTree table in sync with the 28M-row UK property price dataset under a mix of inserts, updates and deletes.
- [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.

## 2022-02-02

- [Utilizing Amazon DynamoDB and AWS Lambda for Asynchronous Event Publication](https://swe.quest/articles/utilizing-amazon-dynamodb-and-aws-lambda-for-asynchronous-event-publication-b54b04cd8273be4a.md): Zalando Engineering · 2022-02-02 · Medium · 5 min read · Event-driven architecture, Cloud platforms, Serverless, Resilience, Microservices
  Zalando Payments decoupled event publication from synchronous DynamoDB writes in its Order Store service using the Transactional Outbox pattern, removing the message bus from the request path and raising the availability ceiling from 99.8% to DynamoDB's own.

## 2021-12-13

- [Building a Real-time Buyer Signal Data Pipeline for Shopify Inbox](https://swe.quest/articles/building-a-real-time-buyer-signal-data-pipeline-for-shopify-inbox-35ea4cdd28145f71.md): Shopify Engineering · 2021-12-13 · Medium · 12 min read · Stream processing, Data pipelines, Event-driven architecture, E-commerce
  Shopify built a streaming pipeline on Apache Beam and Google Cloud Dataflow that surfaces cart actions and order completions to merchants inside Shopify Inbox conversations.

## 2021-10-14

- [GraphQL, meet LiveGraph: a real-time data system at scale](https://swe.quest/articles/graphql-meet-livegraph-a-real-time-data-system-at-scale-0852462beb79152e.md): Figma · 2021-10-14 · Medium · 11 min read · Real-time systems, GraphQL, PostgreSQL, System design, Event-driven architecture
  LiveGraph is Figma's real-time data layer on Postgres: frontend code declares GraphQL-like live queries via a React useSubscription hook, and the server keeps results updated by tailing the Postgres write-ahead log distributed over Kafka instead of polling.

## 2021-07-30

- [Updates for Supabase Functions](https://swe.quest/articles/updates-for-supabase-functions-78e26e9858c89367.md): Supabase · 2021-07-30 · Medium · 6 min read · PostgreSQL, Event-driven architecture, Serverless
  Supabase is shipping Database Webhooks in alpha, a convenience wrapper around Postgres triggers that fires asynchronous HTTP requests on INSERT, UPDATE and DELETE with a Realtime-style JSON payload.

## 2021-04-02

- [Workflows are coming to Supabase](https://swe.quest/articles/workflows-are-coming-to-supabase-a57ed34660f0256b.md): Supabase · 2021-04-02 · Medium · 5 min read · Serverless, PostgreSQL, Elixir & Erlang, Scheduling, Event-driven architecture
  Supabase is building Workflows, an open source orchestration engine written in Elixir that uses the Amazon States Language to coordinate existing functions (AWS, GCP, Azure, OpenFaaS, Postgres) in response to database events or HTTP calls.

## 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?difficulty=medium&tag=event-driven](https://swe.quest/feed.xml?difficulty=medium&tag=event-driven). 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)
