You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2023. It is now read-only.
I was digging through the pipline feature in the lib and I am wondering if it can lead to weird behavior?
It sets _pipeline to true and then the subsequent command calls are stored and only executed when calling flush, however, can't it also store command calls from other parts of the code?
If we have two places in the code using the same client and one is using pipeline and other isn't, if they run at same time, wouldn't the commands that aren't supposed to be in pipeline also be executed in the pipeline because of the pipeline call?
Is this expected?
Should I create another client just for pipelining purposes?
I am not an expert in Redis and this is my first time using pipeline, so I wouldn't know.
The text was updated successfully, but these errors were encountered:
I was digging through the pipline feature in the lib and I am wondering if it can lead to weird behavior?
It sets
_pipeline
to true and then the subsequent command calls are stored and only executed when callingflush
, however, can't it also store command calls from other parts of the code?If we have two places in the code using the same client and one is using pipeline and other isn't, if they run at same time, wouldn't the commands that aren't supposed to be in pipeline also be executed in the pipeline because of the pipeline call?
Is this expected?
Should I create another client just for pipelining purposes?
I am not an expert in Redis and this is my first time using pipeline, so I wouldn't know.
The text was updated successfully, but these errors were encountered: