Sharding write pattern
The previous chapter focused a bit on optimization in terms of splitting the query across cloned instances, which would be only part of a true database scalability concern. The database would still have performance concerns, as there is replication lag coupled with a fragile splitting mechanism through the proxy. The best route to take to reduce all of these concerns, is to architect a distributed database from the very beginning.
In the sharding write pattern, we take the previous concepts a bit further in-depth, by not analyzing the query to determine which instance to execute against. Instead, we use a cluster management tool called MySQL Fabric, which was announced by Oracle in early 2014. Fabric provides a single API ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access