WSO2 APIM clustering - how to improve the response time?

时光毁灭记忆、已成空白 提交于 2019-12-08 03:33:18

问题


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.



来源:https://stackoverflow.com/questions/39932996/wso2-apim-clustering-how-to-improve-the-response-time

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!