Scaling Push Messaging for Millions of Devices @Netflix

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ม.ค. 2025

ความคิดเห็น • 65

  • @prudvim3513
    @prudvim3513 3 ปีที่แล้ว +19

    Much better than watching "Design a Notification Service" System design interview videos.

  • @zkwentz
    @zkwentz 2 ปีที่แล้ว +12

    The “ask client to close” due to TCP wait avoidance, is brilliant. Well done!

  • @audi88
    @audi88 4 ปีที่แล้ว +32

    This talk is so good. Especially the mention of benchmarking numbers.
    m4.large ~ 8G,2vCPU = 84000 concurrent connections. ❤️

    • @mat822
      @mat822 4 ปีที่แล้ว

      yes it is very good talk but it not clear what is the throughput of the system with 84K clients, I guess it is very low if he was saying the CPU was barely used.

    • @faizhalde2836
      @faizhalde2836 3 ปีที่แล้ว +2

      @@mat822 the system does look io intensive (mostly network calls) so low cpu makes sense i think

    • @helloworld7313
      @helloworld7313 3 ปีที่แล้ว +2

      @@mat822
      125 million users, 1 push notification per day, each notification takes 1KB
      125000000*1024/86400 < 2MB/s
      negligible throughput.
      Of course they kill connections periodically, but still very low throughput system.

  • @bedtimestoriesforkids9755
    @bedtimestoriesforkids9755 4 ปีที่แล้ว +13

    I am watching this right before a system design session! :)

  • @IamMiracleAlex
    @IamMiracleAlex หลายเดือนก่อน

    Brilliantly presented!!! Thank you!

  • @at_tap
    @at_tap 3 ปีที่แล้ว +8

    Extremely well conducted video, very informative and explained without any wrinkles. Kudos!!

    • @Dipesh_Sol
      @Dipesh_Sol ปีที่แล้ว

      Reminds me of backpressure, ofc not the same here.

  • @km2411_
    @km2411_ 4 ปีที่แล้ว +10

    Really neat presentation with much informative content.

  • @RanjithVj404
    @RanjithVj404 3 ปีที่แล้ว +4

    Excellent presentation. Thanks for getting into implementation details!

  • @jmitesh01
    @jmitesh01 3 ปีที่แล้ว +2

    nit pick here, but how does sharding for availability help in push registry feature checklist? Its because it protects by only some portion of connection server goes down?

  • @namansharma8701
    @namansharma8701 2 หลายเดือนก่อน

    Great work to figure out asking the client to drop the connections and also scale on connections per seconds.

  • @ThanosVassilakis
    @ThanosVassilakis 4 ปีที่แล้ว +3

    This a great talk that really warms up after 20 minutesin when the talk goes into operation details.

  • @BHARATKUMAR-le6eq
    @BHARATKUMAR-le6eq 2 ปีที่แล้ว

    I think some confusion at ELB. ELB operates at Layer 4 which means at the TCP layer already.

  • @lalanashree3962
    @lalanashree3962 8 หลายเดือนก่อน

    One of the best 'Notification Design videos' seen so far.

  • @unmeshchougule5666
    @unmeshchougule5666 2 ปีที่แล้ว +2

    Question : when you say client opens connection and stays connected to that server, wouldn't it talk to load balancer and not the actual server here? So even if you deploy new server behind that load balancer there won't be any issue of the connection closing and re-opening as you mentioned?
    Please shed some light if I am missing something here.

  • @AbhijeetJadhav24
    @AbhijeetJadhav24 2 ปีที่แล้ว +1

    Super comprehensive and very inspirational! Thank you.

  • @8Trails50
    @8Trails50 4 ปีที่แล้ว +5

    This is an insanely good talk.

  • @huhu5375
    @huhu5375 2 ปีที่แล้ว +1

    Amazing talks! I learn a lot from this video. "Ask client to close" is really brilliant. Randomized the connection time is also very impressive. I have seen random backoff algorithm, don't know it can also be used in this scenario.

  • @Nemosaur
    @Nemosaur 4 ปีที่แล้ว +4

    This has been so insightful
    Thank you so much for this talk!

  • @PankajKumar-vi4tn
    @PankajKumar-vi4tn 4 ปีที่แล้ว +2

    Very good talk. I also liked some of the questions in the end.

  • @viveksai9353
    @viveksai9353 3 ปีที่แล้ว +3

    Every bit of applause deserved for such a verbose explaination.

  • @pothiq
    @pothiq 5 ปีที่แล้ว +8

    It's truly comprehensive. Thanks for the nice presentation in a very understandable way.

  • @attention_shopping
    @attention_shopping 2 ปีที่แล้ว

    what a great talk. so dense, no fluff

  • @himanshuupadhyay6749
    @himanshuupadhyay6749 2 ปีที่แล้ว

    Very nice presentation

  • @codetolive27
    @codetolive27 3 ปีที่แล้ว

    Excellent presentation!! Lots to learn

  • @lukeyd13
    @lukeyd13 3 ปีที่แล้ว +1

    What an amazing speaker this guy is

  • @pragmaticsoftwareengineer7965
    @pragmaticsoftwareengineer7965 3 ปีที่แล้ว

    Brilliant Talk.. Learned so much.. Thanks Susheel.

  • @praveenX
    @praveenX 2 ปีที่แล้ว

    Just Amazing! 👏

  • @renon3359
    @renon3359 10 หลายเดือนก่อน

    TCP TIMED WAIT avoidance was brilliant

  • @smonkey001
    @smonkey001 3 ปีที่แล้ว +2

    How can they "push messaging" to Android with WebSocket while Google simply banned any push notification methods but FCM?

    • @lahmerilyas4430
      @lahmerilyas4430 ปีที่แล้ว

      This push mechanism is for users who are using the app. FCM is used for both forground/background usage.

  • @hutofrock
    @hutofrock 3 ปีที่แล้ว +1

    Excellent presentation with enough in-depth details and nice insights!

  • @mukeshprajapati9642
    @mukeshprajapati9642 10 หลายเดือนก่อน

    Really good explanation. Literally clapped at the end :)

  • @BHARATKUMAR-le6eq
    @BHARATKUMAR-le6eq 2 ปีที่แล้ว

    I have only one request why the client depends on the server. I mean why this client-server mapping. What if the server is down then we need to migrate all the client-specific servers to a new server which is costly and may create issues like thundering. It's not we should make the server stateless with client requests and maybe only we should store client information in the push registry?? and when push notifications just randomly pick the server and send a message to the client id.

  • @ankitjindal7059
    @ankitjindal7059 3 ปีที่แล้ว

    Really thought through presentation

  • @unmeshchougule5666
    @unmeshchougule5666 2 ปีที่แล้ว

    great talk, thank you!

  • @sasaa4908
    @sasaa4908 4 ปีที่แล้ว

    Thank you so much for this talk !! very well explained ...

  • @YT-yt-yt-3
    @YT-yt-yt-3 3 ปีที่แล้ว

    Neat presentation and insightful.

  • @allanvalooran6604
    @allanvalooran6604 3 ปีที่แล้ว +1

    Great Talk

  • @amitbaijal421
    @amitbaijal421 5 ปีที่แล้ว +1

    Great presentation.

  • @dhrumilparmar9294
    @dhrumilparmar9294 3 ปีที่แล้ว

    Awesome talk! Enjoyed it.

  • @VinayYadav-xy7dk
    @VinayYadav-xy7dk 2 ปีที่แล้ว

    Brilliant!!

  • @kaatupoocha
    @kaatupoocha 3 ปีที่แล้ว

    Great talk, very detailed

  • @madeeshafernando8496
    @madeeshafernando8496 3 ปีที่แล้ว

    wow, what a great talk, explains really well!!

  • @VishalThakur-wo1vx
    @VishalThakur-wo1vx 10 หลายเดือนก่อน

    Love this talk

  • @hyper.charged_
    @hyper.charged_ 3 ปีที่แล้ว +1

    Excellent

  • @wyjiaonju
    @wyjiaonju 3 ปีที่แล้ว

    Great talk! Very inspirational!

  • @conquerorsanthosh
    @conquerorsanthosh 3 ปีที่แล้ว

    Such an awesome content , thankyou

  • @ridhwaans
    @ridhwaans 4 ปีที่แล้ว +3

    what is the difference between push vs kafka messages/ message queues?

    • @maximecaron3133
      @maximecaron3133 3 ปีที่แล้ว

      with push client subscribe to a small set of keys( movie name …). while with kafka there is a single log and client need to read all message that have been written to the log

  • @PratikNandoskar
    @PratikNandoskar 6 ปีที่แล้ว +3

    Very Good. thanks for sharing.

  • @gharatmayuresh15
    @gharatmayuresh15 3 ปีที่แล้ว

    Excellent presentation !!!

  • @TheNikhilbhoyar
    @TheNikhilbhoyar 3 ปีที่แล้ว +3

    what is worse than thundering herd?
    its recurring thundering herd

  • @sonicjetson6253
    @sonicjetson6253 2 ปีที่แล้ว +1

    Hearing all this talk of massively scalable is getting so nauseous man, fk this shit

  • @alphabeta644
    @alphabeta644 5 หลายเดือนก่อน

    stop moving the camera, already got motion sickness.

  • @harshitpandey6664
    @harshitpandey6664 3 ปีที่แล้ว +1

    Tip : Watch at 1.25x speed.

  • @greyreynyn
    @greyreynyn 3 ปีที่แล้ว

    man this is cool and all but all this work is just so you can say "hey, we think you might like this anime" ?

  • @stillyi
    @stillyi 3 ปีที่แล้ว

    Thank you! Very informative presentation.