Jai Shakthi
Jai Shakthi

Reputation: 189

how to publish and subscribe channels dynamically ?

//Server setting....

//Store using Redis ..


 this is the part of the code, now i have to send the stored data to other clients connected,the case is 'n' no.of application with 'n' no.of clients, so i have to create channels here dynamically. am asking u to help me by giving ideas for creating dynamic channel name for pub/sub.

Upvotes: 1

Views: 956

Answers (1)

Michelle Tilley
Michelle Tilley

Reputation: 159105

This is not something Redis handles. You'll need to protect access to Redis pub/sub through an application layer. If you want to allow people to connect directly to Redis and still protect channels per user, I believe you're out of luck.

Upvotes: 2

Related Questions