Hi,
we have couple of js policy attached in our proxies where timelimit is 200(default value) y, we are getting js timeout error in prod which is hampering the real traffic even we increased the limit to 1000 but still sometimes we are getting error,
is there any permanent solution for this kindly let me know , we are using private cloud version 4.51
FYI @dandino @anilsagar
please note there is no complex code written
Regards
This can happen when your MPs are very busy or over-burdened. Either memory or CPU is not available to perform the JS step (even if it is simple logic), because that memory and CPU is dedicated to many other things. Or, even if it is not busy, the CPU could be "waiting" for the network or for IO.
What I suggest
So in short, you need to carefully examine the performance metrics across the entire cluster. Managing the performance of a distributed system is.. a complex endeavor.
PS: You didn't ask, but... Google does all of this for you, if you use the managed Apigee service, Apigee X. Lots of people say "Well we like on-prem systems, we have on-prem services so we need an on-prem API Platform." The conclusion does not automatically follow from the premise. Apigee X can be used to proxy APIs that run in your own datacenters. You don't NEED to manage an API Platform. It's extra operational cost, and likely not contributing to your company's key differentiation. Check your assumptions, you may be able to avoid that cost.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |