Redis connection reusability confusion #2900
Unanswered
pavelserbajlo
asked this question in
Q&A
Replies: 1 comment
-
What do you mean with "dummy" redis instance? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Ok, so I have 3 options on how to set up bullmq with redis:
connection
where I can also pass host/port myselfconnection
where I can pass dummy redis instance with my connection paramsclient
with dummy redis instance I have to take care of myselfwith 1) I understand I get no reusability in this scenario
with 2) bullmq fails to start with my 12 different queues, queueSchedulers and workers, total of 36 instances needing redis connection (I know, large app). It just hangs on
waitUntilReady()
of 8th instance.with 3) all seems to work, but given all the options here I'm not sure if this is what I should be using
Can anyone chime in on this? Thanks!
Beta Was this translation helpful? Give feedback.
All reactions