connection-pool icon indicating copy to clipboard operation
connection-pool copied to clipboard

How can I connect to a redis Cluster

Open henrywood opened this issue 5 months ago • 0 comments

Hi !

Can somebody show me how to make a Connection Pool implementation that connects to PhpRedis Cluster ? Let's say I have these Redis Cluster nodes:

192.168.10.11, 192.168.10.12 and 192.168.10.13. 192.168.10.11 is the master

I am using Swoole 5.0.1

Do I need to call \Swoole::enableCoroutine(); ?

Thanks !

henrywood avatar Feb 11 '24 01:02 henrywood