Large Scale NoSQL Database Migration Under Fire
medium.com
medium.com
* Off - Data written only to MySql (starting state)
* Secondary - Data written to both MySql and Redis, and MySql shall be the source of truth.
* Primary - Data written to both MySql and Redis, and Redis shall be the source of truth.
* Exclusive - Data written exclusively to Redis.
As mentioned in the article, the Secondary phase allowed some time for the new database to be populated. And the distinction between Primary and Secondary phases gave us a rollback option if something went wrong.
Are there any good write-ups where a migration went really wrong and how it was fixed?
~180000 read IOPS
What are those IOPS in this case? Queries? Transactions? Disk block accesses?
It's a standard measure: https://en.wikipedia.org/wiki/IOPS
N1QL was our primary use case for using Couchbase at my last position and it worked wonderfully (though at less than half your scale).
For straight key operations, the overhead of all the JVM stuff on couchbase seems like a lot, especially when considering the alternative amount of K/V stores these days.
Glad to hear Aerospike turned out well. Been keeping an eye on them over the past few years.
One click it is not.