-
Hi, We are internally doing a POC on ocelot as API Gateway in our organisation. While we really like the product till now, we had few basic queries. we didnt find much in documentation or the issues and discussion. If someone from their experience can share some info on following it will be helpful.
Pls help with any references... Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
@ks1990cn Tanmay, please help! |
Beta Was this translation helpful? Give feedback.
-
Hi @SheruGaur , Here are your answers: 1.) There is no maximum limit for routes you can define in Ocelot.Json. Internally code to uses simply list public List Routes { get; }. Just having huge number of routes with heavy configuration may impact startup/ search time for downstream route mapping. But I am pretty sure It can handle thousands / Lakhs without much impact on startup/map to downstream route. 2.) No there is no limit. 3.) There are few samples you can refer for what you are looking for, every where its tested ok. Ocelot have nice standards for test cases. |
Beta Was this translation helpful? Give feedback.
Hi @SheruGaur ,
Here are your answers:
1.) There is no maximum limit for routes you can define in Ocelot.Json. Internally code to uses simply list public List Routes { get; }. Just having huge number of routes with heavy configuration may impact startup/ search time for downstream route mapping. But I am pretty sure It can handle thousands / Lakhs without much impact on startup/map to downstream route.
2.) No there is no limit.
3.) There are few samples you can refer for what you are looking for, every where its tested ok. Ocelot have nice standards for test cases.
https://ocelot.readthedocs.io/en/latest/
https://learn.microsoft.com/en-us/dotnet/architecture/microservices/multi-container-…