What I do not need to talk about today:
AirBnb, Uber, Ebay, Deliveroo, …Lemonde, PayPal, N26, …Tesla, …Amazon, Google, Apple, …
Software is eating the world.
Marc Andreessen, Entrepreneur & Investor2011 in „The Wall Street Journal“
„
Photo by techcrunch, available under Creative Commons BY 2.0 license.
to pivot | pivoted, pivoted | [Tech]
50 percent of IoT solutions (typically a
product combined with a service) will originate in startups that are less than three years old.
Gartner
„
If you are not embarrassed by the first version of your product, you’ve launched too late.
Reid Hoffman, Co-Founder LinkedIn (and others)
„
Photo by joi, available underCreative Commons BY 2.0 license
Photo by born1945, available under Creative Commons BY 2.0 license.
Basic idea of dedicated, autonomous (micro-) services
Checkout
Payment
Inventory
Shipment
Dedicated Application Process
Dedicated Persistence Backend
Dedicated Ownership & Dev Team
So that‘s what I do not need to talk abouttoday…
…I want to talk about what this means forworkflow automation and BPM.
Workflow automation in „the serverless age“
# More use cases# Different way to think about BPM
The complexity moves to the collaboration of services
Checkout
Payment
Inventory
Shipment
A lot of services
Distributed systems
Checkout
Payment
Inventory
Shipment
Typical solution approaches:- Circuit breaker- Bulkheads- Service Mesh- … Fail fast
- No distributed transactions
Better! This can takedays to complete!
HTTP: 202 - ACCEPTED
HTTP: 200 - OK
Checkout
Payment
Inventory
Shipment
- No distributed transactions
2007
BPMN
Persistent state handling for long running behavior
Workflow automation in „the serverless age“
# More use cases# Different way to think about BPM
Not only but also at scale
BPM architecture - the traditional view
BPM This is an Anti-Pattern in microservice architectures!
Workflows live inside service boundaries
In DDD: BoundedContexts
Workflows live inside service boundaries
The busines process asfirst class citizen
Finally!
Example
InventoryPaymentOrder ShippingCheckout Monitor
https://github.com/flowing/flowing-retail/
Human Tasks
H2 H2
Good workflow technology
is lightweight and flexible*
and thus can also run decentralized
*think of it as a library
Reality Check
Zalando
Sales-Order and
Order-Fulfillment
via Camunda
for every order worldwide
Orders Q2-2017: 22,2 Mio.
Sales 2016: 3,6 Mrd. EUR
Growth 2016: 23%
Thank you!
Contact:[email protected]
@berndruecker
Slides:https://bernd-ruecker.com
Blog:https://blog.bernd-ruecker.com
Code online:https://github.com/flowing
https://www.infoq.com/articles/events-workflow-automation With thoughts from http://flowing.io
@berndruecker | @martinschimak