AirBnB service auto discovery

3,480 views

Published on

Growing from single monolith app to service oriented architecture. The new problems and how AirBnB are doing service auto discovery.

Published in: Software
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,480
On SlideShare
0
From Embeds
0
Number of Embeds
2,933
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

AirBnB service auto discovery

  1. 1. AirBnB Service Autodiscovery Stockholm Python Meetup Jun 16, 2016
  2. 2. About me Ilian Iliev Platform Engineer ilian@lifesum.com www.ilian.io
  3. 3. Starting as a monolith ● Easy at the beginning ● Hard to scale later ● Hard to detach apps ● Solution?
  4. 4. Services ● Small(er) ● “Independent” ● Talking to each other ● Easier to deploy and scale ● Is SOA the ultimate solution?
  5. 5. New problems ● Routing traffic to the correct service ● Adding and removing new instances to the pool ● What if an instance dies?
  6. 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. 7. Suboptimal solutions ● DNS ● Central load balancing ● In App registration/discovery
  8. 8. Smart stack ● Nerve - service registration ● Synapse - service discovery
  9. 9. Nerve
  10. 10. Synapse
  11. 11. Benefits ● Immediate discovery ● Problem are detected on small intervals ● Easy to debug ● Introspection ● Distributed infrastructure
  12. 12. The future ● Zookeeper is still critical ● Dynamic Nerve config
  13. 13. Questions?

×