What is the optimal number of proxies that can be deployed to an environment for On Prem installation?

Hi,

we are evaluating Apigee v4.19.01, 5 Node Installation Topology for proof of concept. One of our requirement is to see if the System can handle 2000 APIs. So we created 2000 proxies that are deployed to a single environment with 2000 products associated with each proxies and noticed that the processing of a simple proxy (Proxy with no target and no policies) that used to return an average of 2ms, is now returning an average that varies from 200ms to upward of 2000ms. We undeployed 150 APIs from the environment, and the average is still not back to the 2ms, but seems to be around 20ms.

So, is there an upper limit of number of proxies to be deployed to a single environment within a single organization? Is there an optimization that we can do (increase Heap size for router / message processor?) to see if the system can support 2000 APIs?

Thank you

Solved Solved
0 4 298
1 ACCEPTED SOLUTION

This sounds like your message processor heap could be the cause. I'd suggest modifying it based on the recommended values here: https://docs.apigee.com/private-cloud/v4.19.01/modifying-java-settings as the default is actually pretty low.

That said, I'm curious about what kind of use case requires 2000 distinct proxies. Using conditional flows it's possible to create proxies which serve quite a large number of URL paths but can easily share logic (authentication, quota etc) and depending on your use case, this may be easier for development.

View solution in original post

4 REPLIES 4

This sounds like your message processor heap could be the cause. I'd suggest modifying it based on the recommended values here: https://docs.apigee.com/private-cloud/v4.19.01/modifying-java-settings as the default is actually pretty low.

That said, I'm curious about what kind of use case requires 2000 distinct proxies. Using conditional flows it's possible to create proxies which serve quite a large number of URL paths but can easily share logic (authentication, quota etc) and depending on your use case, this may be easier for development.

Hi Christian, thank you for your reply. I am looking at the doc you provided and will give them a try.

Our use case is to support at an enterprise level for multi teams that own multi resources that does not share same target end point. The idea is to give ownership and analytical capability back to the API team owner. true, they can all share the same core logic for authentication and quotas, but the analytics and ownership separation is what we want to achieve.

A single proxy can also have multiple targets, either using route rules: https://docs.apigee.com/api-platform/fundamentals/understanding-routes or dynamic targets ( https://community.apigee.com/questions/31202/how-to-dynamically-set-target-url.html ). Having multiple targets does not require multiple proxies at a technical level, although it can definitely be done that way if that fits your use case best.

Not applicable

We hire the best only. We are proud to boast a proficient team of native writers who have received their degrees from top UK universities including University of Cambridge, University of Warwick, University of Westminster, Durham University, University of Exeter, University of Sheffield, etc. We have a rigorous recruitment process. Candidates have to clear several stages of interviews in order to get selected by us. All of our experts of online dissertation writing service UK are doctorate degree holders. We are honored to have many former professors of reputed UK universities with us. All of our scholars are well versed with online thesis writing service UK They can help you no matter how difficult your topic is, get online report writing service UK. We hire the best only to online essay writing service UK.