We want to avoid overloading the primary by using read replica whenever possible:
Read queries
When we do not care about the latency of read replica update (1-2 seconds)
When to use primary instance
An example scenario where using the read replica for queries cause a problem
The retailer submits a new payment type form, and gets back to the payment type list page. Thee newly added payment type wasn’t there, since the latency between primary<->secondary was longer than the time between the form submission API call and the subsequent list payment types API call.
Question to ask:
Will the read call immediately come after a write?
The MySQL store maintains two connections - read-only and write