Slide 1

Slide 1 text

Awesome Tools to Level Up Your Spring Cloud Architecture Andreas Evers @andreasevers

Slide 2

Slide 2 text

No content

Slide 3

Slide 3 text

No content

Slide 4

Slide 4 text

ZUUL EUREKA CONFIG SERVER SPRING BOOT µS HYSTRIX DASHBOARD TURBINE CONFIG BUS DATA FLOW ZIPKIN (SLEUTH) ATLAS TASK STREAM

Slide 5

Slide 5 text

ZUUL EUREKA CONFIG SERVER SPRING BOOT µS HYSTRIX DASHBOARD TURBINE SPRING BOOT ADMIN MICROSERVICES DASHBOARD SPINNAKER CONFIG BUS DATA FLOW ZIPKIN (SLEUTH) ATLAS TASK PROMETHEUS CONTRACT REST DOCS SONAR / OWASP / … WIREMOCK TROUBLEMAKER ELK STREAM SABOTEUR

Slide 6

Slide 6 text

No content

Slide 7

Slide 7 text

No content

Slide 8

Slide 8 text

No content

Slide 9

Slide 9 text

No content

Slide 10

Slide 10 text

No content

Slide 11

Slide 11 text

No content

Slide 12

Slide 12 text

No content

Slide 13

Slide 13 text

No content

Slide 14

Slide 14 text

No content

Slide 15

Slide 15 text

No content

Slide 16

Slide 16 text

No content

Slide 17

Slide 17 text

No content

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

No content

Slide 20

Slide 20 text

No content

Slide 21

Slide 21 text

No content

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

https://ordina-jworks.github.io/monitoring/2016/09/23/Monitoring-with-Prometheus.html

Slide 24

Slide 24 text

No content

Slide 25

Slide 25 text

Graphite InfluxDB OpenTSDB NewRelic AppDynamics Dynatrace https://prometheus.io/docs/introduction/comparison/

Slide 26

Slide 26 text

No content

Slide 27

Slide 27 text

No content

Slide 28

Slide 28 text

No content

Slide 29

Slide 29 text

No content

Slide 30

Slide 30 text

Modelling Microservices at Spotify by Petter Måhlén https://www.youtube.com/watch?v=7XDA044tl8k

Slide 31

Slide 31 text

What’s the compliancy & maturity of the services? How can I accommodate recruitment & knowledge sharing? What is the technical debt of the services? Which teams do I need to chase? Are budget & priorities in line with the architectural goals? How do I manage change in a DevOps organisation? “

Slide 32

Slide 32 text

What functionality can I reuse? Which resources are exposed by what services? Which events & messages are sent back and forth? Which services are impacted by a change? How does a functional flow travel through the layers of the architecture? What is coming up, & can I define the future state of the ecosystem? “

Slide 33

Slide 33 text

Which versions are deployed where? Are my deployments successful? Which versions do my dependencies have? Where can I find everything related to my services? “

Slide 34

Slide 34 text

No content

Slide 35

Slide 35 text

No content

Slide 36

Slide 36 text

No content

Slide 37

Slide 37 text

No content

Slide 38

Slide 38 text

No content

Slide 39

Slide 39 text

No content

Slide 40

Slide 40 text

No content

Slide 41

Slide 41 text

SABOTEUR WIREMOCK

Slide 42

Slide 42 text

HTTP 500 Random Data Malformed Data Empty Response Total Network Partition Remote Service Not Listening to Port Packet Loss TCP Connection Timeout (~ firewall)

Slide 43

Slide 43 text

Six principles for building fault tolerant microservices on the JVM by Christopher Batey https://www.youtube.com/watch?v=dKWNZnuZhd0

Slide 44

Slide 44 text

No content

Slide 45

Slide 45 text

No content

Slide 46

Slide 46 text

No content

Slide 47

Slide 47 text

Returns 10 properties Uses property 1-2

Slide 48

Slide 48 text

Uses property 1-2 Uses property 3-4 Uses property 3-5 Uses property 4-5 Returns 10 properties

Slide 49

Slide 49 text

Returns 10 properties Uses property 1-2 Consumer 1 uses property 1-2 PR

Slide 50

Slide 50 text

Returns 10 properties Uses property 1-2

Slide 51

Slide 51 text

Sonarqube / OWASP / FindSecBugs / …

Slide 52

Slide 52 text

No content

Slide 53

Slide 53 text

No content

Slide 54

Slide 54 text

generated snippets manually written template generated HTML integration tests

Slide 55

Slide 55 text

interface CompactView{}; class Car { @JsonView(CompactView.class) private String brand; private int doors; ... } @RestController class CarController { @JsonView(CompactView.class) @GetMapping("/car") public String getCar() { return new Car("BMW", 5); } }

Slide 56

Slide 56 text

interface V1{}; interface V2{}; class Car { @JsonView(V1.class) private String brand; @JsonView(V2.class) private int doors; ... }

Slide 57

Slide 57 text

@RestController class CarController { @GetMapping(path = "/car", produces = "application/vnd.pvt.car.v1+json") @JsonView(V1.class) public String getCarV1() { return new Car("BMW", 5); } @GetMapping(path = "/car", produces = "application/vnd.pvt.car.v2+json") @JsonView(V2.class) public String getCarV2() { return new Car("BMW", 5); } }

Slide 58

Slide 58 text

No content

Slide 59

Slide 59 text

No content

Slide 60

Slide 60 text

No content

Slide 61

Slide 61 text

No content

Slide 62

Slide 62 text

AWS re:Invent 2016: Multi-Region Delivery Netflix Style (DEV311) by Andy Glover https://www.youtube.com/watch?v=1HiilTXQo4w

Slide 63

Slide 63 text

ZUUL EUREKA CONFIG SERVER SPRING BOOT µS HYSTRIX DASHBOARD TURBINE SPRING BOOT ADMIN MICROSERVICES DASHBOARD SPINNAKER CONFIG BUS DATA FLOW ZIPKIN (SLEUTH) ATLAS TASK PROMETHEUS CONTRACT REST DOCS SONAR / OWASP / … WIREMOCK TROUBLEMAKER ELK STREAM SABOTEUR

Slide 64

Slide 64 text

ZUUL SPRING CLOUD SERVICES SPRING CLOUD SERVICES SPRING BOOT µS SPRING CLOUD SERVICES SPRING CLOUD SERVICES PCF APPS MANAGER MICROSERVICES DASHBOARD CONCOURSE, SPINNAKER CONFIG BUS DATA FLOW ZIPKIN (SLEUTH) ATLAS TASK PCF METRICS* CONTRACT REST DOCS SONAR / OWASP / … WIREMOCK TROUBLEMAKER PCF LOG SEARCH PCF METRICS* STREAM SABOTEUR

Slide 65

Slide 65 text

No content

Slide 66

Slide 66 text

66 @spring_io #springio17 TWITTER: twitter.com/andreasevers TECH BLOG: ordina-jworks.github.io DEMO ENVIRONMENT: TVH: www.tvh.com