Microservices: Rethinking the Way We Treat Data and Services | Confluent
Dec 13, 2016Ben Stopford

Summary
This post introduces the concept of 'data-on-the-outside' as a solution to the 'data dichotomy' in microservices, where services need to hide internal state (encapsulation) but also require access to shared data. It argues that traditional approaches like service interfaces, messaging (without historical reference), and shared databases are inadequate. The post proposes using a distributed log (like Kafka) as a streaming platform, enabling event-driven architectures where services can join and operate on shared streams with embedded stream processing. This allows for greater autonomy and scalability by pushing flow control to the receiver and leveraging the log for both transport and long-term storage.
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