SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our User Agreement and Privacy Policy.
SlideShare uses cookies to improve functionality and performance, and to provide you with relevant advertising. If you continue browsing the site, you agree to the use of cookies on this website. See our Privacy Policy and User Agreement for details.
Successfully reported this slideshow.
Activate your 14 day free trial to unlock unlimited reading.
1.
AirBnB Service
Autodiscovery
Stockholm Python Meetup
Jun 16, 2016
2.
About me
Ilian Iliev
Platform Engineer
ilian@lifesum.com
www.ilian.io
3.
Starting as a monolith
● Easy at the beginning
● Hard to scale later
● Hard to detach apps
● Solution?
4.
Services
● Small(er)
● “Independent”
● Talking to each other
● Easier to deploy and scale
● Is SOA the ultimate solution?
5.
New problems
● Routing traffic to the correct service
● Adding and removing new instances to the pool
● What if an instance dies?
6.
A perfect solution requirements
● Routing
● Load balancing
● Health status
● Debug single node
● Introspection
● Safe to changes in the pool
● No single point of failure
7.
Suboptimal solutions
● DNS
● Central load balancing
● In App registration/discovery
8.
Smart stack
● Nerve - service registration
● Synapse - service discovery