문제

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