Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Innovating with confidence: FaaS at Netflix

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
Avatar for TechMasters TechMasters
September 28, 2018

Innovating with confidence: FaaS at Netflix

By William Blankenship - Netflix

Presented at Functions 2018 / ServerlessDays Toronto

https://functions.events/2018/toronto/william-blankenship/

Avatar for TechMasters

TechMasters

September 28, 2018
Tweet

More Decks by TechMasters

Other Decks in Programming

Transcript

  1. The challenge. ✔ Build and deploy server side business logic

    ✖ Maintain and operate a distributed system at scale
  2. Our customer. • Netflix device engineers • Need to build

    server side business logic • Are not staffed for distributed systems
  3. Introducing the platform. module.exports = function helloWorld(req, res, next) {

    req.log("Hello Logger!"); req.getAtlas() .counter('hello').increment(); … }; Metrics Registration Logging Tracing RPC And More!
  4. $ newt init Project Scaffolding CI/CD (Spinnaker + Jenkins) Alerts

    + Dashboards (Atlas) Introducing the platform.
  5. Benefits of the strangler pattern. • Iterate with a tight

    feedback loop • Reduced blast radius
  6. Benefits of the strangler pattern. • Iterate with a tight

    feedback loop • Reduced blast radius • Ability to fallback
  7. Benefits of the strangler pattern. • Iterate with a tight

    feedback loop • Reduced blast radius • Ability to fallback • Isolate stability
  8. Isolate change. • Surgically introduce change • Centrally track the

    changes being introduced • Ship changes in isolation
  9. Reduce blast radius. • Limit a change’s initial exposure to

    production traffic • Automatically route traffic away from regressions
  10. Reduce blast radius. • Limit a change’s initial exposure to

    production traffic • Automatically route traffic away from regressions • Provide a tight feedback loop for engineers
  11. Minimize unintended change. • Contain everything we need to run

    our application • Built in integrity checking
  12. Minimize unintended change. • Tightly controlled build process • Artifacts

    contain the desired state of production • The state of the artifact is verifiable
  13. Summary • Netflix is migrating our API to a serverless

    experience • We are investing in de-risking innovation at our tier
  14. Summary • Netflix is migrating our API to a serverless

    experience • We are investing in de-risking innovation at our tier ◦ Isolating changes
  15. Summary • Netflix is migrating our API to a serverless

    experience • We are investing in de-risking innovation at our tier ◦ Isolating changes ◦ Reducing the blast radius of changes
  16. Summary • Netflix is migrating our API to a serverless

    experience • We are investing in de-risking innovation at our tier ◦ Isolating changes ◦ Reducing the blast radius of changes ◦ Minimizing unintended changes
  17. William Blankenship Sr. Software Engineer Summary • Netflix is migrating

    our API to a serverless experience • We are investing in de-risking innovation at our tier ◦ Isolating changes ◦ Reducing the blast radius of changes ◦ Minimizing unintended changes