Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
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
Web App 
Front End 
(REST 
services) 
Micro service Implementation 
Hystrix Call “Auth Service” 
Ribbon REST client 
Eurek...
Karyon Eureka 
Ribbon 
Hystrix
Hardware Will Fail 
Slowly Changing 
Large Scale 
Speed 
Everything Is Broken 
Rapid Change 
Large Scale 
Everything Works...
Regional Load Balancers Regional Load Balancers
Web App 
Front End 
(REST 
services) 
Micro service Implementation 
Hystrix Call “Auth Service” 
Ribbon REST client 
Eurek...
Client 
A 
p 
a 
c 
h 
e 
Server (Karyon) 
HTTP Admin Console 
Eureka (Service 
Registry) 
Apache 
Tomcat 
Ribbon 
Load 
B...
Client (Ribbon 2.0) Server (Karyon) 
Admin Console 
Eureka (Service 
Registry) 
Ribbon Transport 
Load 
Balancing 
Metrics...
@ArchaiusBootstrap 
@KaryonBootstrap(name 
= 
"hello-­‐netflix-­‐oss") 
@Modules(include 
= 
{HelloNossApp.KaryonJerseyMod...
interface 
@Http(method 
= 
HttpMethod.GET, 
uriTemplate="/users/{userId}/recommendations") 
@Hystrix(fallbackHandler 
= 
...
createHttpResourceGroup "movieService" 
newRequestTemplate "recommendationsByUserId" 
"GET" 
"/users/{userId}/recommendati...
Regional Load Balancers 
Zuul – Traffic Shaping/Routing 
AZ1 AZ2 AZ3 
Data Data Data 
Geo-located 
Chaos Kong 
Chaos Kong ...
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 
Ratin...
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
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 
Fal...
Personaliza 
tion Engine 
User 
Info 
Movie 
Metadata 
Movie 
Ratings 
Similar 
Movies 
API 
Reviews A/B Test 
Engine 
Fal...
+ 
Scumblr Sketchy
‒ 
‒ 
‒ 
‒ 
‒ 
‒ 
‒
http://netflix.github.com
https://github.com/Answers4AWS/netflixoss-ansible/wiki/AMIs-for-NetflixOSS 
http://answersforaws.com/resources/netflixoss/...
https://github.com/Netflix-Skunkworks/zerotodocker 
https://hub.docker.com/u/netflixoss/
Mac OS X 
Virtual Box 
Ubuntu 14.04 
single kernel 
Container #1 
Filesystem + process 
Eureka 
Container 
Zuul 
Container...
Talk Time Title
http://netflix.github.com
@NetflixOSS 
http://netflix.github.com
Please give us your feedback on this 
presentation
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
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
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
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
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
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
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
Dev309  from asgard to zuul - netflix oss-final
Dev309  from asgard to zuul - netflix oss-final
Upcoming SlideShare
Loading in …5
×

7

Share

Download to read offline

Dev309 from asgard to zuul - netflix oss-final

Download to read offline

Overview of Netflix Source core Infrastructure, Tooling and Availability components, fast and easy deployment via Docker containers

Related Books

Free with a 30 day trial from Scribd

See all

Related Audiobooks

Free with a 30 day trial from Scribd

See all

Dev309 from asgard to zuul - netflix oss-final

  1. 1. Growth
  2. 2. Web UI / Front End API Middle Tier MySQL Data Center
  3. 3. Regional Load Balancers Regional Load Balancers
  4. 4. API or Web Calls memcached Cassandra Web service S3 bucket
  5. 5. We’re here to help you get to global scale… Apache Licensed Cloud Native OSS http://netflix.github.com
  6. 6. 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
  7. 7. Karyon Eureka Ribbon Hystrix
  8. 8. 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
  9. 9. Regional Load Balancers Regional Load Balancers
  10. 10. 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
  11. 11. 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
  12. 12. 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
  13. 13. @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); } } }
  14. 14. 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();
  15. 15. createHttpResourceGroup "movieService" newRequestTemplate "recommendationsByUserId" "GET" "/users/{userId}/recommendations" requestBuilder "userId" “user1”
  16. 16. 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
  17. 17. A/B Test Engine Personalization Engine User Info Movie Metadata Movie Ratings Similar Movies API Reviews
  18. 18. A/B Test Engine Personalization API Similar Movies Reviews User Info Engine User Info Movie Metadata Movie Ratings
  19. 19. A/B Test Engine Personalization Engine API User Movie Movie Similar Info Metadata Ratings Movies Reviews
  20. 20. User Info API A/B Test Engine Personalization Engine Movie Metadata Movie Ratings Similar Movies Reviews
  21. 21. A/B Test Engine Personalization Engine API User Movie Movie Similar Info Metadata Ratings Movies Reviews
  22. 22. User Info API A/B Test Engine Personalization Engine Movie Metadata Movie Ratings Similar Movies Reviews
  23. 23. A/B Test Engine Personalization Engine API User Movie Movie Similar Info Metadata Ratings Movies Reviews
  24. 24. Personaliza tion Engine User Info Movie Metadata Movie Ratings Similar Movies API Reviews A/B Test Engine
  25. 25. Personaliza tion Engine User Info Movie Metadata Movie Ratings Similar Movies API Reviews A/B Test Engine Fallback
  26. 26. Personaliza tion Engine User Info Movie Metadata Movie Ratings Similar Movies API Reviews A/B Test Engine Fallback
  27. 27. + Scumblr Sketchy
  28. 28. ‒ ‒ ‒ ‒ ‒ ‒ ‒
  29. 29. http://netflix.github.com
  30. 30. https://github.com/Answers4AWS/netflixoss-ansible/wiki/AMIs-for-NetflixOSS http://answersforaws.com/resources/netflixoss/cloudformation/
  31. 31. https://github.com/Netflix-Skunkworks/zerotodocker https://hub.docker.com/u/netflixoss/
  32. 32. Mac OS X Virtual Box Ubuntu 14.04 single kernel Container #1 Filesystem + process Eureka Container Zuul Container ... Another Container
  33. 33. Talk Time Title
  34. 34. http://netflix.github.com
  35. 35. @NetflixOSS http://netflix.github.com
  36. 36. Please give us your feedback on this presentation
  • hyh961

    Apr. 25, 2017
  • rraheja

    Jun. 4, 2016
  • ZacharyHuyHuynh

    Aug. 28, 2015
  • ercarval

    Jan. 29, 2015
  • bunkertor

    Dec. 29, 2014
  • hshenry

    Nov. 15, 2014
  • lcycenter

    Nov. 13, 2014

Overview of Netflix Source core Infrastructure, Tooling and Availability components, fast and easy deployment via Docker containers

Views

Total views

2,804

On Slideshare

0

From embeds

0

Number of embeds

314

Actions

Downloads

68

Shares

0

Comments

0

Likes

7

×