Lab article · ~14 min read

Data Synchronisation: Debezium & Outbox

The dual-write problem and how to solve it: change data capture with Debezium, the transactional outbox pattern, idempotent downstreams, schema drift, and the reconciliation that catches the edge cases.

Debezium CDC Kafka Connect Outbox Pattern Postgres
Read article →
Lab article · ~14 min read

Cross-Region Replication Patterns

Active/active vs active/passive multi-region data: conflict resolution strategies, Kafka MirrorMaker 2 with offset translation, Postgres streaming and logical replication, IBM Db2 HADR, and the SAMA data-residency constraints that shape all of it.

MirrorMaker 2 PostgreSQL Db2 HADR Patroni Multi-Region
Read article →
Lab article · ~14 min read

Reconciliation Pipelines for Regulators

Daily reconciliation that catches CDC drift the application can’t see: fingerprinting & hash comparison at scale, automated break investigation and classification, SAMA-aligned audit trails, and the tamper-evident reporting that survives an examination.

Apache Flink Spark Debezium SAMA TRM Audit Trail
Read article →
Lab article · ~14 min read

Event-Driven Data Mesh: Domain Ownership via Kafka ACLs and Schema Registry

Kafka ACLs for domain data ownership, Avro schema with PDPL classification metadata, Kafka Streams GlobalKTable joins across domain boundaries, and the governance model that turns Kafka from a shared bus into a set of domain-owned data products.

Data Mesh Kafka ACLs Avro PDPL Kafka Streams
Read article →
Lab article · ~14 min read

Conflict Resolution in Multi-Master Databases: CockroachDB, PostgreSQL & Redis CRDTs

CockroachDB geo-partition survival goals, PostgreSQL conflict resolution trigger with last-write-wins and merge strategies, Redis 7 PN-Counter Lua for distributed counters, and the SAMA BCP requirements that make multi-master necessary.

CockroachDB PostgreSQL Redis CRDT Multi-Master SAMA BCP
Read article →