SlideShare a Scribd company logo
The convergence of stream processing
& microservice architecture
√Deputy CTO, Lightbend
@viktorklang / v@lightbend.com / viktorklang.com
Flink Forward Berlin 2018: Viktor Klang - Keynote "The convergence of stream processing and microservice architecture"
Overview
History of Data Processing
4 Offline Batch processing
4 MapReduce
4 Lambda Architecture
History of Services
4 Client-Server
4 CORBA & DCOM
4 EJB & N-Tier
4 SOA & ESB
4 HTTP-API & REST
Today
Catch of the day
Live1
Stream Processing
&
Microservice Architecture
1 
Near real-time
Shared requirements:
4 Available
4 Elastically scalable
4 Resilient & self-healing
4 Loosely coupled & upgradeable
Reactive Systems2
Available (responsive), under failure (resilience) and
under load (elasticity), by being message-driven.
2 
https://www.reactivemanifesto.org/
Reactive Streams3
Provides a standard for asynchronous stream
processing with non-blocking back pressure.
3 
www.reactive-streams.com & java.util.concurrent.Flow (JDK9+)
Ingredients
4 Stream processing stages: Stateless & Stateful
4 Microservices: RPC-style & Evented
4 Domain Events with Schema/Codec
#define Events4
4 Immutable recordings of observations
4 Can be disregarded but not be retracted once accepted
4 Can be invalidated but (typically) not be deleted
4 Knowledge accrues with every processed event
4 
Learn more: https://speakerdeck.com/jboner/designing-events-first-microservices
Services (evented)
Realizationevented services are stream processing stages
The near future:
Convergence
Is this the solution?
4 Alice: So we we lift evented services into the stream
processing pipeline …
4 Bob: … and then we're done!
4 <record scratch>
4 Narrator: They're forgetting the request-reply use-
case which RPC services excel at.
Services (rpc)
The improved solution
4 lift the service into a stream stage
4 lift input Events into Commands and submit
4 capture responses & convert into output Events
What if we could
derive microservices
from data streams?
Ingestion
endpoints
Simple
Projection
endpoints
Complex
Projection
endpoints
Unification
4 Microservices are a part of a streaming pipeline
4 A pipeline can now be exposed as Microservices
4 We can independently upgrade parts of the pipeline
Developing converged applications
4 Deployment Orchestration
4 Events-First DDD & EventStorming
4 (Meta)Data-driven Continuous Deployment
4 Use of the right tools for each component
Beyond
Extend to
the Edges
End of stream
Explore what we do at Lightbend:
4 Lightbend Fast Data Platform
4 https://www.lightbend.com/products/fast-data-
platform
4 Lightbend Reactive Platform
4 https://www.lightbend.com/products/reactive-platform
4 Lightbend Enterprise Suite
4 https://www.lightbend.com/products/enterprise-suite
Thank you for attending!
The convergence of stream processing
& microservice architecture
√
Deputy CTO, Lightbend
@viktorklang / v@lightbend.com / viktorklang.com

More Related Content

PDF
Tuning Flink For Robustness And Performance
PDF
Flink Forward Berlin 2018: Ravi Suhag & Sumanth Nakshatrithaya - "Managing Fl...
PPTX
Flink Forward Berlin 2018: Oleksandr Nitavskyi - "Data lossless event time st...
PDF
Flink Forward Berlin 2018: Xiaowei Jiang - Keynote: "Unified Engine for Data ...
PPTX
Flink Forward Berlin 2018: Aljoscha Krettek & Till Rohrmann - Keynote: "A Yea...
PPTX
Flink Forward Berlin 2018: Timo Walther - "Flink SQL in Action"
PDF
Flink Forward Berlin 2018: Raj Subramani - "A streaming Quantitative Analytic...
PDF
Flink Forward Berlin 2018: Brian Wolfe - "Upshot: distributed tracing using F...
Tuning Flink For Robustness And Performance
Flink Forward Berlin 2018: Ravi Suhag & Sumanth Nakshatrithaya - "Managing Fl...
Flink Forward Berlin 2018: Oleksandr Nitavskyi - "Data lossless event time st...
Flink Forward Berlin 2018: Xiaowei Jiang - Keynote: "Unified Engine for Data ...
Flink Forward Berlin 2018: Aljoscha Krettek & Till Rohrmann - Keynote: "A Yea...
Flink Forward Berlin 2018: Timo Walther - "Flink SQL in Action"
Flink Forward Berlin 2018: Raj Subramani - "A streaming Quantitative Analytic...
Flink Forward Berlin 2018: Brian Wolfe - "Upshot: distributed tracing using F...

What's hot (20)

PPTX
Flink Forward San Francisco 2018 keynote: Srikanth Satya - "Stream Processin...
PDF
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
PDF
Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...
PDF
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
PDF
Flink Forward Berlin 2018: Xingcan Cui - "Stream Join in Flink: from Discrete...
PDF
Scaling stream data pipelines with Pravega and Apache Flink
PPTX
Flink Forward San Francisco 2018: - Jinkui Shi and Radu Tudoran "Flink real-t...
PDF
Monitoring Flink with Prometheus
PDF
Flink Forward San Francisco 2018: Dave Torok & Sameer Wadkar - "Embedding Fl...
PDF
Flink Forward San Francisco 2018: Gregory Fee - "Bootstrapping State In Apach...
PDF
Flink Forward San Francisco 2018: Andrew Torson - "Extending Flink metrics: R...
PDF
dA Platform Overview
PPTX
Flink Forward San Francisco 2018: David Reniz & Dahyr Vergara - "Real-time m...
PDF
Flink Forward Berlin 2017: Mihail Vieru - A Materialization Engine for Data I...
PDF
Flink Forward San Francisco 2018: Xu Yang - "Alibaba’s common algorithm platf...
PPTX
The Past, Present, and Future of Apache Flink
PPTX
A stream: Ad-hoc Shared Stream Processing - Jeyhun Karimov, DFKI GmbH
PDF
Flink Forward Berlin 2018: Shriya Arora - "Taming large-state to join dataset...
PDF
Running Flink in Production: The good, The bad and The in Between - Lakshmi ...
PPTX
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
Flink Forward San Francisco 2018 keynote: Srikanth Satya - "Stream Processin...
Flink Forward Berlin 2018: Krzysztof Zarzycki & Alexey Brodovshuk - "Assistin...
Flink Forward Berlin 2018: Wei-Che (Tony) Wei - "Lessons learned from Migrati...
Flink Forward Berlin 2018: Stephan Ewen - Keynote: "Unlocking the next wave o...
Flink Forward Berlin 2018: Xingcan Cui - "Stream Join in Flink: from Discrete...
Scaling stream data pipelines with Pravega and Apache Flink
Flink Forward San Francisco 2018: - Jinkui Shi and Radu Tudoran "Flink real-t...
Monitoring Flink with Prometheus
Flink Forward San Francisco 2018: Dave Torok & Sameer Wadkar - "Embedding Fl...
Flink Forward San Francisco 2018: Gregory Fee - "Bootstrapping State In Apach...
Flink Forward San Francisco 2018: Andrew Torson - "Extending Flink metrics: R...
dA Platform Overview
Flink Forward San Francisco 2018: David Reniz & Dahyr Vergara - "Real-time m...
Flink Forward Berlin 2017: Mihail Vieru - A Materialization Engine for Data I...
Flink Forward San Francisco 2018: Xu Yang - "Alibaba’s common algorithm platf...
The Past, Present, and Future of Apache Flink
A stream: Ad-hoc Shared Stream Processing - Jeyhun Karimov, DFKI GmbH
Flink Forward Berlin 2018: Shriya Arora - "Taming large-state to join dataset...
Running Flink in Production: The good, The bad and The in Between - Lakshmi ...
Flink Forward Berlin 2017 Keynote: Ferd Scheepers - Taking away customer fric...
Ad

Similar to Flink Forward Berlin 2018: Viktor Klang - Keynote "The convergence of stream processing and microservice architecture" (20)

PDF
Building Streaming And Fast Data Applications With Spark, Mesos, Akka, Cassan...
PDF
Streaming to a new Jakarta EE
PDF
Streaming to a New Jakarta EE
PDF
Stream Processing – Concepts and Frameworks
PDF
Lightbend Fast Data Platform
PDF
Introduction to Stream Processing
PDF
Introduction to Stream Processing
PDF
Introduction to Stream Processing
PDF
Unbundling the Modern Streaming Stack With Dunith Dhanushka | Current 2022
PDF
Streaming to a new Jakarta EE / JOTB19
PDF
Reactive Integrations - Caveats and bumps in the road explained
PDF
Data Streaming Technology Overview
PDF
Flink for Everyone: Self-Service Data Analytics with StreamPipes
PDF
Lightbend Fast Data Platform
PDF
Battle of the Stream Processing Titans – Flink versus RisingWave
PPTX
Cassandra Lunch #88: Cadence
PDF
Restate: Stream Processing, but for Microservices
PDF
The Future of Services: Building Asynchronous, Resilient and Elastic Systems
PDF
Get the Message Across: Seamlessly Transport Data to Apps, Anywhere
PDF
Introduction to Stream Processing
Building Streaming And Fast Data Applications With Spark, Mesos, Akka, Cassan...
Streaming to a new Jakarta EE
Streaming to a New Jakarta EE
Stream Processing – Concepts and Frameworks
Lightbend Fast Data Platform
Introduction to Stream Processing
Introduction to Stream Processing
Introduction to Stream Processing
Unbundling the Modern Streaming Stack With Dunith Dhanushka | Current 2022
Streaming to a new Jakarta EE / JOTB19
Reactive Integrations - Caveats and bumps in the road explained
Data Streaming Technology Overview
Flink for Everyone: Self-Service Data Analytics with StreamPipes
Lightbend Fast Data Platform
Battle of the Stream Processing Titans – Flink versus RisingWave
Cassandra Lunch #88: Cadence
Restate: Stream Processing, but for Microservices
The Future of Services: Building Asynchronous, Resilient and Elastic Systems
Get the Message Across: Seamlessly Transport Data to Apps, Anywhere
Introduction to Stream Processing
Ad

More from Flink Forward (20)

PDF
Building a fully managed stream processing platform on Flink at scale for Lin...
PPTX
Evening out the uneven: dealing with skew in Flink
PPTX
“Alexa, be quiet!”: End-to-end near-real time model building and evaluation i...
PDF
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
PDF
Introducing the Apache Flink Kubernetes Operator
PPTX
Autoscaling Flink with Reactive Mode
PDF
Dynamically Scaling Data Streams across Multiple Kafka Clusters with Zero Fli...
PPTX
One sink to rule them all: Introducing the new Async Sink
PPTX
Tuning Apache Kafka Connectors for Flink.pptx
PDF
Flink powered stream processing platform at Pinterest
PPTX
Apache Flink in the Cloud-Native Era
PPTX
Where is my bottleneck? Performance troubleshooting in Flink
PPTX
Using the New Apache Flink Kubernetes Operator in a Production Deployment
PPTX
The Current State of Table API in 2022
PDF
Flink SQL on Pulsar made easy
PPTX
Dynamic Rule-based Real-time Market Data Alerts
PPTX
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
PPTX
Processing Semantically-Ordered Streams in Financial Services
PDF
Tame the small files problem and optimize data layout for streaming ingestion...
PDF
Batch Processing at Scale with Flink & Iceberg
Building a fully managed stream processing platform on Flink at scale for Lin...
Evening out the uneven: dealing with skew in Flink
“Alexa, be quiet!”: End-to-end near-real time model building and evaluation i...
Introducing BinarySortedMultiMap - A new Flink state primitive to boost your ...
Introducing the Apache Flink Kubernetes Operator
Autoscaling Flink with Reactive Mode
Dynamically Scaling Data Streams across Multiple Kafka Clusters with Zero Fli...
One sink to rule them all: Introducing the new Async Sink
Tuning Apache Kafka Connectors for Flink.pptx
Flink powered stream processing platform at Pinterest
Apache Flink in the Cloud-Native Era
Where is my bottleneck? Performance troubleshooting in Flink
Using the New Apache Flink Kubernetes Operator in a Production Deployment
The Current State of Table API in 2022
Flink SQL on Pulsar made easy
Dynamic Rule-based Real-time Market Data Alerts
Exactly-Once Financial Data Processing at Scale with Flink and Pinot
Processing Semantically-Ordered Streams in Financial Services
Tame the small files problem and optimize data layout for streaming ingestion...
Batch Processing at Scale with Flink & Iceberg

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
cuic standard and advanced reporting.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Advanced Soft Computing BINUS July 2025.pdf
PPTX
Big Data Technologies - Introduction.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Approach and Philosophy of On baking technology
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Machine learning based COVID-19 study performance prediction
PPT
Teaching material agriculture food technology
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Advanced IT Governance
PPTX
Cloud computing and distributed systems.
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
The AUB Centre for AI in Media Proposal.docx
cuic standard and advanced reporting.pdf
Electronic commerce courselecture one. Pdf
Advanced Soft Computing BINUS July 2025.pdf
Big Data Technologies - Introduction.pptx
Spectral efficient network and resource selection model in 5G networks
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Approach and Philosophy of On baking technology
Empathic Computing: Creating Shared Understanding
Understanding_Digital_Forensics_Presentation.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Machine learning based COVID-19 study performance prediction
Teaching material agriculture food technology
Network Security Unit 5.pdf for BCA BBA.
Advanced IT Governance
Cloud computing and distributed systems.
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Bridging biosciences and deep learning for revolutionary discoveries: a compr...

Flink Forward Berlin 2018: Viktor Klang - Keynote "The convergence of stream processing and microservice architecture"