spring cloud netflix oss
TRANSCRIPT
SPRING CLOUDNETFLIX OSS
+
HI! I'M STEVE HALLJava Developer since '98
@Centare since '11
Follow me @MarkOfHall
Let's connect on LinkedIn
NETFLIX ARCHITECTUREMulti-Region AWS Deployment
Java based Microservices style Architecture
Continuous Integration and Delivery pipeline
Tools and Libraries that reduce frictionDave Hahn: A Day in the Life of a Netflix Engineer
NETFLIX CULTUREFreedom and Responsiblity
DevOps Culture
Products not Projects
Pizza sized teams
Conway's Law (Inverse)
Adrian Cockcro : State of the Art in Microservices
WHAT'S A MICROSERVICE?
"A light-weight, loosely-coupled, service orientedarchitecture with bounded contexts" Adrian Cockcro
"Applications that fit in your head" James Lewis
"smart endpoints with dumb pipes" Martin Fowler
WHY MICROSERVICES?Scale Independently
Agility / Speed of change
Organizational Alignment / Team Structure
Polyglot
MICROSERVICE ENVYInfrastructure Automation / Config Management
DevOps / CI / CD Pipeline
Understand DDD
Adopt Consumer Driven Contract Testing
Semantic Monitoring
MICROSERVICES PREMIUM
Sometimes an app is an app.Martin Fowler: Microservices Premium
THINGS TO CONSIDERHow will we manage service configuration?
How will services find other services?
How will clients handle communication?
What happens when things fail?
How will we monitor our services?
NETFLIX OSSBig DataBuild and Delivery ToolsCommon Runtime Services &LibrariesData PersistenceInsight, Reliability and PerformanceSecurityUser Interface
SERVICES & LIBRARIESEureka : Service DiscoveryZuul : Request Router / APIGatewayRibbon : Client Side Load BalancingHystrix : Circuit BreakerTurbine : Event Stream Aggregator
SPRING CLOUD
"Spring Cloud provides tools for developers to quickly buildsome of the common patterns in distributed systems."
LET'S BUILD THIS!
LET'S BUILD THIS!
LET'S BUILD THIS!
LET'S BUILD THIS!
LET'S BUILD THIS!
LET'S BUILD THIS!
LET'S BUILD THIS!
LET'S BUILD THIS!
ACKNOWLEDGEMENTAdrianCockcroMartin FowlerSam NewmanJosh LongMatt Stine
WHAT'S NEXT?Serverless Services ?
AWS LamdaGoogle Cloud FunctionsAzure Functions
Terabyte Services ?AWS X1 Instance w/ 2TB ofMemory
QUESTIONS?
THANK YOU!
NETFLIX SCALEMulti-Region AWS deployment
100s of Java based Microservices
10,000s of EC2 instances
1000s of daily production deployments
100,000s customer interactions per minute
1,000,000s customers
1,000,000,000s of metrics
10,000,000,000s hour of content streamedDave Hahn: A Day in the Life of a Netflix Engineer
NETFLIX'S JOURNEY TO CLOUD2007 Begin Internet Streaming2008 Datacenter hardware failure2009 Start migration to AWS2010 First devices talking to AWS USEast2011-2012 European Deployments2013 US West 22013 Open Source Netflix OSS2015 Migration complete