Closed GoogleCodeExporter closed 8 years ago
The pub/sub protocol does not actually allow a ping as such, but there are ways
to spoof it. Using this spoofing, this feature is already implemented in
StackExchange.Redis, the successor to BookSleeve (see
http://marcgravell.blogspot.co.uk/2014/03/so-i-went-and-wrote-another-redis-clie
nt.html). Separately, I have also logged with redis the *opposite* issue - the
issue of long-dead client connections remaining listed on the redis server
forever (from subscribers), and subsequently it is possible that at some point
soon redis will have first-class keep-alive support in the not too distant
future. If and when that happens, support for this will be extended into
StackExchange.Redis.
I strongly advise you consider migrating to StackExchange.Redis:
- this feature is built in *today*
- StackExchange.Redis also supports fully automatic reconnection if a socket
dies, including automatic re-subscription
- all future development will be focused on StackExchange.Redis, not BookSleeve
(I do not propose to retroactively apply this change to BookSleev)
Original comment by marc.gravell
on 26 Mar 2014 at 11:19
Original comment by marc.gravell
on 27 Mar 2014 at 9:37
Original issue reported on code.google.com by
tunt...@gmail.com
on 26 Mar 2014 at 10:34