Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-40745: [Java][FlightRPC] Support configuring backpressure th…
…reshold (apache#41051) ### Rationale for this change gRPC uses a default backpressure threshold that is too low for services that send large amounts of data such as Arrow Flight. This causes excessive blocking and reduces throughput. ### What changes are included in this PR? * Update to grpc-java 1.63.0 * Add to FlightServer.Builder an option to set the number of bytes queued before blocking due to backpressure. Set the default to 10MB instead of gRPC's default of 64K. * Add a ServerInterceptor for automating setting the backpressure threshold on ServerCalls. ### Are these changes tested? Tested through existing unit tests. ### Are there any user-facing changes? The FlightServer.Builder class has an extra configuration option to let users change the backpressure threshold themselves. * GitHub Issue: apache#40745 Authored-by: James Duong <[email protected]> Signed-off-by: David Li <[email protected]>
- Loading branch information