-
Notifications
You must be signed in to change notification settings - Fork 37
Open
Labels
Description
The usages of a Redis library are very inconsistent.
Having 1 Redis server without sentinel --> phpredis with \Redis
Having X Redis server in a cluster --> not supported
Having X Redis server with sentinel --> Credis in standalone mode
In Sentinel mode, one of the Sentinel instances are picked, getMasterAddrByName() is called and then a connection is established to the master where all all/write operations are done like in normal Redis mode.
Credis uses phpredis by default if available, but phpredis also has a \RedisSentinel class which has the getMasterAddrByName() function.
TL;DR: Credis is only used in Sentinel mode and can get replaced by phpredis, which is required by QueuedTracking anyway.