Using logs to build a solid data infrastructure (or: why dual writes are a bad idea) | Confluent
May 29, 2015Martin Kleppmann

Summary
This post introduces the fundamental concept of logs as a core component of robust data infrastructure, explaining how they are used in databases, replication, distributed algorithms, and stream processing systems like Kafka. It highlights the challenges of data integration in complex systems with multiple storage services and argues against dual writes due to race conditions and inconsistencies. The post advocates for using logs as a single source of truth to simplify data synchronization and build more reliable and scalable applications.
More from the Event-Driven Architectures trail
- InfiniteWatch + Confluent: Turning Customer Interaction Data into Real-Time Intelligence
- Streaming Data Integration with Apache Kafka® vs ETL
- Why Microservices Need Event-Driven Architectures for Agility and Scale
- How to Build Real-Time, Event-Driven Automation for Business Insights
- How to Build Real-Time Alerts to Stay Ahead of Critical Events