SlideShare a Scribd company logo
The Future of Streaming: Global Apps, Event
Stores and Serverless
Ben Stopford
Office of the CTO, Confluent
Streaming sits at the intersection of
how we deal with data and how we
write programs
THREE TASTES OF THE FUTURE
Global Apps: Location independent applications
Event Stores: Rich recordings of customers and companies
Serverless Stream Processing: Melding real-time, elastic data
and compute
Apps Apps Apps
Apps
Search Monitoring
Apps Apps
Apps Apps Apps
Apps
Search Monitoring
Apps Apps
Apps
Search
NoSQL
Apps
Apps
DWH
Hado
STREAM
ING
PLATFORM
Apps
Search
NoSQL
Apps
DWH
STREAMING
PLATFORM
PRODUCERCONSUMER
Streaming Platform
Event Storage
Kafka stores
petabytes of data
Stream Processing
Real-time processing
over streams and tables
Scalability
Clusters of hundreds
of machines. Global.
+ + +
Roots in big data messaging
> 2 trillion messages per day
THREE TASTES OF THE FUTURE
Global Apps: Location independent applications
Event Stores: Rich recordings of customers and companies
Serverless Stream Processing: Melding real-time, elastic data
and compute
Events change our thinking
Monolithic Approach
-A database
-a variable
-a singleton
-a RPC
Event-First Approach
- An event
- A stream
- A log
- A stream processor
Event-driven programs have location transparency
They take us on journeys
Events let us run anywhere
Interconnecting these separate worlds as real-time ecosystems
The future lies in integrated global streaming
THREE TASTES OF THE FUTURE
Global Apps: Location independent applications
Event Stores: Rich recordings of customers and companies
Serverless Stream Processing: Melding real-time, elastic data
and compute
Events change the way we
observe the world around us
Events:
A fact. An observation of the world.
An payment
A page view
A log line
A sensor reading
Events come in streams
Apps
M
onitoring
Security
Apps
Apps
L
A
T
F
O
R
M
Event
Stream
Order of events is important
Apps
Monitoring
Apps
Apps
O
R
M
Events record what
happened.
Streams record how it
happened
Traditional systems use mutable state
DB
This isn’t wrong, it’s just lossy
Apps
Search Mon
Apps Apps
S T R E A M I N G P L A T F O R M
Events record the user’s journey
Shopping Cart Events
2 Trousers added
1 Jumper added
1 Trousers removed
1 Hat added
Checkout
Shopping Cart
Event
User
Journey
12.42
12.44
12.49
12.50
12.59
Stored as a stream Stored statefully (think DB)
12.42
12.44
12.49
12.50
12.59 Information lost!
Event
User
Journey
12.42
12.44
12.49
12.50
12.59
We can derive the current state
(but not the other way around)
Apps Apps
DERIVE
Stream Processor
Streaming is a form of Event Sourcing
The current state is a projection of the recording
Familiar
Stateful
View
LOSSY
PROJECTION
Stream = Exactly
what happened
Streams let us “observe the
game” one event at a time
The End State
Often the game is more important than the
end state
The Game
A stock price: observe the game, not just the current state
A customer journey: observe everything
Formula 1
Formula 1: Observe the game, optimize the end state
now and in the future
End state
Formulae 1 – High-Level Architecture
• 400 Sensors on car
• 70,000 derivative
measures
• Events streamed back to
base
• Analyzed in real time
• Tire modelling
• Racing line
• Aerodynamics
• Machine Learning and
Physics Models.
• Replayed later for post
race analysis.
Race Track HQ
e.g. Tire modelling:
- Temp
- Pressure
- Suspension compression
Stream Processing
Post race analysis
ML
SourceofTruth
Retain events, rewind and replay the stream processor
Another form of “Event Sourcing”
- Record what happened
- Rewind, replay and rederive (View, App, ML, Physics Model etc.)
Billing Shipping
Fraud Fraud
CUSTOMER
ANALYTICS
EVENT STORE
Rich, real-time recordings of customers and companies
Event Streams
Orders
Payments
Customers
Distinct Visits
Destination
Spark
Postgres
KSQL
Other Kafka
Select Organizational Events
Stream Processing
SELECT *
FROM ORDERS O, CUSTOMERS C
WHERE O.REGION = ‘EU’
AND C.TYPE = ‘Platinum’
Msgs/Day
Customers
Stream Processing
Spark
KSQL
Orders
History
1w
All
Event stores make data self service (real time & historical)
Rich recordings of customers and companies
Real-time
Historical
Self Service
THREE TASTES OF THE FUTURE
Global Apps: Location independent applications
Event Stores: Rich recordings of customers and companies
Serverless Stream Processing: Melding real-time, elastic data
and compute
A future of
Streaming changes how we
observe the game.
Cloud changes how we play it.
Apps Apps Apps
Apps
Search Monitoring
Apps Apps
Apps Apps Apps
Apps
Search Monitoring
Apps Apps
Apps
Search
NoSQL
Apps
Apps
DWH
Hado
STREAM
ING
PLATFORM
Apps
Search
NoSQL
Apps
DWH
STREAMING
PLATFORM
PRODUCERCONSUMER
Confluent Cloud
2019
2019
Serverless and
Stream Processing are closely related
Using FaaS
• Write a function
• Upload
• Configure a trigger (HTTP, Event, Object Store, Database, Timer etc.)
FaaS in a Nutshell
• Short lived (max ~5 mins)
• Pay as you use
• 0-1000 concurrent functions, autoscales with load
• Interesting for spikey compute
• Interesting for low priority use cases e.g. CI systems.
But there are open questions
Serverless Developer Ecosystem
• Runtime diagnostics
• Monitoring
• Deploy loop
• Testing
• IDE integration
Currently quite poor
Harder than current approaches Easier than current approaches
Amazon
Google
Microsoft
Big Data LDN 2018: THE FUTURE OF STREAMING: GLOBAL APPS, EVENT STORES AND SERVERLESS
FaaS is event-driven
But it isn’t streaming
Serverless Way: event driven but not streaming
Orders
Customers
Payments
FaaS
FaaS
FaaS
STREAMING:
Event-first - how we think
Event-sourced - how we store
Event-driven - how we combine data and interact
Transaction
Orders
Payments
KSQL
Customers
Streaming is Event-First, Event-Sourced & Event-Driven
Stateful or Stateless
FaaSFaaSFaaS
Transaction
KSQL
Stream processors can act as a “data layer” for FaaS ?
FaaSFaaS
StatelessStateful
(slower elasticity)
Orders
Payments
Customers
FaaSFaaSFaaS
Transaction
Orders
Payments
KSQL
Customers
StatelessStateful
Inherit Kafka’s Rich Feature Set?
FaaSFaaS
FaaS
Traditional
Application
Event-Driven
Application
Application
Database
KSQL
Stateful
Data Layer
FaaS
FaaS
FaaS
FaaS
FaaS
Streaming
Event-first
Event-sourced
Event-driven
Stateless
Stateless
Stateless
Compute Layer
Auto-scaling, correctness,
pluggability
THREE TASTES OF THE FUTURE
Global Apps: Location independent applications
Event Stores: Rich recordings of customers and companies
Serverless Stream Processing: Melding real-time, elastic data
and compute
GLOBAL SYSTEMS, STORED EVENTS,
CLOUD NATIVE STREAM PROCESSING
Data Layer
FaaS
FaaS
FaaS
FaaS
FaaS
Thank you
@benstopford
Book:
https://www.confluent.io/designing-event-driven-systems
Book Signing: Confluent Booth @3pm

More Related Content

PDF
The Future of Streaming: Global Apps, Event Stores and Serverless
PPTX
AWS User Group UK: Why your company needs a unified log
PPTX
Unified Log London (May 2015) - Why your company needs a unified log
PDF
Gaming in the Cloud at Playhubs Oct 2015
PPTX
3/18/15 Billing&Payments Eng Meetup II - Payments Processing in the Cloud
PPTX
Samza la hug
PDF
Event Stream Processing with Kafka and Samza
PDF
Span Conference: Why your company needs a unified log
The Future of Streaming: Global Apps, Event Stores and Serverless
AWS User Group UK: Why your company needs a unified log
Unified Log London (May 2015) - Why your company needs a unified log
Gaming in the Cloud at Playhubs Oct 2015
3/18/15 Billing&Payments Eng Meetup II - Payments Processing in the Cloud
Samza la hug
Event Stream Processing with Kafka and Samza
Span Conference: Why your company needs a unified log

Similar to Big Data LDN 2018: THE FUTURE OF STREAMING: GLOBAL APPS, EVENT STORES AND SERVERLESS (20)

PDF
Serverless and Streaming: Building ‘eBay’ by ‘Turning the Database Inside Out’
PDF
Event Sourcing, Stream Processing and Serverless (Ben Stopford, Confluent) K...
PDF
Event Sourcing, Stream Processing and Serverless (Benjamin Stopford, Confluen...
PDF
A Global Source of Truth for the Microservices Generation
PDF
Unbundling the Modern Streaming Stack With Dunith Dhanushka | Current 2022
PDF
The art of the event streaming application: streams, stream processors and sc...
PDF
Kafka summit SF 2019 - the art of the event-streaming app
PDF
Neha Narkhede | Kafka Summit London 2019 Keynote | Event Streaming: Our Cloud...
PPTX
Event Streaming Architecture - Deep Dive
PPTX
Kakfa summit london 2019 - the art of the event-streaming app
PDF
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
PDF
The Rise Of Event Streaming – Why Apache Kafka Changes Everything
PDF
Apache kafka event_streaming___kai_waehner
PDF
The State of Stream Processing
PDF
Jay Kreps | Kafka Summit NYC 2019 Keynote (Events Everywhere) | CEO, Confluent
PDF
Event Driven Services Part 3: Putting the Micro into Microservices with State...
PDF
Putting the Micro into Microservices with Stateful Stream Processing
PDF
Hard Truths About Streaming and Eventing (Dan Rosanova, Microsoft) Kafka Summ...
PPTX
Flink Forward SF 2017: Stephan Ewen - Convergence of real-time analytics and ...
PDF
Streaming analytics state of the art
Serverless and Streaming: Building ‘eBay’ by ‘Turning the Database Inside Out’
Event Sourcing, Stream Processing and Serverless (Ben Stopford, Confluent) K...
Event Sourcing, Stream Processing and Serverless (Benjamin Stopford, Confluen...
A Global Source of Truth for the Microservices Generation
Unbundling the Modern Streaming Stack With Dunith Dhanushka | Current 2022
The art of the event streaming application: streams, stream processors and sc...
Kafka summit SF 2019 - the art of the event-streaming app
Neha Narkhede | Kafka Summit London 2019 Keynote | Event Streaming: Our Cloud...
Event Streaming Architecture - Deep Dive
Kakfa summit london 2019 - the art of the event-streaming app
The Art of The Event Streaming Application: Streams, Stream Processors and Sc...
The Rise Of Event Streaming – Why Apache Kafka Changes Everything
Apache kafka event_streaming___kai_waehner
The State of Stream Processing
Jay Kreps | Kafka Summit NYC 2019 Keynote (Events Everywhere) | CEO, Confluent
Event Driven Services Part 3: Putting the Micro into Microservices with State...
Putting the Micro into Microservices with Stateful Stream Processing
Hard Truths About Streaming and Eventing (Dan Rosanova, Microsoft) Kafka Summ...
Flink Forward SF 2017: Stephan Ewen - Convergence of real-time analytics and ...
Streaming analytics state of the art
Ad

More from Matt Stubbs (20)

PDF
Blueprint Series: Banking In The Cloud – Ultra-high Reliability Architectures
PDF
Speed Up Your Apache Cassandra™ Applications: A Practical Guide to Reactive P...
PDF
Blueprint Series: Expedia Partner Solutions, Data Platform
PDF
Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...
PDF
Big Data LDN 2018: DATA, WHAT PEOPLE THINK AND WHAT YOU CAN DO TO BUILD TRUST.
PDF
Big Data LDN 2018: DATABASE FOR THE INSTANT EXPERIENCE
PDF
Big Data LDN 2018: BIG DATA TOO SLOW? SPRINKLE IN SOME NOSQL
PDF
Big Data LDN 2018: ENABLING DATA-DRIVEN DECISIONS WITH AUTOMATED INSIGHTS
PDF
Big Data LDN 2018: DATA MANAGEMENT AUTOMATION AND THE INFORMATION SUPPLY CHAI...
PDF
Big Data LDN 2018: AI VS. GDPR
PDF
Big Data LDN 2018: REALISING THE PROMISE OF SELF-SERVICE ANALYTICS WITH DATA ...
PDF
Big Data LDN 2018: TURNING MULTIPLE DATA LAKES INTO A UNIFIED ANALYTIC DATA L...
PDF
Big Data LDN 2018: MICROSOFT AZURE AND CLOUDERA – FLEXIBLE CLOUD, WHATEVER TH...
PDF
Big Data LDN 2018: CONSISTENT SECURITY, GOVERNANCE AND FLEXIBILITY FOR ALL WO...
PDF
Big Data LDN 2018: MICROLISE: USING BIG DATA AND AI IN TRANSPORT AND LOGISTICS
PDF
Big Data LDN 2018: EXPERIAN: MAXIMISE EVERY OPPORTUNITY IN THE BIG DATA UNIVERSE
PDF
Big Data LDN 2018: A LOOK INSIDE APPLIED MACHINE LEARNING
PDF
Big Data LDN 2018: DEUTSCHE BANK: THE PATH TO AUTOMATION IN A HIGHLY REGULATE...
PDF
Big Data LDN 2018: FROM PROLIFERATION TO PRODUCTIVITY: MACHINE LEARNING DATA ...
PDF
Big Data LDN 2018: DATA APIS DON’T DISCRIMINATE
Blueprint Series: Banking In The Cloud – Ultra-high Reliability Architectures
Speed Up Your Apache Cassandra™ Applications: A Practical Guide to Reactive P...
Blueprint Series: Expedia Partner Solutions, Data Platform
Blueprint Series: Architecture Patterns for Implementing Serverless Microserv...
Big Data LDN 2018: DATA, WHAT PEOPLE THINK AND WHAT YOU CAN DO TO BUILD TRUST.
Big Data LDN 2018: DATABASE FOR THE INSTANT EXPERIENCE
Big Data LDN 2018: BIG DATA TOO SLOW? SPRINKLE IN SOME NOSQL
Big Data LDN 2018: ENABLING DATA-DRIVEN DECISIONS WITH AUTOMATED INSIGHTS
Big Data LDN 2018: DATA MANAGEMENT AUTOMATION AND THE INFORMATION SUPPLY CHAI...
Big Data LDN 2018: AI VS. GDPR
Big Data LDN 2018: REALISING THE PROMISE OF SELF-SERVICE ANALYTICS WITH DATA ...
Big Data LDN 2018: TURNING MULTIPLE DATA LAKES INTO A UNIFIED ANALYTIC DATA L...
Big Data LDN 2018: MICROSOFT AZURE AND CLOUDERA – FLEXIBLE CLOUD, WHATEVER TH...
Big Data LDN 2018: CONSISTENT SECURITY, GOVERNANCE AND FLEXIBILITY FOR ALL WO...
Big Data LDN 2018: MICROLISE: USING BIG DATA AND AI IN TRANSPORT AND LOGISTICS
Big Data LDN 2018: EXPERIAN: MAXIMISE EVERY OPPORTUNITY IN THE BIG DATA UNIVERSE
Big Data LDN 2018: A LOOK INSIDE APPLIED MACHINE LEARNING
Big Data LDN 2018: DEUTSCHE BANK: THE PATH TO AUTOMATION IN A HIGHLY REGULATE...
Big Data LDN 2018: FROM PROLIFERATION TO PRODUCTIVITY: MACHINE LEARNING DATA ...
Big Data LDN 2018: DATA APIS DON’T DISCRIMINATE
Ad

Recently uploaded (20)

PPTX
IB Computer Science - Internal Assessment.pptx
PDF
Business Analytics and business intelligence.pdf
PPTX
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
PPT
Reliability_Chapter_ presentation 1221.5784
PDF
.pdf is not working space design for the following data for the following dat...
PPT
ISS -ESG Data flows What is ESG and HowHow
PPTX
Introduction to Knowledge Engineering Part 1
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPTX
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
PPTX
Database Infoormation System (DBIS).pptx
PDF
Clinical guidelines as a resource for EBP(1).pdf
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PPTX
IBA_Chapter_11_Slides_Final_Accessible.pptx
PPTX
SAP 2 completion done . PRESENTATION.pptx
PPTX
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
PPTX
Computer network topology notes for revision
PPTX
STERILIZATION AND DISINFECTION-1.ppthhhbx
PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
IB Computer Science - Internal Assessment.pptx
Business Analytics and business intelligence.pdf
Market Analysis -202507- Wind-Solar+Hybrid+Street+Lights+for+the+North+Amer...
Reliability_Chapter_ presentation 1221.5784
.pdf is not working space design for the following data for the following dat...
ISS -ESG Data flows What is ESG and HowHow
Introduction to Knowledge Engineering Part 1
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
AI Strategy room jwfjksfksfjsjsjsjsjfsjfsj
Database Infoormation System (DBIS).pptx
Clinical guidelines as a resource for EBP(1).pdf
Galatica Smart Energy Infrastructure Startup Pitch Deck
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
IBA_Chapter_11_Slides_Final_Accessible.pptx
SAP 2 completion done . PRESENTATION.pptx
mbdjdhjjodule 5-1 rhfhhfjtjjhafbrhfnfbbfnb
Computer network topology notes for revision
STERILIZATION AND DISINFECTION-1.ppthhhbx
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
168300704-gasification-ppt.pdfhghhhsjsjhsuxush

Big Data LDN 2018: THE FUTURE OF STREAMING: GLOBAL APPS, EVENT STORES AND SERVERLESS