1. 27 2月, 2013 6 次提交
  2. 26 2月, 2013 3 次提交
    • A
    • A
      Set process name in ps output to make operations safer. · ac3100bc
      antirez 提交于
      This commit allows Redis to set a process name that includes the binding
      address and the port number in order to make operations simpler.
      
      Redis children processes doing AOF rewrites or RDB saving change the
      name into redis-aof-rewrite and redis-rdb-bgsave respectively.
      
      This in general makes harder to kill the wrong process because of an
      error and makes simpler to identify saving children.
      
      This feature was suggested by Arnaud GRANAL in the Redis Google Group,
      Arnaud also pointed me to the setproctitle.c implementation includeed in
      this commit.
      
      This feature should work on all the Linux, OSX, and all the three major
      BSD systems.
      ac3100bc
    • A
      Fix error "repl-backlog-size must be 1 or greater" · fedcd511
      Arnaud Granal 提交于
      The parameter repl-backlog-size is not parsed correctly in the configuration file. argv[0] is parsed instead of argv[1].
      fedcd511
  3. 14 2月, 2013 2 次提交
  4. 13 2月, 2013 1 次提交
  5. 12 2月, 2013 16 次提交
  6. 11 2月, 2013 8 次提交
  7. 08 2月, 2013 2 次提交
  8. 05 2月, 2013 2 次提交
    • A
      TCP_NODELAY after SYNC: changes to the implementation. · 5f7dff4d
      antirez 提交于
      5f7dff4d
    • C
      Turn off TCP_NODELAY on the slave socket after SYNC. · 1d80acae
      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.
      1d80acae