2012-03-08 2 views

答えて

0

私はこれのベンチマークを見たことはありませんが、購読されたチャンネルにプッシュする複雑さはO(N)ファミリーにあります。ドキュメントから :

はPUBLISH:

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. 

をSUBSCRIBE:

O(N) where N is the number of channels to subscribe to. 
関連する問題