【问题标题】:capability of redis in handling 'N' no of connections?redis 处理“N”个连接的能力?
【发布时间】:2012-03-25 17:20:22
【问题描述】:

如果对 Redis 有任何性能测量 它可以同时处理多少个订阅/频道?

【问题讨论】:

    标签: javascript jquery node.js redis


    【解决方案1】:

    我还没有看到这方面的基准,但推送到订阅频道的复杂性在 O(N) 系列中。 来自文档:

    发布:

    O(N+M) where N is the number of clients subscribed to the
    receiving channel and M is the total number of subscribed 
    patterns (by any client).
    

    PSUBSCRIBE(订阅模式):

    O(N) where N is the number of patterns the client is already subscribed to.
    

    订阅:

    O(N) where N is the number of channels to subscribe to.
    

    【讨论】:

      猜你喜欢
      • 2012-09-18
      • 1970-01-01
      • 2015-01-22
      • 1970-01-01
      • 2018-07-02
      • 2021-01-21
      • 2013-08-15
      • 1970-01-01
      • 2013-12-21
      相关资源
      最近更新 更多