Two of the main software architectural trends in software development this decade has been the move to streaming data processing, and the move to microservice architecture.
Both of these architectures are driven by the needs of managing and mining knowledge from ever increasing volumes of data in a close to real-time fashion—all while being reactive: responsive under failure, and responsive under load. I'm here to tell you that these two trends are converging, and a fusion of the two is both logical and inevitable. In this session we will talk about what a fused approach to stream processing and microservices could look like, what opportunities exist—what software development for business software can look like in the following decade.
10. Reactive Streams3
Provides a standard for asynchronous stream
processing with non-blocking back pressure.
3
www.reactive-streams.com & java.util.concurrent.Flow (JDK9+)
12. #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
16. 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.
18. 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
19. What if we could
derive microservices
from data streams?
23. 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
24. 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
28. 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
29. Thank you for attending!
The convergence of stream processing
& microservice architecture
√
Deputy CTO, Lightbend
@viktorklang / v@lightbend.com / viktorklang.com