SlideShare a Scribd company logo
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Growth
Web UI / Front End API 
Middle Tier 
MySQL 
Data Center
Regional Load Balancers Regional Load Balancers
API or Web Calls 
memcached 
Cassandra 
Web service 
S3 bucket
We’re here to help you get to global scale… 
Apache Licensed Cloud Native OSS 
http://netflix.github.com
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Web App 
Front End 
(REST 
services) 
Micro service Implementation 
Hystrix Call “Auth Service” 
Ribbon REST client 
Eureka 
Server(s) 
App Service 
(auth-service) 
with Eureka 
Fallback 
Implementation Karyon
Karyon Eureka 
Ribbon 
Hystrix
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Hardware Will Fail 
Slowly Changing 
Large Scale 
Speed 
Everything Is Broken 
Rapid Change 
Large Scale 
Everything Works 
Slowly Changing 
Small Scale 
Hardware Will Fail 
Rapid Change 
Small Scale 
Scale
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Regional Load Balancers Regional Load Balancers
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Web App 
Front End 
(REST 
services) 
Micro service Implementation 
Hystrix Call “Auth Service” 
Ribbon REST client 
Eureka 
Server(s) 
App Service 
(auth-service) 
with Eureka 
Fallback 
Implementation Karyon
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Client 
A 
p 
a 
c 
h 
e 
Server (Karyon) 
HTTP Admin Console 
Eureka (Service 
Registry) 
Apache 
Tomcat 
Ribbon 
Load 
Balancing 
Metrics 
(Servo) 
Eureka 
Integration 
Bootstrapping (Governator) 
Metrics (Servo) 
Eureka Integration 
Registration 
Fetch Registry 
H 
T 
T 
P 
C 
L 
I 
E 
N 
T 
H 
y 
s 
t 
r 
i 
x 
EV 
Cac 
h 
e
Client (Ribbon 2.0) Server (Karyon) 
Admin Console 
Eureka (Service 
Registry) 
Ribbon Transport 
Load 
Balancing 
Metrics 
(Servo) 
Eureka 
Integration 
Bootstrapping (Governator) 
Metrics (Servo) 
HTTP 
Eureka Integration 
Registration 
Fetch Registry 
Ribbon 
Hystrix 
EVCache 
Rx 
Ne 
t 
t 
y 
RxNetty 
UDP 
TCP 
WebSockets 
SSE
@ArchaiusBootstrap 
@KaryonBootstrap(name 
= 
"hello-­‐netflix-­‐oss") 
@Modules(include 
= 
{HelloNossApp.KaryonJerseyModuleImpl.class, 
KaryonWebAdminModule.class, 
KaryonEurekaModule.class}) 
public 
final 
class 
HelloNossApp 
{ 
public 
static 
class 
KaryonJerseyModuleImpl 
extends 
KaryonJerseyModule 
{ 
protected 
void 
configure() 
{ 
super.configure(); 
bind(AuthenticationService.class).to(AuthenticationServiceImpl.class); 
} 
public 
int 
serverPort() 
{ 
return 
8888; 
} 
public 
int 
shutdownPort() 
{ 
return 
8899; 
} 
public 
void 
configureInterceptors(GovernatorHttpInterceptorSupport<ByteBuf, 
ByteBuf> 
interceptorSupport) 
{ 
interceptorSupport.forUri("/hello").interceptIn(AuthInterceptor.class); 
} 
} 
}
interface 
@Http(method 
= 
HttpMethod.GET, 
uriTemplate="/users/{userId}/recommendations") 
@Hystrix(fallbackHandler 
= 
RecommendationFallbackHandler.class) 
@EvCache(name 
= 
"movie-­‐rec", 
appName 
= 
"movieService", 
cacheKeyTemplate 
= 
"{userId}") 
recommendationsByUserId @Var "userId" 
MovieService 
movieService 
= 
Ribbon.from(MovieService.class); 
Observable<Recommendations> 
result 
= 
movieService.recommendationsByUserId(“user1”) 
.toObservable();
createHttpResourceGroup "movieService" 
newRequestTemplate "recommendationsByUserId" 
"GET" 
"/users/{userId}/recommendations" 
requestBuilder 
"userId" “user1”
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Regional Load Balancers 
Zuul – Traffic Shaping/Routing 
AZ1 AZ2 AZ3 
Data Data Data 
Geo-located 
Chaos Kong 
Chaos Kong 
Regional Load Balancers 
Zuul – Traffic Shaping/Routing 
AZ1 AZ2 AZ3 
Data Data Data 
Customer 
Device
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
A/B Test 
Engine 
Personalization 
Engine User Info Movie 
Metadata 
Movie 
Ratings 
Similar 
Movies 
API 
Reviews
A/B Test 
Engine 
Personalization 
API 
Similar 
Movies Reviews User 
Info 
Engine User Info Movie 
Metadata 
Movie 
Ratings
A/B Test 
Engine 
Personalization 
Engine 
API 
User 
Movie 
Movie 
Similar 
Info 
Metadata 
Ratings 
Movies Reviews
User 
Info 
API 
A/B Test 
Engine 
Personalization 
Engine 
Movie 
Metadata 
Movie 
Ratings 
Similar 
Movies Reviews
A/B Test 
Engine 
Personalization 
Engine 
API 
User 
Movie 
Movie 
Similar 
Info 
Metadata 
Ratings 
Movies Reviews
Dev309  from asgard to zuul - netflix oss-final
User Info 
API 
A/B Test 
Engine 
Personalization 
Engine 
Movie 
Metadata 
Movie 
Ratings 
Similar 
Movies Reviews
A/B Test 
Engine 
Personalization 
Engine 
API 
User 
Movie 
Movie 
Similar 
Info 
Metadata 
Ratings 
Movies Reviews
Personaliza 
tion Engine 
User 
Info 
Movie 
Metadata 
Movie 
Ratings 
Similar 
Movies 
API 
Reviews A/B Test 
Engine
Personaliza 
tion Engine 
User 
Info 
Movie 
Metadata 
Movie 
Ratings 
Similar 
Movies 
API 
Reviews A/B Test 
Engine 
Fallback
Personaliza 
tion Engine 
User 
Info 
Movie 
Metadata 
Movie 
Ratings 
Similar 
Movies 
API 
Reviews A/B Test 
Engine 
Fallback
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
+ 
Scumblr Sketchy
Dev309  from asgard to zuul - netflix oss-final
‒ 
‒ 
‒ 
‒ 
‒ 
‒ 
‒
Dev309  from asgard to zuul - netflix oss-final
http://netflix.github.com
https://github.com/Answers4AWS/netflixoss-ansible/wiki/AMIs-for-NetflixOSS 
http://answersforaws.com/resources/netflixoss/cloudformation/
https://github.com/Netflix-Skunkworks/zerotodocker 
https://hub.docker.com/u/netflixoss/
Dev309  from asgard to zuul - netflix oss-final
Mac OS X 
Virtual Box 
Ubuntu 14.04 
single kernel 
Container #1 
Filesystem + process 
Eureka 
Container 
Zuul 
Container 
... 
Another 
Container
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Talk Time Title
http://netflix.github.com
@NetflixOSS 
http://netflix.github.com
Please give us your feedback on this 
presentation

More Related Content

PDF
Netflix oss season 2 episode 1 - meetup Lightning talks
PDF
Netflix Open Source Meetup Season 4 Episode 2
PDF
Netflix Cloud Platform and Open Source
PDF
20140708 - Jeremy Edberg: How Netflix Delivers Software
PPTX
Scala at Netflix
PDF
Netflix Open Source Meetup Season 3 Episode 2
PDF
Netflix Open Source Meetup Season 4 Episode 1
PDF
How Netflix does Microservices
Netflix oss season 2 episode 1 - meetup Lightning talks
Netflix Open Source Meetup Season 4 Episode 2
Netflix Cloud Platform and Open Source
20140708 - Jeremy Edberg: How Netflix Delivers Software
Scala at Netflix
Netflix Open Source Meetup Season 3 Episode 2
Netflix Open Source Meetup Season 4 Episode 1
How Netflix does Microservices

What's hot (20)

PDF
NetflixOSS and ZeroToDocker Talk
PPTX
Cloudsolutionday 2016: Getting Started with Severless Architecture
PDF
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
PPTX
Better Kafka Performance Without Changing Any Code | Simon Ritter, Azul
PPTX
Cloudsolutionday 2016: Docker & FAAS at getvero.com
PPTX
Meetup #3: Migrating an Oracle Application from on-premise to AWS
PDF
AWS reInvent 2016 recap Taiwan
PPTX
Encrypting Kafka messages at rest to secure applications | Robert Barnes, Has...
PDF
Select Star: Flink SQL for Pulsar Folks - Pulsar Summit NA 2021
PDF
AWS re:Invent 2016 Fast Forward
PDF
Matt Chung (Independent) - Serverless application with AWS Lambda
PDF
Scaling tokopedia-past-present-future
PDF
Connecting Kafka Across Multiple AWS VPCs
PPTX
Meetup #3: Migrate a fast scale system to AWS
PDF
Securing the Message Bus with Kafka Streams | Paul Otto and Ryan Salcido, Raf...
PPTX
Distributed architecture in a cloud native microservices ecosystem
PDF
Spark Compute as a Service at Paypal with Prabhu Kasinathan
PDF
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
PDF
Beaming flink to the cloud @ netflix ff 2016-monal-daxini
PDF
Container World 2018
NetflixOSS and ZeroToDocker Talk
Cloudsolutionday 2016: Getting Started with Severless Architecture
Cloudsolutionday 2016: DevOps workflow with Docker on AWS
Better Kafka Performance Without Changing Any Code | Simon Ritter, Azul
Cloudsolutionday 2016: Docker & FAAS at getvero.com
Meetup #3: Migrating an Oracle Application from on-premise to AWS
AWS reInvent 2016 recap Taiwan
Encrypting Kafka messages at rest to secure applications | Robert Barnes, Has...
Select Star: Flink SQL for Pulsar Folks - Pulsar Summit NA 2021
AWS re:Invent 2016 Fast Forward
Matt Chung (Independent) - Serverless application with AWS Lambda
Scaling tokopedia-past-present-future
Connecting Kafka Across Multiple AWS VPCs
Meetup #3: Migrate a fast scale system to AWS
Securing the Message Bus with Kafka Streams | Paul Otto and Ryan Salcido, Raf...
Distributed architecture in a cloud native microservices ecosystem
Spark Compute as a Service at Paypal with Prabhu Kasinathan
OSDC 2018 | Three years running containers with Kubernetes in Production by T...
Beaming flink to the cloud @ netflix ff 2016-monal-daxini
Container World 2018
Ad

Viewers also liked (15)

PDF
Production Ready Services at Netflix
PPTX
Zuul @ Netflix SpringOne Platform
PDF
Investor day
PDF
Spring Cloud Netflix OSS
PDF
Как выиграть дело в арбитражном суде, юрфирма ветров и партнеры
PPTX
El mundo Big Data y las APIs
PDF
Java Microservices with Netflix OSS & Spring
PPTX
Rethinking Cloud Proxies
PDF
Build and deploy to the cloud using NetflixOSS (Gradle Summit 2016)
PDF
Continuous Delivery at Netflix, and beyond
PDF
Scalable Microservices at Netflix. Challenges and Tools of the Trade
PPTX
Application Networks: Microservices and APIs at Netflix
PPTX
From SOA to MSA
PPTX
Mastering Chaos - A Netflix Guide to Microservices
PPTX
MicroServices at Netflix - challenges of scale
Production Ready Services at Netflix
Zuul @ Netflix SpringOne Platform
Investor day
Spring Cloud Netflix OSS
Как выиграть дело в арбитражном суде, юрфирма ветров и партнеры
El mundo Big Data y las APIs
Java Microservices with Netflix OSS & Spring
Rethinking Cloud Proxies
Build and deploy to the cloud using NetflixOSS (Gradle Summit 2016)
Continuous Delivery at Netflix, and beyond
Scalable Microservices at Netflix. Challenges and Tools of the Trade
Application Networks: Microservices and APIs at Netflix
From SOA to MSA
Mastering Chaos - A Netflix Guide to Microservices
MicroServices at Netflix - challenges of scale
Ad

Similar to Dev309 from asgard to zuul - netflix oss-final (20)

PPTX
Pros and Cons of a MicroServices Architecture talk at AWS ReInvent
PDF
Building ‘Bootiful’ microservices cloud
PDF
Cloud Native Microservices with Spring Cloud
PDF
Cloud Native Microservices with Spring Cloud
PPTX
spring-cloud.pptx
PDF
Microservices with Netflix OSS and Spring Cloud - Dev Day Orange
PPTX
Zero to the Cloud with @NetflixOSS
PDF
Микросервисы со Spring Boot & Spring Cloud
PDF
NetflixOSS meetup lightning talks and roadmap
PDF
Netflix oss season 1 episode 3
PPTX
Spring Cloud and Netflix Components
PDF
Arquitecturas de microservicios - Medianet Software
PDF
Microservices - not just with Java
PDF
Triangle Devops Meetup 10/2015
ODP
Developing Microservices using Spring - Beginner's Guide
PDF
Microservices and APIs
KEY
Real World Cloud Application Security
PDF
Microservices with Netflix OSS & Spring Cloud - Arnaud Cogoluègnes
PDF
Microservices with Netflix OSS and Spring Cloud
PDF
Building Distributed Systems with Netflix OSS and Spring Cloud
Pros and Cons of a MicroServices Architecture talk at AWS ReInvent
Building ‘Bootiful’ microservices cloud
Cloud Native Microservices with Spring Cloud
Cloud Native Microservices with Spring Cloud
spring-cloud.pptx
Microservices with Netflix OSS and Spring Cloud - Dev Day Orange
Zero to the Cloud with @NetflixOSS
Микросервисы со Spring Boot & Spring Cloud
NetflixOSS meetup lightning talks and roadmap
Netflix oss season 1 episode 3
Spring Cloud and Netflix Components
Arquitecturas de microservicios - Medianet Software
Microservices - not just with Java
Triangle Devops Meetup 10/2015
Developing Microservices using Spring - Beginner's Guide
Microservices and APIs
Real World Cloud Application Security
Microservices with Netflix OSS & Spring Cloud - Arnaud Cogoluègnes
Microservices with Netflix OSS and Spring Cloud
Building Distributed Systems with Netflix OSS and Spring Cloud

More from Ruslan Meshenberg (10)

PDF
NetflixOSS Meetup season 3 episode 2
PDF
Netflix oss past-present-future
PDF
NetflixOSS Meetup season 3 episode 1
PDF
NetflixOSS season 2 episode 2 - Reactive / Async
PDF
OSS Think Tank - NetflixOSS - OSS as a Competitive Differentiator
PPTX
Arc305 how netflix leverages multiple regions to increase availability an i...
PPTX
Svc 202-netflix-open-source
PDF
NetflixOSS Open House Lightning talks
PPTX
re:Invent 2012 Optimizing Cassandra
PDF
The Netflix Open Source Platform
NetflixOSS Meetup season 3 episode 2
Netflix oss past-present-future
NetflixOSS Meetup season 3 episode 1
NetflixOSS season 2 episode 2 - Reactive / Async
OSS Think Tank - NetflixOSS - OSS as a Competitive Differentiator
Arc305 how netflix leverages multiple regions to increase availability an i...
Svc 202-netflix-open-source
NetflixOSS Open House Lightning talks
re:Invent 2012 Optimizing Cassandra
The Netflix Open Source Platform

Recently uploaded (20)

PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
GamePlan Trading System Review: Professional Trader's Honest Take
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PDF
Approach and Philosophy of On baking technology
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Advanced IT Governance
PDF
Machine learning based COVID-19 study performance prediction
PDF
Modernizing your data center with Dell and AMD
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Electronic commerce courselecture one. Pdf
PDF
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
KodekX | Application Modernization Development
PDF
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Review of recent advances in non-invasive hemoglobin estimation
Empathic Computing: Creating Shared Understanding
Understanding_Digital_Forensics_Presentation.pptx
Spectral efficient network and resource selection model in 5G networks
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
GamePlan Trading System Review: Professional Trader's Honest Take
Diabetes mellitus diagnosis method based random forest with bat algorithm
Approach and Philosophy of On baking technology
The AUB Centre for AI in Media Proposal.docx
Advanced IT Governance
Machine learning based COVID-19 study performance prediction
Modernizing your data center with Dell and AMD
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Unlocking AI with Model Context Protocol (MCP)
Electronic commerce courselecture one. Pdf
solutions_manual_-_materials___processing_in_manufacturing__demargo_.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
KodekX | Application Modernization Development
GDG Cloud Iasi [PUBLIC] Florian Blaga - Unveiling the Evolution of Cybersecur...

Dev309 from asgard to zuul - netflix oss-final