christ.f
christ.f

Reputation: 81

WSO2 APIM clustering - how to improve the response time?

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?

Upvotes: 1

Views: 351

Answers (2)

christ.f
christ.f

Reputation: 81

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.

Upvotes: 1

Bee
Bee

Reputation: 12513

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.

Upvotes: 1

Related Questions