w***@gmail.com
2018-11-10 07:46:58 UTC
In my system , we use redis key space notification to listen key expire
event.When my server get the key expire event, I will do something with the
key.It is normal in a single machine.
Unfortunately, the production environment is cluster deployment and the
service is stateless.So when a key expireïŒall the server will receive the
same notificationïŒand then the same business method will be executed
several times.
Is there any good way to guarantee one key expire only send one
notification to one of the clusters.
I use java languageïŒcan you give me some example ? Thanks a lot....
event.When my server get the key expire event, I will do something with the
key.It is normal in a single machine.
Unfortunately, the production environment is cluster deployment and the
service is stateless.So when a key expireïŒall the server will receive the
same notificationïŒand then the same business method will be executed
several times.
Is there any good way to guarantee one key expire only send one
notification to one of the clusters.
I use java languageïŒcan you give me some example ? Thanks a lot....
--
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 redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.
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 redis-db+***@googlegroups.com.
To post to this group, send email to redis-***@googlegroups.com.
Visit this group at https://groups.google.com/group/redis-db.
For more options, visit https://groups.google.com/d/optout.