You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by Jens-G <gi...@git.apache.org> on 2017/10/26 18:58:07 UTC

[GitHub] thrift issue #1402: THRIFT-4372 Pipe write operations across a network are l...

Github user Jens-G commented on the issue:

    https://github.com/apache/thrift/pull/1402
  
    > Why not actually use (2^16)-1 which is the limit?
    
    Several reasons. First, aligned memory access is always faster. If we subtract 1 byte, we get the worst case. Next, at least on Windows a number of system resources use multiples of 4096, so it is probably not a bad idea to follow that model. That's why I picked this particular value.


---