-->

WSO2 APIM clustering - how to improve the response

2019-06-01 07:31发布

问题:

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?

回答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.



回答2:

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.