Suppose you have a database and it has got a products table. And, there are 100 users. 60 users are reading data of product A and the remaining 40 users are reading data of product B.
1. You can create an elasticache cluster. Let the first among 60 users query product A and the remaining 59 users use the data from the cache. ElastiCache is effective in caching frequent requests.
2. Create read replicas to distribute the read-only traffic across multiple database instances this improving the read performance.
Comments
Post a Comment