Event-Driven Architectures
Using logs to build a solid data infrastructure (or: why dual writes are a bad idea) | Confluent

Using logs to build a solid data infrastructure (or: why dual writes are a bad idea) | Confluent

5/29/2015 · Martin Kleppmann

What this post added

This post introduces the fundamental concept of logs (append-only, totally ordered sequences of records) as a core building block for robust, scalable, and maintainable data infrastructure. It contrasts this with the problematic 'dual writes' approach for data integration, explaining how dual writes lead to race conditions and inconsistencies. The post advocates for an event-driven architecture based on logs, drawing parallels to how databases, replication, and distributed algorithms like Raft utilize logs. It highlights the benefits of this approach for managing search indexes, caches, and enabling richer data analysis, ultimately leading to more robust and scalable systems.

Read the original post ↗