Relative Content

Tag Archive for redissubscribe

Subscribe to the number of subscribers (avoid polling)

In Redis, how can I subscribe to the number of subscribers to a given key (I want to know the number of connected users)? I’m aware of PUBSUB NUMSUB, but as far as I know it is not possible to subscribe to its value, and polling it every second seems like a huge waste of resource, especially if hundreds/thousands of clients are doing it simultaneously.

Subscribe to the number of subscribers (avoid polling)

In Redis, how can I subscribe to the number of subscribers to a given key (I want to know the number of connected users)? I’m aware of PUBSUB NUMSUB, but as far as I know it is not possible to subscribe to its value, and polling it every second seems like a huge waste of resource, especially if hundreds/thousands of clients are doing it simultaneously.

Subscribe to the number of subscribers (avoid polling)

In Redis, how can I subscribe to the number of subscribers to a given key (I want to know the number of connected users)? I’m aware of PUBSUB NUMSUB, but as far as I know it is not possible to subscribe to its value, and polling it every second seems like a huge waste of resource, especially if hundreds/thousands of clients are doing it simultaneously.

Subscribe to the number of subscribers (avoid polling)

In Redis, how can I subscribe to the number of subscribers to a given key (I want to know the number of connected users)? I’m aware of PUBSUB NUMSUB, but as far as I know it is not possible to subscribe to its value, and polling it every second seems like a huge waste of resource, especially if hundreds/thousands of clients are doing it simultaneously.

Subscribe to the number of subscribers (avoid polling)

In Redis, how can I subscribe to the number of subscribers to a given key (I want to know the number of connected users)? I’m aware of PUBSUB NUMSUB, but as far as I know it is not possible to subscribe to its value, and polling it every second seems like a huge waste of resource, especially if hundreds/thousands of clients are doing it simultaneously.

Subscribe to the number of subscribers (avoid polling)

In Redis, how can I subscribe to the number of subscribers to a given key (I want to know the number of connected users)? I’m aware of PUBSUB NUMSUB, but as far as I know it is not possible to subscribe to its value, and polling it every second seems like a huge waste of resource, especially if hundreds/thousands of clients are doing it simultaneously.