redis / ioredis

🚀 A robust, performance-focused, and full-featured Redis client for Node.js.
MIT License
14.34k stars 1.19k forks source link

NAT support for Non-cluster mode? #1017

Closed joonhocho closed 4 years ago

joonhocho commented 4 years ago

I am using AWS ElastiCache but need public access, so I am using VPC + NAT configuration. (reference: https://docs.aws.amazon.com/AmazonElastiCache/latest/red-ug/accessing-elasticache.html)

However, I am not using cluster mode (multiple shards) for my setup. I only use replicas for failovers.

Does non-cluster client also support NAT mapping, natMap, option? If primary fails and is replaced by replica, does it automatically switch when MOVED is issued?

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed after 7 days if no further activity occurs, but feel free to re-open a closed issue if needed.