redis-plus-plus icon indicating copy to clipboard operation
redis-plus-plus copied to clipboard

Support RESP3 protocol

Open sewenew opened this issue 5 years ago • 2 comments

sewenew avatar Aug 22 '20 02:08 sewenew

Hi @sewenew,

It seems as if the hiredis redisSetPushCallback call is not being used in redis-plus-plus. It however seems as if this call only works with RESP3, and that's why I'm adding this comment to this issue.

Adding the functionality of this callback to redis-plus-plus would certainly help with some pub/sub issues that are coming from the user-base at the moment.

Disclaimer: This post is not a request, just a place-holder for less busy times.

Regards

wingunder avatar Feb 23 '22 09:02 wingunder

@wingunder Thanks for the suggestion!

I did some rough research on this PUSH feature. It needs Redis 6.0 and higher version of hiredis support. Also if it's used with synchronous API, client code still has to do a loop for these messages, and it cannot solve those pub/sub issues. Correct me if I'm wrong :)

I think those pub/sub issues might be solved by asynchronous API, however, so far, I still do not find a good API design for pub/sub's asynchronous API.

Regards

sewenew avatar Feb 23 '22 12:02 sewenew

#404

sewenew avatar Oct 13 '22 13:10 sewenew