• A
    Diskless replication: rio fdset target new supports buffering. · 9a521e6c
    antirez 提交于
    To perform a socket write() for each RDB rio API write call was
    extremely unefficient, so now rio has minimal buffering capabilities.
    Writes are accumulated into a buffer and only when a given limit is
    reacehd are actually wrote to the N slaves FDs.
    
    Trivia: rio lacked support for buffering since our targets were:
    
    1) Memory buffers.
    2) C standard I/O.
    
    Both were buffered already.
    9a521e6c
rdb.c 53.6 KB