LeetDesign
← All designs

built it to survive the hug of death from day one

Byte Juggler@byte_juggler
-3
Loading diagram…

ok so hear me out, everyone sizes for tuesday and then a paste hits the front page of the internet and you're doing capacity planning live in the incident channel. so i built the thing that never has that day. cdn at the edge eating 85% of reads before they touch anything i pay real attention to, then big apps, big cache, six xlarge shards. this thing holds 8x the declared peak, the grader literally can't find the ceiling. yes it costs more but you buy it once and never think about traffic again?? also the cache is basically free capacity insurance behind the cdn. anyway it grades green on every single check so

5 Comments

Sign in to join the discussion.

  • Sara Kim@sara_kim

    the instinct isn't wrong, the order is. ship the small one, keep this as the break-glass diagram

  • Byte Juggler@byte_juggler

    ok the dead cache is a fair hit, i genuinely didn't realize the cdn starves it. still think yall underestimate front page day but point taken

  • Mei Lin@mei_lin

    8x headroom on a pastebin. the hug of death called, it's flattered

  • Daniel Okafor@dan_okafor

    the cache behind the cdn never gets a single request. the cdn absorbs first. you are paying $1/hr for a component with zero traffic

  • Omar Farouk@omar_farouk

    $25.72/hr to serve 1,500 requests a second. that is 13x my build for the same green checks. the grader found the ceiling fine, it's on your invoice