Top Banner
Microservices with Camunda [email protected] | @berndruecker Co-Founder & Developer Advocate
31

Roadshow 2018 - Microservices mit Camunda

Jan 29, 2018

Download

Technology

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Roadshow 2018 - Microservices mit Camunda

Microservices with Camunda

[email protected] | @berndruecker

Co-Founder & Developer Advocate

Page 2: Roadshow 2018 - Microservices mit Camunda

What I do not need to talk about today:

AirBnb, Uber, Ebay, Deliveroo, …Lemonde, PayPal, N26, …Tesla, …Amazon, Google, Apple, …

Page 3: Roadshow 2018 - Microservices mit Camunda

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.

Page 4: Roadshow 2018 - Microservices mit Camunda

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

Page 5: Roadshow 2018 - Microservices mit Camunda

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

Page 6: Roadshow 2018 - Microservices mit Camunda

Photo by born1945, available under Creative Commons BY 2.0 license.

Page 7: Roadshow 2018 - Microservices mit Camunda

Basic idea of dedicated, autonomous (micro-) services

Checkout

Payment

Inventory

Shipment

Dedicated Application Process

Dedicated Persistence Backend

Dedicated Ownership & Dev Team

Page 8: Roadshow 2018 - Microservices mit Camunda

So that‘s what I do not need to talk abouttoday…

…I want to talk about what this means forworkflow automation and BPM.

Page 9: Roadshow 2018 - Microservices mit Camunda

Workflow automation in „the serverless age“

# More use cases# Different way to think about BPM

Page 10: Roadshow 2018 - Microservices mit Camunda

The complexity moves to the collaboration of services

Checkout

Payment

Inventory

Shipment

A lot of services

Page 11: Roadshow 2018 - Microservices mit Camunda

Distributed systems

Page 12: Roadshow 2018 - Microservices mit Camunda

Checkout

Payment

Inventory

Shipment

Typical solution approaches:- Circuit breaker- Bulkheads- Service Mesh- … Fail fast

- No distributed transactions

Page 13: Roadshow 2018 - Microservices mit Camunda
Page 14: Roadshow 2018 - Microservices mit Camunda

Better! This can takedays to complete!

HTTP: 202 - ACCEPTED

HTTP: 200 - OK

Page 15: Roadshow 2018 - Microservices mit Camunda

Checkout

Payment

Inventory

Shipment

- No distributed transactions

2007

Page 16: Roadshow 2018 - Microservices mit Camunda

BPMN

Page 17: Roadshow 2018 - Microservices mit Camunda

Persistent state handling for long running behavior

Page 18: Roadshow 2018 - Microservices mit Camunda

Workflow automation in „the serverless age“

# More use cases# Different way to think about BPM

Page 19: Roadshow 2018 - Microservices mit Camunda

Not only but also at scale

Page 20: Roadshow 2018 - Microservices mit Camunda

BPM architecture - the traditional view

BPM This is an Anti-Pattern in microservice architectures!

Page 21: Roadshow 2018 - Microservices mit Camunda

Workflows live inside service boundaries

In DDD: BoundedContexts

Page 22: Roadshow 2018 - Microservices mit Camunda

Workflows live inside service boundaries

The busines process asfirst class citizen

Page 23: Roadshow 2018 - Microservices mit Camunda

Finally!

Page 24: Roadshow 2018 - Microservices mit Camunda

Example

InventoryPaymentOrder ShippingCheckout Monitor

https://github.com/flowing/flowing-retail/

Human Tasks

H2 H2

Page 25: Roadshow 2018 - Microservices mit Camunda

Good workflow technology

is lightweight and flexible*

and thus can also run decentralized

*think of it as a library

Page 26: Roadshow 2018 - Microservices mit Camunda

Reality Check

Page 27: Roadshow 2018 - Microservices mit Camunda
Page 28: Roadshow 2018 - Microservices mit Camunda

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%

Page 29: Roadshow 2018 - Microservices mit Camunda
Page 30: Roadshow 2018 - Microservices mit Camunda

Thank you!

Page 31: Roadshow 2018 - Microservices mit Camunda

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