I clustered APIM with 1 manger gateway node and 2 or more work node to test APIM response time. it did not give me good data. without APIM,my api response time is 20 ms.though APIM 400ms-1s. how to confige this question?
Asked
Active
Viewed 315 times
1
-
I hope you didn't disable gateway cache which is enabled by default. – Bee Oct 09 '16 at 11:03
2 Answers
1
There are several handlers in APIM, through which all API calls are going. Eg. Authentication, Throttling, CORS etc.
You can enable analytics in APIM and see a latency breakdown graph among stages. See Figure 9
of this article. Then you can identify if there are any handlers which cause a large latency. Then we can decide how to fix that.

Bee
- 12,251
- 11
- 46
- 73
-
thank you for your relply. i did not use analytic. My purpose is to optimize gateway or fine turn APIM. – christ.f Oct 10 '16 at 10:11
1
in order to slove my problem,i find all bolgs.
finally ,in this blog,Sanjeewa Malalgoda give a solution.
Then,after my test,the result is effiective.

christ.f
- 81
- 6