Engineering

6/16/16 Billing&Payments Engineering Meetup III - Throttling Engine at Netflix

Description
1. Raja Senapati Sr. Software Engineer, Payments 2. Why Do We Want to Slow Down? ã Scaling Issues with Online Payment Processors ã Adherence to SLA 3. ã Netflix…
Categories
Published
of 12
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Share
Transcript
  • 1. Raja Senapati Sr. Software Engineer, Payments
  • 2. Why Do We Want to Slow Down? • Scaling Issues with Online Payment Processors • Adherence to SLA
  • 3. • Netflix will send a maximum of 24 concurrent transactions at any time. - processor1 • We can process up to 30 transactions simultaneously at any time except between 12:00 - 3:00 where we can process up to 5 concurrent transactions. - processor2 Typical SLA
  • 4. • The Lowest concurrent transaction processing supported by one of our Payment Processors is – 1 concurrent transaction – 3 concurrent transactions – 5 concurrent transactions – 7 concurrent transactions – 9 concurrent transactions – 11 concurrent transactions Quiz?
  • 5. Problem Context EC2 instance Client Apps Billing, Signup UI Payments Processor 1 SLA : 2 EC2 instance EC2 instance hi Courtesy: Hertz Comics
  • 6. Solution Approach EC2 instance Client Apps Billing, Signup UI Payments Processor 1 SLA : 2 EC2 instance EC2 instance Permit Pool
  • 7. Permit Pool Exhausted EC2 instance Client Apps Billing, Signup UI Payments Processor 1 SLA : 2 EC2 instance EC2 instance Permit Pool Courtesy: Hertz Comics
  • 8. Permit Pool Reuse EC2 instance Client Apps Billing, Signup UI Payments Processor 1 SLA : 2 EC2 instance EC2 instance Permit Pool Courtesy: Hertz Comics
  • 9. Technology Stack • Apache Zookeeper • Distributed Coordinator • Apache Curator • Open Sourced by Netflix • Shared Semaphore Recipe
  • 10. Code Snippets
  • 11. Throttling Engine Features • Fast Property based • Support Combination of Processor, Country, Transaction Type, Time of Day Processing • THROTTLE-EVERYTHING mode and THROTTLE-NOTHING mode in the rare case zookeeper is down
  • 12. Thank You
  • Search
    Related Search
    We Need Your Support
    Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

    Thanks to everyone for your continued support.

    No, Thanks
    SAVE OUR EARTH

    We need your sign to support Project to invent "SMART AND CONTROLLABLE REFLECTIVE BALLOONS" to cover the Sun and Save Our Earth.

    More details...

    Sign Now!

    We are very appreciated for your Prompt Action!

    x