Skip to content

What are Ocelot configuration and routing limitations? #1795

Answered by ks1990cn
SheruGaur asked this question in Q&A
Discussion options

You must be logged in to vote

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-…

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
9 replies
@SheruGaur
Comment options

@ks1990cn
Comment options

@SheruGaur
Comment options

@ks1990cn
Comment options

@SheruGaur
Comment options

Comment options

You must be logged in to vote
3 replies
@raman-m
Comment options

@SheruGaur
Comment options

@raman-m
Comment options

Answer selected by raman-m
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Initially seen a question could become a new feature or bug or closed ;)
3 participants