Limiting Integration Server Resources for gRPC
Integration Server provides configuration options for limiting the amount of Integration Server resources used by gRPC. Specifically, you can:
Set the maximum number of server threads that can be used to process gRPC requests concurrently using the
watt.server.grpc.maxConcurrentCalls server configuration parameter. Each gRPC request consumes a thread from the server thread pool for the duration of the request processing, including executing the gRPC method flow service and sending the response to the gRPC client. Once the maximum number of allowed threads for gRPC requests are in use, subsequent requests must wait for a gRPC request to complete. The default value for
watt.server.grpc.maxConcurrentCalls is 100.
Limit the message size of gRPC requests using the
watt.server.grpc.maxMessageSize server configuration parameter. If a request message exceeds the value of
watt.server.grpc.maxMessageSize,
Integration Server rejects the request. The size limit applies to inbound gRPC requests only. It does not apply to outbound gRPC requests or responses. The default value is 4MB.