• antirez's avatar
    Threaded IO: implement handleClientsWithPendingWritesUsingThreads(). · f468e653
    antirez authored
    This is just an experiment for now, there are a couple of race
    conditions, mostly harmless for the performance gain experiment that
    this commit represents so far.
    
    The general idea here is to take Redis single threaded and instead
    fan-out on expansive kernel calls: write(2) in this case, but the same
    concept could be easily implemented for read(2) and protcol parsing.
    
    However just threading writes like in this commit, is enough to evaluate
    if the approach is sounding.
    f468e653
server.h 102 KB