suppose i have create a cache cluster with 4 nodes. Now I'm having 1 single configuration url for elastic cache cluster. & when ever i hit config url...it choose an random node nd store my data & these nodes are in-synch.

Now my question is that ...suppose i stored 5GB data then it will be stored on my both the nodes? It means in my 4 nodes 20GB space will be occupied which is illogical.

Can somebody explain how this works & is there any solution to get rid of this problem ?

I wanted to know how it store and serve data actually.

有帮助吗?

解决方案

That depends on the caching engine and configuration you are using with Elasticache. For example, if you are using Redis with replication, that would consume 10G (5 on the master and 5 on the slave). If you are using Memcached without replication, data would be stored only on the node you hit, so you would use ~1.25G per node.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top