0

Is there any formula or "rule of thumb" I can apply to make an estimate of maximum number of connections a redis cluster hosted on AWS ElasticCache can support?

My cluster currently has 3 shards and 1 replica per shard. The node type is cache.m4.xlarge.

Anthony Kong
  • 2,976
  • 10
  • 53
  • 91

1 Answers1

1

This answer seems relevant for you, as it describes the Redis behavior.

But as you're mentioning AWS ElastiCache, max amount of connections seems to be up to 65 000 as referenced in this answer. Answer contains link to AWS documentation.

Amount of connections from your web application (php, python, ruby, ...) to Redis server is what you're looking for, the size of the node is more about "how much you can store", not "how many connections you can handle".

So this might be your "rule of thumb": https://medium.com/appaloosa-store-engineering/you-should-revise-your-redis-max-connections-setting-8136f063c916

Geeky Masters
  • 729
  • 2
  • 8