-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
Description
I was wondering what the best strategy would be to connect to a Redis server during the execution of a script:
- Create one instance and share that across all code that requires Redis (= 1 connection to Redis)
- Create different instances for read, write and polling requests (= 3 connections to Redis)
Are there any performance gains from having multiple connections?
Apart from that, would it make any difference to have a separate connection for code that relies a lot on BRPOPLPUSH?
Thanks
simon-liebehenschel