Skip to content

Latest commit

 

History

History
49 lines (32 loc) · 1.85 KB

README.md

File metadata and controls

49 lines (32 loc) · 1.85 KB

Codeship Status for MrBW/resilient-transport-service

resilient-transport-service

Resilient demo application - Transport Service

Architecture: alt text

Flow: alt text

Slides from my talk @ JavaLand 2017 can be found at speakerdeck.com (German): https://speakerdeck.com/mrbw/hysterie-in-verteilten-systemen-hystrix-im-einsatz

How to run

Requirements

You have to install and run Docker for Mac or Windows on your system. By running mvn package, spotify maven plugin will create all Docker containers.

Docker for Mac: https://docs.docker.com/docker-for-mac/install/

Docker for Windows: https://docs.docker.com/docker-for-windows/install/

Steps

  • mvn clean package
  • docker-compose up etcd
  • run etcd-init.sh script from bash
  • docker-compose stop
  • docker-compose up

Demo

If docker-compose has started all requiered containers, you can send a valid booking request to our transport-api-gateway.

Booking request

Try to send a booking request, you will find a sample nodes.js script under: https://github.com/MrBW/resilient-transport-service/blob/master/scripts/booking-create.js

alt text

Chaos Monkey activation

A running and working system is boring, no failures or exceptions...we should activate our Chaos Monkey and get in some trouble.

alt text

...more details are coming...