Ocelot: Documentation for rate limiting

Created on 17 Feb 2017  路  4Comments  路  Source: ThreeMammals/Ocelot

enhancement help wanted

Most helpful comment

Hi guys, it is possible to establish RateLimiter by ClientId from DataBase?, I mean, for example, I have a database with 1000 clients so what I need is set a different rate limit for every client from my database.
I understand that Ocelot config.json has the value ClientIdHeader, but I would like to do it dynamically.

Thank you.

All 4 comments

I wrote a simple blog that introduce how to use rate limiting in Ocelot.

Building API Gateway Using Ocelot In ASP.NET Core - Rate Limiting - Part Four

@catcherwong wow that is amazing!!!! Thank you very much for your interest and help with the project.

I will use this as a basic for the documentation!! I will put a link to your posts as well.

Thank you!!!!!!!!!!

Hi guys, it is possible to establish RateLimiter by ClientId from DataBase?, I mean, for example, I have a database with 1000 clients so what I need is set a different rate limit for every client from my database.
I understand that Ocelot config.json has the value ClientIdHeader, but I would like to do it dynamically.

Thank you.

@icebergdelphi did you get anywhere with the request above?

Was this page helpful?
0 / 5 - 0 ratings