When do you need to use a read replica? Probably not when you think.

30-Sep-2019 1714

A extremely common issue I notice in Speedshop Tune clients is that they've chosen to use read replica before it was necessary.What's a read replica? Generically, a read replica is a SQL database that's set up to "follow" another one. It's a total replication of the "primary" database, and is continuously updated so it's always a very short amount of time behind the primary (how far behind it is is sometimes called "replication lag").You can set them up pretty easily on AWS and Heroku. Heroku calls them "followers" and it can be set up in just one command: https://devcenter.heroku.com/articles/heroku-postgres-follower-databases.

Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle