I have a question on a replication factor. Let say I am using 1 loadbalancer, 9 webserver, 3 dbserver with aerospike as a cluster.
Excerpt from Aerospike documentation, “In Aerospike the replication-factor controls the number of copies of each record will reside in the cluster. Most users use a replication-factor of 2 which ensures all of your data can survive a single node failure.”
So how does that work if I were to plug in 1 lb, with 9 web servers split to 3 web servers for each db server with replication factor 2. How does it decides which server getting which copy? This is because I have to ensure that the server db01 has all of the db entries from db02/3 and vice versa.