Discover a practical solution for the Dual Write Problem in distributed systems using the Outbox Pattern. This guide presents a C# demo app with MongoDB, Kafka, and Debezium, illustrating reliable data propagation between services. …
Tag: MongoDB
Migrating Your Reporting Queries From a “General Purpose” DB to a Data Warehouse – Performance Overview. The article focuses on MongoDB and ClickHouse, but most takeaways apply to other “traditional” DBs and “data warehouse” solutions. …
Exploring Causal Consistency in MongoDB – the article goes through the concepts of Lamport (Logical) Clocks, Operation Time, Cluster Time, and Causally Consistent Sessions that lead to solving the “Read Your Write” consistency violation. …
A code example of how to break the Read You Write consistency in Mongo. Followed by a review of “majority” reads and writes. This will move the discussion towards Causally Consistent Sessions that I’ll cover next. …
When is Eventual Consistency not sufficient in a Distributed System? This article explores Causal Consistency Guarantees and describes the most popular ones – Read Your Write, Monotonic Reads, Monotonic Writes, Writes Follow Reads. …
MongoDB Change Data Capture via Debezium Kafka Connector with a .NET 5 Client …