When MGW is configured with gRPC based analytics, in high TPS scenarios, observed API invocation failures. In MGW thread dump several threads were observed in BLOCKED state. In order to mitigate this timeoutInMillis parameter in [1] was decided to be make a configurable parameter.
Description
When MGW is configured with gRPC based analytics, in high TPS scenarios, observed API invocation failures. In MGW thread dump several threads were observed in
BLOCKED
state. In order to mitigate thistimeoutInMillis
parameter in [1] was decided to be make a configurable parameter.[1] - https://github.com/wso2/product-microgateway/blob/3.2.x/components/micro-gateway-core/src/main/ballerina/src/gateway/grpcAnalytics/gRPC_analytics_client.bal#L49
Steps to Reproduce
[1] - https://mg.docs.wso2.com/en/latest/how-tos/analytics-for-microgateway/#using-real-time-data-publishing-grpc-based
Version
3.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response