charsyam
c85647f354
Turn off TCP_NODELAY on the slave socket after SYNC.
...
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.
2013-02-05 12:04:25 +01:00
..
2012-04-13 17:52:33 -07:00
2013-01-19 10:59:44 +01:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2013-01-19 10:59:44 +01:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2013-01-19 10:59:44 +01:00
2012-11-08 18:31:32 +01:00
2013-02-05 12:04:25 +01:00
2013-02-05 12:04:25 +01:00
2013-01-28 13:14:53 +01:00
2012-11-08 18:31:32 +01:00
2013-01-19 10:59:44 +01:00
2012-11-22 10:12:11 +01:00
2013-01-28 13:15:12 +01:00
2013-01-19 10:59:44 +01:00
2013-02-05 12:04:25 +01:00
2013-01-21 12:06:54 +01:00
2013-01-19 10:59:44 +01:00
2012-04-09 12:20:47 +02:00
2012-11-29 14:20:08 +01:00
2013-01-28 13:15:19 +01:00
2013-01-21 03:19:02 -08:00
2013-01-19 10:59:44 +01:00
2012-10-22 02:55:23 -07:00
2012-02-14 16:11:46 +01:00
2012-12-11 17:01:00 +01:00
2012-12-12 10:49:12 -05:00
2012-10-30 18:57:20 +01:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2010-07-01 14:38:51 +02:00
2013-01-19 10:59:44 +01:00
2013-01-28 13:14:36 +01:00
2013-01-28 13:14:36 +01:00
2013-01-21 12:34:22 +01:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2013-01-28 13:14:53 +01:00
2013-01-28 13:15:16 +01:00
2013-01-28 13:15:08 +01:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2013-01-21 19:02:26 +01:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2013-01-19 13:30:38 +01:00
2013-01-19 10:59:44 +01:00
2012-12-20 15:20:55 +01:00
2012-11-08 18:31:32 +01:00
2013-01-19 10:59:44 +01:00
2013-01-21 19:15:58 +01:00
2013-01-19 10:59:44 +01:00
2013-02-05 12:04:25 +01:00
2013-02-05 12:04:25 +01:00
2013-01-19 10:59:44 +01:00
2013-02-05 12:04:25 +01:00
2012-11-29 14:20:08 +01:00
2012-11-08 18:31:32 +01:00
2013-01-19 10:59:44 +01:00
2013-01-19 10:59:44 +01:00
2012-03-30 21:19:51 +02:00
2013-01-31 17:19:21 +01:00
2013-01-19 10:59:44 +01:00
2010-07-01 14:38:51 +02:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2013-01-28 13:15:12 +01:00
2012-05-02 22:41:50 +02:00
2013-01-28 13:15:12 +01:00
2013-01-28 13:15:12 +01:00
2013-02-05 15:56:04 +08:00
2013-01-28 13:15:12 +01:00
2013-01-29 13:50:01 +01:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2012-11-08 18:31:32 +01:00
2011-07-06 15:22:00 +02:00
2012-04-10 16:34:33 +02:00
2013-01-28 11:07:17 +01:00
2012-11-08 18:31:32 +01:00
2012-04-07 14:40:29 +02:00
2011-02-28 09:56:48 +01:00
2013-01-19 10:59:44 +01:00
2012-11-19 11:47:35 +01:00