Camunda Con Live 2020 Keynote - Microservice Orchestration and Integration
BerndRuecker
1,852 views
55 slides
Apr 24, 2020
Slide 1 of 55
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
About This Presentation
Slides from my talk at Camunda Con Live on 24th of April 2020 about orchestrating and integrating microservices and the connection of choreography, observability and workflow automation
Size: 2.74 MB
Language: en
Added: Apr 24, 2020
Slides: 55 pages
Slide Content
1
Microservices Orchestration
and Integration
using Workflow Automation
Bernd Ruecker
Co-Founder and Chief Technologist
Service
A
Microservices
@berndruecker
Monolith
Service
B
Service
C
C
B
A
D
Change istheonlyconstant
„
Wedon‘tknowwhatwewill needtomorrow.
But wedo knowthatwewill needsomething.
Wehavetobeabletomovequickly!
CIO ofan insurancecompanyin 2019
Service
A
AutonomousMicroservices
@berndruecker
Service
B
Service
C
The eraofAPIs
API
API
API
API
API
API
API
API
@berndruecker
The eraofAPIs
API
API
API
API
API
API
API
External Services
Standard Software
API
Functions
@berndruecker
Connectingthedots…
API
API
API
API
API
API
API
Microservices
External Services
Standard Software
API
Functions
@berndruecker
Example
@berndruecker
Example
Payment
Seat
Reservation
Booking
Ticket
Generation
Order
Placed
Payment
Received
Goods
Fetched
Notification
Checkout
Payment
Inventory
Shipment
Event-drivenarchitecture
@berndruecker
Peer-to-peereventchains
Checkout
Payment
Inventory
Shipment
Order
placed
Payment
received
Goods
shipped
Goods
fetched
@berndruecker
Peer-to-peereventchains
Checkout
Payment
Inventory
Shipment
Order
placed
Payment
received
Goods
shipped
Goods
fetched
@berndruecker
The danger is that it's very easy to
make nicely decoupled systems with
event notification, without realizing
that you're losing sight of that larger-
scale flow, and thus set yourself up for
trouble in future years.
https://martinfowler.com/articles/201701-event-driven.html
@berndruecker
The danger is that it's very easy to
make nicely decoupled systems with
event notification, without realizing
that you're losing sight of that larger-
scale flow, and thus set yourself up for
trouble in future years.
https://martinfowler.com/articles/201701-event-driven.html
@berndruecker
The danger is that it's very easy to
make nicely decoupled systems with
event notification, without realizing
that you're losing sight of that larger-
scale flow, and thus set yourself up for
trouble in future years.
https://martinfowler.com/articles/201701-event-driven.html
@berndruecker
ProcessEvents Monitoring
Camunda
Optimize
Order
placed
Payment
received
Goods
fetched
Goods
shipped
@berndruecker
Order
placed
Payment
received
Goods
fetched
Goods
shipped
Demo
Peer-to-peereventchains
Checkout
Payment
Inventory
Shipment
Order
placed
Payment
received
Goods
shipped
Goods
fetched
@berndruecker
Peer-to-peereventchains
Checkout
Payment
Inventory
Shipment
Order
placed
Payment
received
Goods
shipped
Goods
fetched
Fetchthegoods
beforethe
payment
@berndruecker
Peer-to-peereventchains
Checkout
Payment
Inventory
Shipment
Goods
fetched
Order
placed
Payment
received
Goods
shipped
@berndruecker
Whatwewanted
Photo by LijianZhang, availableunderCreative Commons SA 2.0 Licenseand P..19/ CC BY-SA 4.0
@berndruecker
Order
Extracttheend-to-end responsibility
Checkout
Payment
Inventory
ShipmentPayment
received
Order
placed
Retrieve
payment
@berndruecker
Order
Events & Commands
Checkout
Payment
Inventory
ShipmentPayment
received
Order
placed
Retrieve
payment
@berndruecker
Event
Command
Fact,
happened in the past,
immutable
Intend,
Want s.th. to happen
Order
Itisnot abouttheprotocol!
Checkout
Payment
Inventory
Shipment
Order
placed
Retrieve
payment
Itcanstill bemessaging!
@berndruecker
Order
Itisaboutwheretodecideaboutthecoupling!
Checkout
Payment
Inventory
Shipment
Order
placed
Retrieve
payment
Order decides
. tolisten totheevent
. toissuethecommand
@berndruecker
Order
Checkout
Payment
Inventory
Shipment
Demo
One of the largest online fashion retailers
in the world (> 14.000 employees) does
everyorder fulfillment worldwide
withCamunda & Kafka
@berndruecker
Workflows live insideserviceboundaries
@berndruecker