Hi,

I have a question about the specific server's state which must be affected by the client we action.

What I wonder is as following. if once client subscribe some channel and unsubscribe afterward, do the resources(memory) have been allocated for the channel in server side still remain even though there is no subscriber any more? Or, the resources would be cleaned eventually? Hoping all the resources for the channels which no longer have subscriber would be cleaned eventually in redis server not to affect badly, I'm caring about it because our business logic is generating many "unsubscribe after subscribe" for many channels which have unique names.

Please check for this.

Thank you,

Comment From: itamarhaber

Hello @osharena

Yes, when a client unsubscribes from Pub/Sub channel the relevant memory resources are freed. A channel without subscribers does not consume memory.

Comment From: osharena

Hello @itamarhaber

Thanks a lot for checking. :)