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.)
New York Times
Store of Every
article since 1851
(Source of Truth)
https://www.confluent.io/blog/publishing-apache-kafka-new-york-times/
Normalized assets
(images, articles, bylines, tags
all separate messages)
Denormalized into
“Content View”
Billing Shipping
Fraud Fraud
CUSTOMER
ANALYSIS
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
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

More Related Content

PDF
A Global Source of Truth for the Microservices Generation
PPTX
10 Principals for Effective Event Driven Microservices
PPTX
10 Principals for Effective Event-Driven Microservices with Apache Kafka
PDF
APAC ksqlDB Workshop
PDF
Amsterdam meetup at ING June 18, 2019
PDF
Neha Narkhede | Kafka Summit London 2019 Keynote | Event Streaming: Our Cloud...
PPTX
Jun Rao, Confluent | Kafka Summit SF 2019 Keynote ft. Chris Kasten, Walmart Labs
PDF
Top use cases for 2022 with Data in Motion and Apache Kafka
A Global Source of Truth for the Microservices Generation
10 Principals for Effective Event Driven Microservices
10 Principals for Effective Event-Driven Microservices with Apache Kafka
APAC ksqlDB Workshop
Amsterdam meetup at ING June 18, 2019
Neha Narkhede | Kafka Summit London 2019 Keynote | Event Streaming: Our Cloud...
Jun Rao, Confluent | Kafka Summit SF 2019 Keynote ft. Chris Kasten, Walmart Labs
Top use cases for 2022 with Data in Motion and Apache Kafka

What's hot (20)

PDF
Event Streaming CTO Roundtable for Cloud-native Kafka Architectures
PDF
Real time data processing and model inferncing platform with Kafka streams (N...
PDF
Understanding the TCO and ROI of Apache Kafka & Confluent
PDF
Event Driven Architecture with a RESTful Microservices Architecture (Kyle Ben...
PDF
Kafka Summit NYC 2017 - The Data Dichotomy: Rethinking Data and Services with...
PDF
Now You See Me, Now You Compute: Building Event-Driven Architectures with Apa...
PDF
Concepts and Patterns for Streaming Services with Kafka
PDF
Event Driven Services Part 2: Building Event-Driven Services with Apache Kafka
PPTX
Realtime stream processing with kafka
PDF
Leveraging Data in Motion | Jun Rao, Co-Founder, Confluent | Kafka Summit APA...
PDF
Apache Kafka® and Analytics in a Connected IoT World
PDF
Choose Right Stream Storage: Amazon Kinesis Data Streams vs MSK
PDF
Build a Bridge to Cloud with Apache Kafka® for Data Analytics Cloud Services
PDF
Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...
PPTX
Stream me to the Cloud (and back) with Confluent & MongoDB
PDF
Building event-driven Microservices with Kafka Ecosystem
PDF
Kafka Streams State Stores Being Persistent
PDF
Building a Secure, Tamper-Proof & Scalable Blockchain on Top of Apache Kafka ...
PDF
Bridge to Cloud: Using Apache Kafka to Migrate to AWS
PDF
Elastically Scaling Kafka Using Confluent
Event Streaming CTO Roundtable for Cloud-native Kafka Architectures
Real time data processing and model inferncing platform with Kafka streams (N...
Understanding the TCO and ROI of Apache Kafka & Confluent
Event Driven Architecture with a RESTful Microservices Architecture (Kyle Ben...
Kafka Summit NYC 2017 - The Data Dichotomy: Rethinking Data and Services with...
Now You See Me, Now You Compute: Building Event-Driven Architectures with Apa...
Concepts and Patterns for Streaming Services with Kafka
Event Driven Services Part 2: Building Event-Driven Services with Apache Kafka
Realtime stream processing with kafka
Leveraging Data in Motion | Jun Rao, Co-Founder, Confluent | Kafka Summit APA...
Apache Kafka® and Analytics in a Connected IoT World
Choose Right Stream Storage: Amazon Kinesis Data Streams vs MSK
Build a Bridge to Cloud with Apache Kafka® for Data Analytics Cloud Services
Streamsheets and Apache Kafka – Interactively build real-time Dashboards and ...
Stream me to the Cloud (and back) with Confluent & MongoDB
Building event-driven Microservices with Kafka Ecosystem
Kafka Streams State Stores Being Persistent
Building a Secure, Tamper-Proof & Scalable Blockchain on Top of Apache Kafka ...
Bridge to Cloud: Using Apache Kafka to Migrate to AWS
Elastically Scaling Kafka Using Confluent
Ad

Similar to The Future of Streaming: Global Apps, Event Stores and Serverless (20)

PDF
Big Data LDN 2018: THE FUTURE OF STREAMING: GLOBAL APPS, EVENT STORES AND SER...
PDF
Event Sourcing, Stream Processing and Serverless (Benjamin Stopford, Confluen...
PDF
[WSO2Con EU 2018] The Rise of Streaming SQL
PDF
Event Sourcing, Stream Processing and Serverless (Ben Stopford, Confluent) K...
PPTX
Implementing Analytics in High-Traffic Social Games
PDF
20141021 AWS Cloud Taekwon - Big Data on AWS
PDF
EDA Meets Data Engineering – What's the Big Deal?
PDF
Cloud Roundtable | Amazon Web Services: Key = Iteration
PDF
Path to the future #4 - Ingestão, processamento e análise de dados em tempo real
PDF
Real-time serverless analytics at Shedd – OLX data summit, Mar 2018, Barcelona
PDF
Event Driven Streaming Analytics - Demostration on Architecture of IoT
PPTX
Data Streaming with Apache Kafka & MongoDB
PDF
Event Stream Processing with Kafka and Samza
PDF
Cloud Experience: Data-driven Applications Made Simple and Fast
PPTX
Azure Stream Analytics : Analyse Data in Motion
PDF
Getting started with amazon kinesis
PDF
Analytics in Your Enterprise
PDF
dotScale 2017 Keynote: The Rise of Real Time by Neha Narkhede
PPTX
Snowplow Analytics: from NoSQL to SQL and back again
PDF
Transforming Mobile Push Notifications with Big Data
Big Data LDN 2018: THE FUTURE OF STREAMING: GLOBAL APPS, EVENT STORES AND SER...
Event Sourcing, Stream Processing and Serverless (Benjamin Stopford, Confluen...
[WSO2Con EU 2018] The Rise of Streaming SQL
Event Sourcing, Stream Processing and Serverless (Ben Stopford, Confluent) K...
Implementing Analytics in High-Traffic Social Games
20141021 AWS Cloud Taekwon - Big Data on AWS
EDA Meets Data Engineering – What's the Big Deal?
Cloud Roundtable | Amazon Web Services: Key = Iteration
Path to the future #4 - Ingestão, processamento e análise de dados em tempo real
Real-time serverless analytics at Shedd – OLX data summit, Mar 2018, Barcelona
Event Driven Streaming Analytics - Demostration on Architecture of IoT
Data Streaming with Apache Kafka & MongoDB
Event Stream Processing with Kafka and Samza
Cloud Experience: Data-driven Applications Made Simple and Fast
Azure Stream Analytics : Analyse Data in Motion
Getting started with amazon kinesis
Analytics in Your Enterprise
dotScale 2017 Keynote: The Rise of Real Time by Neha Narkhede
Snowplow Analytics: from NoSQL to SQL and back again
Transforming Mobile Push Notifications with Big Data
Ad

More from Ben Stopford (20)

PDF
Building Event Driven Services with Kafka Streams
PDF
NDC London 2017 - The Data Dichotomy- Rethinking Data and Services with Streams
PDF
Building Event Driven Services with Apache Kafka and Kafka Streams - Devoxx B...
PDF
Building Event Driven Services with Stateful Streams
PDF
Devoxx London 2017 - Rethinking Services With Stateful Streams
PDF
Event Driven Services Part 1: The Data Dichotomy
PDF
Event Driven Services Part 3: Putting the Micro into Microservices with State...
PDF
Strata Software Architecture NY: The Data Dichotomy
PDF
The Power of the Log
PDF
Streaming, Database & Distributed Systems Bridging the Divide
PDF
Data Pipelines with Apache Kafka
PDF
JAX London Slides
PDF
Microservices for a Streaming World
PDF
A little bit of clojure
PPTX
Big iron 2 (published)
PDF
The return of big iron?
PDF
Big Data & the Enterprise
PDF
Where Does Big Data Meet Big Database - QCon 2012
PPTX
Advanced databases ben stopford
PDF
Coherence Implementation Patterns - Sig Nov 2011
Building Event Driven Services with Kafka Streams
NDC London 2017 - The Data Dichotomy- Rethinking Data and Services with Streams
Building Event Driven Services with Apache Kafka and Kafka Streams - Devoxx B...
Building Event Driven Services with Stateful Streams
Devoxx London 2017 - Rethinking Services With Stateful Streams
Event Driven Services Part 1: The Data Dichotomy
Event Driven Services Part 3: Putting the Micro into Microservices with State...
Strata Software Architecture NY: The Data Dichotomy
The Power of the Log
Streaming, Database & Distributed Systems Bridging the Divide
Data Pipelines with Apache Kafka
JAX London Slides
Microservices for a Streaming World
A little bit of clojure
Big iron 2 (published)
The return of big iron?
Big Data & the Enterprise
Where Does Big Data Meet Big Database - QCon 2012
Advanced databases ben stopford
Coherence Implementation Patterns - Sig Nov 2011

Recently uploaded (20)

PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPT
Teaching material agriculture food technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
cuic standard and advanced reporting.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Spectral efficient network and resource selection model in 5G networks
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Dropbox Q2 2025 Financial Results & Investor Presentation
Teaching material agriculture food technology
Building Integrated photovoltaic BIPV_UPV.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
cuic standard and advanced reporting.pdf
NewMind AI Monthly Chronicles - July 2025
Unlocking AI with Model Context Protocol (MCP)
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Encapsulation theory and applications.pdf
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Per capita expenditure prediction using model stacking based on satellite ima...
“AI and Expert System Decision Support & Business Intelligence Systems”
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
The Rise and Fall of 3GPP – Time for a Sabbatical?
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Network Security Unit 5.pdf for BCA BBA.
Spectral efficient network and resource selection model in 5G networks

The Future of Streaming: Global Apps, Event Stores and Serverless