Build Systems that Drive Business
30–31 Oct 2018: Training
31 Oct–2 Nov 2018: Tutorials & Conference
London, UK

A global source of truth for the microservices generation

Benjamin Stopford (Confluent)
11:2012:00 Thursday, 1 November 2018
Distributed Data
Location: Buckingham Room - Palace Suite
Secondary topics:  Systems Architecture & Infrastructure
Average rating: ****.
(4.30, 10 ratings)

Prerequisite knowledge

  • A basic understanding of messaging, databases, and service-based systems

What you'll learn

  • Understand the relationship between events, event sourcing, and stream processing
  • Learn how an event stream can be used as a source of truth, incorporating the retentive properties of a database in a system designed to share data across many teams, cloud providers, or geographies

Description

One of the biggest challenges for today’s microservice generation is data, which gets split into fragments that are spread across a company, making it hard to get a joined-up view. One solution is to have a single, shared database that all services can access, but sharing databases across different services is a well-known anti-pattern. What if instead you shared a replayable commit log? This is the basic notion behind one of the most interesting and provocative ideas to arise from the stream-processing community.

Ben Stopford explains how an event stream—stored in a replayable log—can be used as a source of truth, incorporating the retentive properties of a database in a system designed to share data across many teams, cloud providers, or geographies. This leads to the idea of a database turned inside out: a central commit log spawning many continuously updated caches and views, embedded in different microservices. Ben examines the subtler, systemic effects that the pattern leads to—better autonomy, easier evolution and a more ephemeral approach to data—and explores the use of logs that span geographical regions and cloud providers. Along the way, he reflects on the practicalities of using logs as a distributed storage system and looks at some of the real-world applications of this approach.

Photo of Benjamin Stopford

Benjamin Stopford

Confluent

Ben Stopford is a technologist working in the Office of the CTO at Confluent (the company behind Apache Kafka), where he has worked on a wide range of projects, from implementing the latest version of Kafka’s replication protocol to developing strategies for streaming applications. Previously, Ben led the design and build of a company-wide data platform for a large financial institution and worked on a number of early service-oriented systems, both in finance and at ThoughtWorks. He is the author of the book Designing Event Driven Systems.