• 伯成's avatar
    Boost up performance for redis PUB-SUB patterns matching · dfb12f06
    伯成 authored
    If lots of clients PSUBSCRIBE to same patterns, multiple pattens matching will take place. This commit change it into just one single pattern matching by using a `dict *` to store the unique pattern and which clients subscribe to it.
    dfb12f06
pubsub.c 14.3 KB