• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Web Scale Applications using NeflixOSS Cloud Platform
 

Web Scale Applications using NeflixOSS Cloud Platform

on

  • 1,509 views

Web Scale Applications using NeflixOSS Cloud Platform. Infographics on IaaS, PaaS, SaaS. Commandments of developing a cloud based distributed application.

Web Scale Applications using NeflixOSS Cloud Platform. Infographics on IaaS, PaaS, SaaS. Commandments of developing a cloud based distributed application.

Statistics

Views

Total Views
1,509
Views on SlideShare
1,481
Embed Views
28

Actions

Likes
1
Downloads
0
Comments
0

3 Embeds 28

https://twitter.com 14
https://www.linkedin.com 9
http://www.linkedin.com 5

Accessibility

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Web Scale Applications using NeflixOSS Cloud Platform Web Scale Applications using NeflixOSS Cloud Platform Presentation Transcript

    • Building Resilient, Web Scale Applications in the Cloud IaaS, PaaS - Sudhir Tonse @stonse - Manager, Cloud Platform. Netflix LLC
    • Topics• About Netflix and move to Cloud• IaaS, PaaS …• Architectural/Operational Insights• How can you benefit? – Various Open Source Offerings (& #cloudprize $$$) – Netflix PaaS Tech Blogs – Build your own PaaS
    • NetflixNetflix is the world’s leading Internet televisionnetwork with more than 33 million membersin 40 countries enjoying more than one billionhours of TV shows and movies per month,including original series.
    • Netflix Scale• 100s of Mid-tier services and applications• Billions of Requests per day• ~70 Billion Events per day• 10,000s of Ec2 Instances in use in multiple AWS Regions/Zones• Cassandra NoSQL database in a Global Ring spanning regions: Terabytes of data• At peak consumes ~1/3 of US Internet Bandwidth
    • What’s a Cloud?• Cloud:Cloud computing is the delivery of computingand storage capacity [1] as a service [2] to aheterogeneous community of end-recipients. Images Courtesy: Wikipedia/Company logos
    • Cloud Stack (IaaS, PaaS, SaaS, Cloud Management) [Representative Sample; not comprehensive] Virtualization Technologies
    • Netflix Cloud Stack (IaaS, PaaS, SaaS, Cloud Management) Virtualization Technologies
    • Netflix Cloud Stack Clients Browsers, Mobile, Televisions … Applications/Web Services Netflix Apps/Services PaaS NetflixExecution Env (JVM), Web/App Servers, Frameworks, Tools Cloud Platform IaaS Virtual Machines, Networking, Load Balancers …
    • Netflix DataCenter to AWS• Old DataCenter • Netflix Cloud (2008) (2010)• Everything in one • 100s of Fine WebApp (.war) Grained Services
    • @adrianco
    • Typical Deployment• Multiple Availability Zone• Multiple Regions @adrianco
    • Commandments of a Resilient Web Scale Cloud Architecture 1. Thou shalt embrace stateless fine grained Micro Services (SOA) 2. Thou shalt not store important data on ephemeral instances 3. Thou shalt embrace a resilient homogenous architecture 4. Thou shalt embrace and understand the CAP Theorem 5. Thou shalt guard all external/RPC calls with a fault & latency tolerance layer 6. Thou shalt embrace auto scaling; scale according to thy needs 7. Thou shalt keep a wary eye on thy cost 8. Thou shalt secure thy data and access points 9. Thou shalt instrument thy code 10. Thou shalt effectively monitor thy instances 11. Thou shalt deploy thy instances in multiple zones and regions for availability and resiliency 12. Thou shalt be way of SPoF 13. Thou shalt always plan for failureNote: These are my personal views and may or may not reflect the views of my employers, past or present.It is not the intention of the author to offend anyone’s religious beliefs or thoughts : - @stonse
    • Netflix Open Source
    • Build your own PaaSMix and match NetflixOSS Tools & Libraries @adrianco @rusmeshenberg
    • Platform ServicesAWS AccountAsgard ConsoleArchaius Config Multiple AWS Regions Service Cross region Priam C* Eureka Registry Explorers Dashboards Exhibitor ZK 3 AWS Zones Application Priam Evcache Atlas Edda History Clusters Cassandra Memcached Monitoring Autoscale Groups Persistent Storage Ephemeral Storage Instances Simian ArmyGenie Hadoop Services @adrianco
    • Step 1Choice A: Bare bones Web Service Template$git clone https://github.com/Netflix/karyon.git$cd karyon$./gradlew clean build$./gradlew :karyon-examples:hello-netflix-oss:jettyRunChoice B: Full blown Recipe (RSS ReaderRecipe)$git clonehttps://github.com/Netflix/recipes-rss.git$cd recipes-rss$./gradlew clean build
    • Step 2• Customize your App using .war of previous step as a template – TIPS (optional) • Use Ribbon for IPC calls • Use Hystrix/RxJava for wrapping concurrent calls/IPC calls (Latency/Fault Tolerance)
    • Step 3• Bake an AMI (Amazon Machine Image) using NetflixOSS Aminator
    • Step 4• Deploy to EC2 using Asgard Deploy & Manage AWS Applications/Infrastructure• TIP: Employ Simian Army to test Resiliency
    • How do you enter? $$• Get a (free) github account• Fork github.com/netflix/cloud-prize• Send us your email address• Describe and build your entry Twitter #cloudprize https://github.com/Netflix/Cloud- Prize/blob/master/README.rdoc @adrianco
    • Thank You!• Reach out to me at @stonse – Yes, we are hiring! Follow @NetflixOSS for more info Credits/Attributions • @adrianco • @rusmeshenberg • https://en.wikipedia.org/wiki/ File:Hyperviseur.png • http://techblog.netflix.com • http://www.slideshare.net/ne tflix • http://netflix.github.io