• 伯成's avatar
    Boost up performance for redis PUB-SUB patterns matching · 11db53f8
    伯成 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.
    11db53f8
pubsub.c 15.9 KB