KarelCemus / play-redis

Play framework 2 cache plugin as an adapter to redis-server
Mozilla Public License 2.0
164 stars 44 forks source link

How to configure for AWS Elasticache #219

Closed nemo83 closed 5 years ago

nemo83 commented 5 years ago

Hello,

How can I configure this library when I have one master and a number of (read-)replicas?

I'm asking this because I'm using AWS Elasticache and I have 3 nodes in total of which one master node and two replicas.

Would you recommend switching from Master/Replicas approach to a proper Redis Cluster?

Thanks

KarelCemus commented 5 years ago

Hi, I am not much familiar with your redis setup, so I cannot much help. However, #148 is a discussion how to use play-redis in AWS, which might help you. And then I suggest you to check rediscala library to figure out how to properly configure it for your setup, whether a cluster setup is sufficient or you have something like a sentinel? Then feel free to propose a feature request to address your use case.

Hope this helps.

KarelCemus commented 5 years ago

Any feedback on this issue? Or can I close it?

nemo83 commented 5 years ago

Sorry, was away on holidays. I'm closing this now.

KarelCemus commented 5 years ago

Ok, thanks for the update. Could you give me some feedback regarding the status? Whether you succeeded or chose some other solution? Just for a future reference.

nemo83 commented 5 years ago

We eventually changed approach and used the Standalone configuration instead with no read replicas.