that there stage? Intros Igor Serebryany + SRE at Airbnb since 2012 + Built datacenter automation at SingleHop + Scientific computing at University of Chicago + Hobbies: welding, biking, long walks on the beach 2
is even more bearded than the last! Intros Martin Rhoads + SRE at Airbnb + user of AWS since 2006 + First 10 employees at RightScale + Previously worked at Cloudscaling deploying OpenStack at Tier1’s and Telcos + BioInformatics at UCSB + Obsessed with making things easier 3
an SOA? + The definitive way to scale your architecture + Allow different people to work on different code without stepping on toes + Separate deployment schedules + Separate machine and data requirements + Fail separately -- so you can have graceful degradation 5
to track everything ZOOKEEPER 3 Nerve checks health and updates Zookeeper NERVE 4 Synapse routes between services SYNAPSE SERVICE ZOOKEEPER NERVE SYNAPSE
get myriad benefits from haproxy + Stable and well-tested + Performs in-process connectivity checks + Great introspection and logging + Lots of load-balancing algorithms (RR, least-conn) + Somewhat dynamically reconfigurable (stats socket) + Did we mention stable? At the core of synapse 18
is always doing discovery/registration + Your application doesn’t know about nerve/synapse -- it only knows about it’s dependencies + Always consistent across your infrastructure
Bad backends are automatically taken out of rotation + Useful during both problems and routine maintenance/deploys + Push-based => very rapid detection; avoid those little blips + haproxy even routes around network partitions! 22
haproxy + status page that lets you see local state + lots of available integrations to gather global state + world-class logging for large-scale analysis 23
flows directly between boxes -- no routing layer + Even if SmartStack is stopped or broken, haproxy keeps traffic flowing + Zookeeper helps to avoid common pitfalls (like different backends in different network segments) 24
services – and quit smoking” Phillippe: “Distributed computing? And all this time I thought everything was running on one machine” Nelson: “I would give you a quote... except that my praise for SmartStack would test the limits of my credibility. :)” Spike : “Nerve and Synapse have greatly simplified my life as an application developer, and have enabled me to launch our first Node.js services with very little ops overhead.” Barbara: “I love it!” Sean: “Smart Stack has made deployment of new java services a matter of beer and 20 lines of ruby” Our engineers love SmartStack Like, a platonic kind of love
3 4 Better resiliency: more graceful handling of zookeeper edge cases Better testing: improve on the current integration test suite Dynamic registration: for services running on Mesos et. al. A push API for nerve: allow services to communicate coming downtime 5 An auto-scaling layer: use nerve information to determine load levels