Pick the fix
App servers are at 20% CPU; the single Postgres primary is at 95% CPU from reads. Next step?
Hint 1 of 1
Which tier is saturated?
Choose an answer, then open Show answer below to check it.
Show answer
Answer: A Fix slow queries and add read replicas or caching for the read load
Correct. The bottleneck is database reads.
Scale the tier that is saturated. The primary is at 95% from reads, so fix the slow queries first, then move reads to replicas or a cache.
Why not the others?
- B Add more app servers. They aren't the bottleneck; more of them adds DB load.
- C Shard immediately. A big step before cheaper options.
- D Move to a bigger app server. Wrong tier.