QnaList > Groups > Redis-Db > Apr 2016
faq

[redis-db] Question On DB Sync And Keyspace Notifications

Hi,
 I am trying to use Redis as the means to have a state sync across two 
applications on two nodes. Node A is Redis master and Node B is the slave. 
The application also registers for keysapce events.
 My question is about restart. If Node B which is the slave restarts and 
joins back the master. There is DB sync that happens and is it possible for 
me to have an application on node B which will get keyspace events for all 
keys that are synced during this DB sync? 
 Or should the application on Node B have to read through the DB to do 
operations. If it has to read through the DB, than how do I handle the 
synchronization between the reading through the DB and any additional 
incremental sync and keyspace notifications that happen, will that have to 
be taken care by my application logic?
Thanks
Jana
You received this message because you are subscribed to the Google Groups "Redis DB" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]
To post to this group, send email to [email protected]
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.

asked Apr 7 2016 at 12:52

Pathangi Janardhanan 's gravatar image



Related discussions

Tagged

Group Redis-db

asked Apr 7 2016 at 12:52

active Apr 7 2016 at 12:52

posts:1

users:1

Redis-db

©2013 QnaList.com