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

How to win the game of trade-offs

Yan Cui
November 17, 2022

How to win the game of trade-offs

Delivered at the Serverless Summit 2022. Learn how to design serverless systems and tip the balance of trade-offs in your favour.

To learn how to build production-grade serverless applications, check out my upcoming workshops at productionreadyserverless.com and get 15% off with the code "serverlesssummit22".

Yan Cui

November 17, 2022
Tweet

More Decks by Yan Cui

Other Decks in Technology

Transcript

  1. How to win the game of trade-offs Yan Cui AWS

    Serverless Hero @theburningmonk
  2. How to build a service for scheduling one-off tasks Calendar

    reminders Stop cancelled subscriptions …
  3. How to build a service for scheduling one-off tasks Calendar

    reminders Stop cancelled subscriptions …
  4. Scheduling service for one-off tasks Precision Birthday reminder: within hours

    Subscription service: within minutes Multiplayer game: within seconds
  5. Scheduling service for one-off tasks Precision Birthday reminder: within hours

    Subscription service: within minutes Multiplayer game: within seconds
  6. Con fi rmation bias The tendency to search for, interpret,

    favor, and recall information in a way that con fi rms or supports one's prior beliefs or values
  7. Maintenance Easier More Dif fi cult OK! NOT OK! Maintenance

    Easier More Dif fi cult OK! NOT OK! Maintenance Easier More Dif fi cult OK! NOT OK!
  8. It’s not you. This stuff is hard. But you can

    get better at it with exercise
  9. RemindMe Google calendar competitor. Users can set reminders for future

    events and receive SMS or push noti fi cations 10 mins before the event. RemindMe
  10. RemindMe Google calendar competitor. Users can set reminders for future

    events and receive SMS or push noti fi cations 10 mins before the event. User reminders often cluster around public holidays and sporting events. During which, the system needs to notify millions of users. RemindMe
  11. 3 Precision Cost Scalability Hotspots 4 EventBridge Scheduler 10 9

    $40 $35 $10 $15 4x15 10x10 9x40 3x35 + + +
  12. 3 Precision Cost Scalability Hotspots 4 EventBridge Scheduler 10 9

    $40 $35 $10 $15 4x15 10x10 9x40 3x35 + + + 625
  13. 1 Precision Cost Scalability Hotspots Step Functions 10 9 5

    $40 $35 $10 $15 10x15 1x10 9x40 5x35 + + +
  14. Precision Cost Scalability Hotspots Step Functions 10 2 9 5

    $40 $35 $10 $15 10x15 2x10 9x40 5x35 + + + 695