Skip to content

Does it work auto pipeline when I use adapter like go-redis? #206

Answered by rueian
KwonsooPark asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @KwonsooPark,

rueidis is able to pipeline concurrent requests automatically.

In your example, however, those client.Expire(ctx, key, exp).Err() aren't fired concurrently, and therefore they won't be pipelined.

Unfortunately, client.Pipeline() equivalent is not yet implemented in rueidiscompat. Would you consider using DoMulti() instead?

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@KwonsooPark
Comment options

@t-kruth
Comment options

@rueian
Comment options

@t-kruth
Comment options

Answer selected by KwonsooPark
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants