1. 15 2月, 2013 3 次提交
  2. 14 2月, 2013 8 次提交
  3. 13 2月, 2013 1 次提交
  4. 12 2月, 2013 17 次提交
  5. 11 2月, 2013 1 次提交
  6. 09 2月, 2013 4 次提交
  7. 08 2月, 2013 4 次提交
  8. 05 2月, 2013 2 次提交
    • A
      TCP_NODELAY after SYNC: changes to the implementation. · b70b459b
      antirez 提交于
      b70b459b
    • C
      Turn off TCP_NODELAY on the slave socket after SYNC. · c85647f3
      charsyam 提交于
      Further details from @antirez:
      
      It was reported by @StopForumSpam on Twitter that the Redis replication
      link was strangely using multiple TCP packets for multiple commands.
      This wastes a lot of bandwidth and is due to the TCP_NODELAY option we
      enable on the socket after accepting a new connection.
      
      However the master -> slave channel is a one-way channel since Redis
      replication is asynchronous, so there is no point in trying to reduce
      the latency, we should aim to reduce the bandwidth. For this reason this
      commit introduces the ability to disable the nagle algorithm on the
      socket after a successful SYNC.
      
      This feature is off by default because the delay can be up to 40
      milliseconds with normally configured Linux kernels.
      c85647f3