Z Yn created THRIFT-5739: ---------------------------- Summary: set_nodelay should be enabled for TTcpChannel Key: THRIFT-5739 URL: https://issues.apache.org/jira/browse/THRIFT-5739 Project: Thrift Issue Type: Improvement Components: Rust - Library Reporter: Z Yn
[https://github.com/apache/thrift/blob/bc9c04d8049d7d5f5cf4e63a25226c1fb8c930bf/lib/rs/src/transport/socket.rs#L95] TCP_NODELAY is default false in rust tcp stream, while Nagle algorithm is usually not suitable for thrift. In golang, this is opened by default. For rust server and some other languages' client, it's already set true manually. [https://github.com/search?q=repo%3Aapache%2Fthrift+nodelay&type=pullrequests] Also, ruts client for gRPC enabled it. [https://github.com/hyperium/tonic/pull/120] -- This message was sent by Atlassian Jira (v8.20.10#820010)