Basically when my client apps start I want to retrieve a ‘View of the World’ using the GetMembersOfSet command but then have subsequent updates published to the clients.
So I need to subscribe to updates of a Set.
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Redis Pub/Sub does not work directly on keys, so getting changes to a set is no different to getting changes in a regular key – when you make a change to the set, you also need to use the PUBLISH command to add a message on the appropriate channel.