Open GoogleCodeExporter opened 8 years ago
Regarding the suggestion to use RPUSH and BLPOP instead of PUBLISH and
SUBSCRIBE, it seems that it would not work because the slave is read only, and
the BLPOP operation removes the element off the slave that it is reading it
from. I think PUBLISH / SUBSCRIBE is the way to go.
Original comment by joecroni...@gmail.com
on 2 Jun 2011 at 10:48
You would BLPOP on the slave, then upon completion, BLPOP on the master. It is
2 commands to the master and 1 to the slave, but it has the same effect.
Original comment by josiah.c...@gmail.com
on 3 Jun 2011 at 12:35
Thanks for clearing that up. I just tested using BLPOP the way you described,
and it works great. Much appreciated!
Original comment by joecroni...@gmail.com
on 3 Jun 2011 at 3:57
Original comment by pcnoordh...@gmail.com
on 14 Jun 2011 at 7:13
Original issue reported on code.google.com by
kashifsh...@gmail.com
on 19 May 2011 at 2:06