Aeroscopic nodes without synchronization

We want to deploy Aerospeed as a replacement for memcache. We have two servers to deploy it.

For the cache, we do not need data replication across multiple nodes. In our architecture, we have one cache per node.

Now the problem with aerospace is that it doesn't share any architecture that increases the synchronization between the two nodes. The data transfer results in a lot of bandwidth between the two machines. Since we are on a 1Gbps network and the cache space is around 4GB, it really uses up all the bandwidth as soon as the cache starts to fill up.

We just want to use aerospace technology without cluster support.

Is there anyway to disable it in aerospike.conf?

+3


source to share


1 answer


This is definitely possible. In the namespace configuration, you must specify that the replication factor is 1:

namespace cache {
    memory-size 4G
    storage-engine memory
    replication-factor 1
    high-water-memory-pct 80 # Evict non-zero TTL data if capacity exceeds 80%
    default-ttl 432000 # select a non-zero TTL that makes sense to your use-case
}

      



With a non-zero TTL, data eviction is based on a histogram, the result is similar to the eviction of Memcached LRU. That this is the number of seconds will be what you need to estimate. Just keep in mind that TTL is reset when data is written to the record.

+5


source







All Articles