Issue: Cronet transport uses a hardcoded 4 KB read buffer, causing performance degradation for large gRPC…
Issue: Cronet transport uses a hardcoded 4 KB read buffer, causing performance degradation for large gRPC…: a task in LegoFlow-SWE (Harbor dataset). When data is read from the Cronet transport during a gRPC call, the underlying stream always uses a 4 KB (4096 byte) buffer. This buffer size is…
The task
When data is read from the Cronet transport during a gRPC call, the underlying stream always uses a 4 KB (4096 byte) buffer. This buffer size is perfectly fine for small messages, but for high-throughput scenarios (e.g., transferring multiple megabytes) the overhead of repeated read callbacks (context switches, JNI…
Part of Lego-X/LegoFlow-SWE.