Hi all,
What is the best practise for configuring Redis for use across 2+ hosts, each with an AH instance?
My options, as I see them, are:
1) Connect each AH instance to the same Redis instance (e.g. server1+ah1+redis1, and server2+ah2+redis1) (see
Cluster Topology from AH docs).
2) Connect each AH instance to its own Redis instance, and connect each Redis instance as a replication master or slave (see
Replication, available since Redis 2.8) with slave write-enabled.
3) Connect each AH instance to its own Redis instance as #2, but using the newer Redis 3.0 clustering capabilities (see
Redis Cluster Tutorial).
4) Another method?
Sentinel? Haven't explored this yet.
I've had some early success with #2, I'll be building out an application based on this configuration. Nodes join/leave as anticipated, chatroom is under investigation next.
I was wondering what the best practise was for multi-host AH, what experiences folks might have had, and what pitfalls they might have encountered.
Thanks,
- Peter