Similar to #4154 we can try raising HTTP/2 frame size to 256K thus making our default read size fit into a single frame. The problem here is that it requires custom GRPC library since http2MaxFrameLen = 16384 // 16KB frame assumption is built into grpc-go. But we can advertise bigger frames and make this constant be a variable (available to change via experimental package). Of course tests need to be done here to ensure it makes sense at all, maybe even isolated non-NeoFS tests first. If it gives something noticeable we can try to push the respective change to grpc-go.
Similar to #4154 we can try raising HTTP/2 frame size to 256K thus making our default read size fit into a single frame. The problem here is that it requires custom GRPC library since
http2MaxFrameLen = 16384 // 16KB frameassumption is built into grpc-go. But we can advertise bigger frames and make this constant be a variable (available to change via experimental package). Of course tests need to be done here to ensure it makes sense at all, maybe even isolated non-NeoFS tests first. If it gives something noticeable we can try to push the respective change to grpc-go.