Closed SheruGaur closed 11 months ago
Actually, it is not discussed!
Read more: Configuration
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<Route> 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-microservice-net-applications/implement-api-gateways-with-ocelot You can discuss with us, we can help you in understanding things you need.
Discussed in https://github.com/ThreeMammals/Ocelot/discussions/1795