I intend to use RedisCluster as my PHP session storage backend, using the native "rediscluster" session handler from PHPRedis library.
I plan to use persistent connections (using ?persistent=1 parameter in session.save_path).
I just wonder why this option is marked as "experimental" in documentation:
persistent (integer, should be 1 or 0): defines if a persistent connection should be used. (experimental setting)
Should I expect problems using persistent connections in session handler? Or is it just a very old comment I should ignore...
I just added that it was experimental when I initially added the functionality. That being said, we don't use Redis Cluster in production so perhaps others could comment on their experience using persistent connections for cluster.
Thank you for your reply.
It seems that although _Redis_ is widely used around the world for multiple use cases, _Redis Cluster_ does not seem very widespread.
I hope that PHPRedis is stable enough for use over a Redis cluster in production though...
@koleo do you have any updates on how this has worked out for you? It's been a little over a year, do you have any experience to share? thank you!
Hi @dsnytech-egplusww
I have not much information to share about phpredis over a Redis Cluster because I ended up with Redis (not Redis Cluster) in master-slave mode, which finally met my needs.
Most helpful comment
Thank you for your reply.
It seems that although _Redis_ is widely used around the world for multiple use cases, _Redis Cluster_ does not seem very widespread.
I hope that PHPRedis is stable enough for use over a Redis cluster in production though...