Scalability comes from the ability to distribute the work that needs to be done to the proportionally growing software and hardware.
We can divide the work of our software in two areas: data and services.
The division is three dimensional:
X dimension: design to clone things, such as database and services, to scale transactions
- Clone database in master slave manner. Data is written directly to the master database only. And then cloned to the slave database: