Talk from CorkDev.io meetup on Oct 13th 2015.
Longer version of similar talk available here: http://www.slideshare.net/PierreVincent3/microservices-docker-service-discovery-with-smartstack-english-version
Show of hands - Microservices, Docker - know about? use? in prod?
Summary
microservices, docker and deployment pipeline
problem of service discovery: service starting up discovering each other
our current solution: smartstack inside docker
quick demo
Internal Comms platform
Employee engagement (communicate, measure, adapt)
Large companies (vodafone, barclays, british gas…)
Small = responsible for 1 single thing
Loosely coupled = clearly defined interface, responsible for own data
Isolated failures = 1 service failure doesn’t bring the whole system down
Faster feedback = No large release trains
Docker
> build, ship and run distributed systems
> define and run containers, very lightweight VM, sharing the hosts kernel
Variable number of services
Short life-span
> How to locate the available services?
> How to balance requests to them?
> What happens when an instance disappear?