Sharded MongoDB cluster architecture diagram

Implementing Consistent Bulk Operations Across Sharded MongoDB Clusters: A Deep Dive into Two-Phase Commits

When sharding splits your data across nodes, bulk operations can no longer rely on single-document atomicity. This post walks through implementing consistent two-phase commits in MongoDB clusters to preserve integrity at scale.

October 9, 2026 · 9 min · 1848 words · martinuke0
Diagram of Apache Flink coordinator and sink operators exchanging pre-commit and commit calls during a checkpoint barrier.

Inside Apache Flink's Two-Phase Commit Sink: Exactly-Once Guarantees Across Sinks

How Apache Flink coordinates checkpoints with sink writers via a two-phase commit protocol to deliver end-to-end exactly-once guarantees across Kafka, filesystems, and databases.

September 5, 2026 · 12 min · 2435 words · martinuke0
Feedback