Slide 1

Slide 1 text

MicroServices meet Real World projects #javaland #innoQ www.innoQ.com

Slide 2

Slide 2 text

MicroServices meet Real World projects #javaland #innoQ www.innoQ.com

Slide 3

Slide 3 text

Alexander Heusingfeld [email protected] Senior Consultant @ innoQ @goldstift Tammo van Lessen [email protected] Principal Consultant @ innoQ @taval

Slide 4

Slide 4 text

Architecture Consulting...

Slide 5

Slide 5 text

“We want to have a microservice architecture!”

Slide 6

Slide 6 text

“We want to have a microservice architecture!” — Every Customer, 2015

Slide 7

Slide 7 text

When reviewing a monolithic application … © innoQ/Roman Stranghöner

Slide 8

Slide 8 text

…and taking a look into the black box… © innoQ/Roman Stranghöner

Slide 9

Slide 9 text

…you’ll likely find it consists of multiple Bounded Contexts. © innoQ/Roman Stranghöner

Slide 10

Slide 10 text

If you cut a monolithic system along its very domains …

Slide 11

Slide 11 text

… and wrap every domain in a separate, replaceable web application …

Slide 12

Slide 12 text

… then that application can be build as a self-contained system (SCS).

Slide 13

Slide 13 text

http://scs-architecture.org/ more information on self-contained systems (SCS) can be found at #javaland #innoQ

Slide 14

Slide 14 text

Architectural Decisions

Slide 15

Slide 15 text

Architectural Decisions > Domain Architecture

Slide 16

Slide 16 text

Architectural Decisions > Domain Architecture > Micro Architecture

Slide 17

Slide 17 text

Architectural Decisions > Domain Architecture > Macro Architecture > Micro Architecture

Slide 18

Slide 18 text

Isn't there more than that…

Slide 19

Slide 19 text

At a project meeting…

Slide 20

Slide 20 text

Did you think about the people 
 who make your architecture exist?

Slide 21

Slide 21 text

us vs. them

Slide 22

Slide 22 text

“Don’t care about this, it’s our business!” “Alarming is our concern, don’t bother about it!” “No need for a discussion, we always fix that during deployment.” “That’s part of the handover to operations.”

Slide 23

Slide 23 text

overcome “us vs. them”

Slide 24

Slide 24 text

overcome “us vs. them” > cross-functional != cross-department

Slide 25

Slide 25 text

overcome “us vs. them” > cross-functional != cross-department > have one manager to decide on a team’s targets

Slide 26

Slide 26 text

overcome “us vs. them” > cross-functional != cross-department > have one manager to decide on a team’s targets > don’t neglect team-building

Slide 27

Slide 27 text

overcome “us vs. them” > cross-functional != cross-department > have one manager to decide on a team’s targets > don’t neglect team-building > trust is not optional

Slide 28

Slide 28 text

well-known pros are subjective

Slide 29

Slide 29 text

“Operating a monolith is easier!”

Slide 30

Slide 30 text

Of course it’s easier…

Slide 31

Slide 31 text

It’s always easier for you… …if the complexity is on someone else’s desk.

Slide 32

Slide 32 text

“Operational costs are increased!”

Slide 33

Slide 33 text

Monolith

Slide 34

Slide 34 text

Microservices?

Slide 35

Slide 35 text

Microservices? smaller components!

Slide 36

Slide 36 text

Microservices? smaller components! • easier to test • quicker to automate • faster roundtrips

Slide 37

Slide 37 text

“Separating teams duplicates work!”

Slide 38

Slide 38 text

The manageable, domain specific scope enables the development, operation and maintenance of an SCS by an autonomous team. Team 1 Team 2 Team 3

Slide 39

Slide 39 text

share ideas share concepts don’t share functional code Team 1 Team 2 Team 3

Slide 40

Slide 40 text

“Deployments cannot be faster, 
 we have an established process!”

Slide 41

Slide 41 text

No content

Slide 42

Slide 42 text

No content

Slide 43

Slide 43 text

No content

Slide 44

Slide 44 text

What this taught us

Slide 45

Slide 45 text

What this taught us > enable fast feedback for your team

Slide 46

Slide 46 text

What this taught us > enable fast feedback for your team > automate what’s next to you first

Slide 47

Slide 47 text

What this taught us > enable fast feedback for your team > automate what’s next to you first > do your homework before you teach others

Slide 48

Slide 48 text

What this taught us > enable fast feedback for your team > automate what’s next to you first > do your homework before you teach others > other people will notice the benefits

Slide 49

Slide 49 text

What this taught us > enable fast feedback for your team > automate what’s next to you first > do your homework before you teach others > other people will notice the benefits > complex processes can be adopted, divide them and take one step at a time

Slide 50

Slide 50 text

summarized: change perspectives!

Slide 51

Slide 51 text

No content

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

http://izismile.com/2013/01/22/buyers_beware_its_a_matter_of_perspective_3_pics.html

Slide 54

Slide 54 text

A company which embraced and evolved

Slide 55

Slide 55 text

http://projectcartoon.com/cartoon/1

Slide 56

Slide 56 text

Summary #javaland #innoQ

Slide 57

Slide 57 text

Summary > distributed systems are hard - organizational impact, too #javaland #innoQ

Slide 58

Slide 58 text

Summary > distributed systems are hard - organizational impact, too > don't forget: there's always at least one other perspective #javaland #innoQ

Slide 59

Slide 59 text

Summary > distributed systems are hard - organizational impact, too > don't forget: there's always at least one other perspective > Don’t overwhelm people, change one thing at a time #javaland #innoQ

Slide 60

Slide 60 text

Summary > distributed systems are hard - organizational impact, too > don't forget: there's always at least one other perspective > Don’t overwhelm people, change one thing at a time > not everyone who wants microservices is immediately capable to establish them #javaland #innoQ

Slide 61

Slide 61 text

Tammo van Lessen | @taval [email protected] Alexander Heusingfeld | @goldstift [email protected] Thank you! Questions? Comments? innoQ Deutschland GmbH Krischerstr. 100 D-40789 Monheim am Rhein Germany Phone: +49 2173 3366-0 innoQ Schweiz GmbH Gewerbestr. 11 CH-6330 Cham Switzerland Phone: +41 41 743 0116 www.innoq.com Ohlauer Straße 43 D-10999 Berlin Germany Phone: +49 2173 3366-0 Ludwigstr. 180 E D-63067 Offenbach Germany Phone: +49 2173 3366-0 Kreuzstr. 16 D-80331 München Germany Telefon +49 2173 3366-0 https://www.innoq.com/en/talks/