Design A Scalable Rate Limiter | System Design

แชร์
ฝัง
  • เผยแพร่เมื่อ 16 พ.ย. 2024

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

  • @mounikaallagadda5946
    @mounikaallagadda5946 ปีที่แล้ว +7

    I am following your whole system design playlist and the content is awesome!! I am able to hold my concentration longer while watching your videos compared to other tech videos maybe because of the way you are explaining! Thank you so much and keep more content coming!! 🙌

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

      So glad to hear this. Please keep the feedback coming. I hope to upload more videos soon.

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

    This is valuable content. Thank you Irtizaaa!!!

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

    Thank you Irtiza for all those valuable content.

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

      Thank you! Glad you found it valuable.

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

    Great content!

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

    It is best if can also discuss more use cases and different approaches for the rate limitor based on different problems.

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

    Awesome ... Thanks for the video 👏.
    Can you shed more light on :
    1. How can we rate limit different api's ? - Like /login ( 5 attempts ), /posts ( 10 posts )
    2. How can we define different rate limit criteria based on the HTTP methods. Like say, 5 for GET, 10 for POST.

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

      1. Yes you can. It's really easy. Just have custom rules based on each endpoint.
      2. You can define all your rules in some YAML config files. When it comes to code, most backend frameworks will let you pull in custom rules per endpoint+method.

  • @Mohamed-uf5jh
    @Mohamed-uf5jh ปีที่แล้ว

    Thank you Irtiza

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

    Great video and explanation. Thank you!

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

      Thank you for watching!

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

    Excellent explanation.

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

      Glad it was helpful!

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

    Hi Irtiza, Thanks for the video. Just wondering, could there be any cons/trade-offs for using cache instead of MySQL DB?

  • @bbi-edu
    @bbi-edu ปีที่แล้ว

    Great . thank you

  • @VishalKumar-fw5fz
    @VishalKumar-fw5fz 2 ปีที่แล้ว

    Great Video. Keep up the good work

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

      Thank you! Hope you find value from the content : )

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

    Great 🔥

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

    Nice video. Good information. By saying that wonder why you want background music :). Going forward could you please remove that....

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

      Glad you found it helpful!
      Haha yeah I got that feedback to remove the background music quite a few times. I removed it as of my last few videos. Not putting it back moving forward.
      Really appreciate the feedback! Cheers!

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

      @@irtizahafiz Thank you. Slowly you should start MOCK interviews for a problem with just audio.

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

      @@irtizahafiz actually pretty awesome and btw i love the background music! its quick and gives a sense of peppiness..

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

    Great, thanks

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

    upload more videos. good qulity videos overall.

    • @irtizahafiz
      @irtizahafiz  14 วันที่ผ่านมา

      I appreciate the feedback and suggestions. Will work on it.

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

    Great content, hope you get chance to make more videos

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

      Hi! Glad you enjoyed them.
      Yeah I am in the middle of changing cities so not uploading anything right now. Will start again in a week : )

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

      @@irtizahafiz ohh moving is lot of work, good luck

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

    Great, thx

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

    Would you do this with an API Gateway like Nginx which has some built-in rate limiting features? Would the API gateway essentially make HTTP requests to Redis to read/write data from that cache before forwarding request to the final service endpoint?

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

      Yes you can definitely use Nginx configs, but I don't think you get a ton of granular control.

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

    Do you share your Keynote with viewers? In order to better take notes

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

      Hi! You can subscribe to my newsletter if you want future PDF notes: irtiza.io.
      Unfortunately, some of the links have expired since I last uploaded.

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

      Yes, I have gone through your newsletter without finding the PDF note. I am sad about the expired link, I really wish that you can upload it once again. Looking forward to seeing your reply.@@irtizahafiz

  • @StartupSpells
    @StartupSpells 9 หลายเดือนก่อน +1

    this was terrific. might be good to include all the algorithms like leaky bucket, etc.. this video (th-cam.com/video/qUydEBZmGvU/w-d-xo.html) covers it which i found from youtube recommendations while watching this video. but really nice. could reduce it in half-the-time as i watched it at 1.75x. basically, making it like fireship would explode it. really nice work.

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

      Thank you so much for the feedback! I appreciate it.

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

    The only problem is this design is so basic, cannot refer the solution in the real interview.

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

      It totally depends on the interview.
      Usually you start from a high level design (something like the video) and then the interviewer will want you to dive deeper into some component of the design (where, admittedly, this video will fall short).

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

    i like your videos but you talk too much. just go straight to the point

    • @irtizahafiz
      @irtizahafiz  14 วันที่ผ่านมา

      I appreciate the feedback. Will work on it.

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

    Great, thanks