|
|
|
|
|
by dbmikus
1985 days ago
|
|
If you have 1m clients making DB requests and are hitting performance constraints you could do any of: 1. Add more ram, CPU, etc to the DB host
2. Create DB read replicas for higher read volume
3. Shard the DB (reads and writes)
4. Offload logic to stateless clients, who you can easily scale horizontally
So option 4 is reasonable if you don't want to or can't do the other options. |
|