ktheory / dalli-elasticache

A wrapper for Dalli with support for AWS ElastiCache
MIT License
129 stars 32 forks source link

Always use host name instead of private elasticache IPs as internal I… #23

Closed girak closed 8 years ago

girak commented 9 years ago

…Ps can change after a node is rebooted

girak commented 9 years ago

@ktheory Dalli / Rails cache should reference to the hostnames, instead of referring the ec2 internal ip. the app can only failover correctly during the node change iff it's referenced to hostnames

Please consider merging this in and cut a new gem release

readysetawesome commented 8 years ago

+1 this is a problem for us as well.

terencetung commented 8 years ago

:+1: totally need this

weeyum commented 8 years ago

:+1:

jldbasa commented 8 years ago

:+1:

ktheory commented 8 years ago

Ping @zmillman. What do you think?

zmillman commented 8 years ago

Sounds good to me! I was always concerned about having to reboot the app servers to refresh IPs in the case of server reboots...but I also hadn't done anything about it since all my uptime anxiety has been focused on RDS.

girak commented 8 years ago

@ktheory @zmillman Thanks guys, we have just been hit again with some of the services not using the beta gem that uses this PR. It will be great to make it official asap.

ktheory commented 8 years ago

@girak Thanks for this. :+1: Will publish a new gem today.

ktheory commented 8 years ago

Just published v0.2.0 :smile: Thanks for your patience.