Comments (4)
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.
from ocelot.
@icebergdelphi did you get anywhere with the request above?
from ocelot.
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
from ocelot.
@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!!!!!!!!!!
from ocelot.
Related Issues (20)
- Operating memory research HOT 11
- More open customization of Polly use HOT 2
- How to work with multiple configuration files per microservice? HOT 1
- sockect seems like not reuse on cenos or docker but reuse in window(iis) HOT 2
- Default timeout of HttpClient via route configuration HOT 14
- File-scoped namespace HOT 2
- Use Polly v8 syntax HOT 4
- Authentication docs could do with a note around .NET 8 changes HOT 1
- The Getting Started document could be updated for .NET 8 HOT 4
- Use Ocelot / Identity Server4 JwtBearerEvents.OnAuthenticationFailed addHeaders not work HOT 9
- Apply rate limiting globally HOT 5
- Download file API causes Gateway memory to rise by fileSize HOT 15
- UpstreamHost not working HOT 8
- Routes containing attribute "UpstreamHost " cannot be found HOT 1
- Issue with Aggregator in Ocelot: Requires At Least Two Routes to Execute HOT 11
- 在使用异步流返回时,并不是实时刷新逐条返回结果,而是一次返回结果 HOT 10
- How to Authorize with nested JWT claim generated from Keycloak
- Access to the path '/app/ocelot.json' is denied HOT 1
- Ocelot is missing NuGet package README file HOT 3
- Kubernetes provider should identify different ports HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocelot.