[Tin tức] The NEW Rate Limiter of .NET 7 is AWESOME



Check out my courses:
Come to NDC Oslo:
Become a Patreon and get source code access:

Hello everybody I’m Nick and in this video I will introduce you to the brand new rate limiting functionality that was introduced in .NET 7. Like with anything that is in preview, this is subject to change but we will take a look at the concepts behind the rate limiting itself which will stay the same.

Don’t forget to comment, like and subscribe 🙂

Social Media:
Follow me on GitHub:
Follow me on Twitter:
Connect on LinkedIn:

Keep coding merch:

#csharp #dotnet

22 bình luận về “[Tin tức] The NEW Rate Limiter of .NET 7 is AWESOME”

  1. Thank you Nick for this interesting video!
    As you pointed out, as of now, having no type of external, persistent and shared memory integration is a lack, but surely they‘ll work on it.
    Even in a single instance scenario would be a problem when you republish or restart the application..

    I’m also wondering if there’s some method to intercept when requests are going to be refused due to limits hit?
    Would be interesting to do things like notify the user or store the event in a database.

    Anyway, great idea that is surely going to be useful!

    Bình luận
  2. It would be grate to use it it pair with YARP. But yep, multiple instances case must be handled somehow first.
    In high-throughput scenarios Redis might be a bottleneck. I think it would be better to store limiting state in each instance memory and update it in the background from the common queue. Not that accurate, but should be much more performant.

    Bình luận
  3. Great. But I'm wondering does it realy make sense to have on Api layer? I asume almost all systems where rate limiting required are big enough to have either Api gateway or loadbalancer etc. Even if you don't use any of them it's likely possible that you will run more then one instance of your Api.
    So, don't see real cases for production. Maybe for some small projects. Or with some Redis behind that was mentioned in the video.

    Bình luận

Viết một bình luận

bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
bahis10bets.com betvole1.com casinomaxi-giris.com interbahis-giris1.com klasbahis1.com mobilbahisguncelgiris1.com piabetgiris1.com tipobettgiris.com tumbetgiris1.com betboro 1xbet giriş
antalya bayan escort
antalya bayan escort
antalya bayan escort