Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8989883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T22:22:16+00:00 2026-06-15T22:22:16+00:00

I’m using an Amazon RDS instance to host MySQL databases for all of my

  • 0

I’m using an Amazon RDS instance to host MySQL databases for all of my 6 WordPress websites. The moment the largest site’s traffic peaked, the RDS instance has CPU ultilisation of 100% for over an hour.

I’m thinking of splitting the load for the database server by read activity. Most traffic to my websites is due to non-logged users. So, I would like to connect these non-logged users to a read replica RDS instance why the rest, to the source RDS instance, the current database connection I’m using.

How do I achieve that?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T22:22:17+00:00Added an answer on June 15, 2026 at 10:22 pm

    Scaling WordPress
    As traffic on your website increases, you will experience more load on the servers as well. To keep up with your speed you have two possibilities: scale up – increase the size of your box – this – especially at AWS – obviously has limits besides other disadvantages like downtime for a scaling in both directions.

    scale out: split the traffic and let several machines do the work.
    Just add a machine as your traffic increases over a threshold and remove a power when your traffic has a lower level.

    Scaling in a usual setup can be done at either your webservers or your database servers. AWS helps you with both. Since the database is the common bottleneck and this question actually wants this to be addressed, I’ll talk about database scaling now.

    Amazon RDS (managed MySQL SaaS) offers a one-click solution to create read-replicas of your database. In the world of databases the read replica is called replication slave. Every modifying query executed on your master server will be automatically replayed on your slave machine.

    You can create as many read replicas as you need to serve your users.
    Now comes the complicated part. We are speaking about READ replicas. This means, that you can’t simply balance your queries randomly over all instances. Only the master server takes writing queries.

    Splitting query types and distributing load evenly could be achieved by a database proxy like MySQL proxy which will require an additional machine. Your application would talk to this proxy and would not need any changes by itself.

    Although WordPress wasn’t designed for a master-slave setup and this is not supported natively we all know that there are plenty of blogs out there with a lot of traffic.

    Fortunately there is a solution called HyperDB

    http://wordpress.org/extend/plugins/hyperdb/

    This is a WordPress plugin, which does

    • Read and write servers (replication)
    • Configurable priority for reading and writing
    • Local and remote datacenters
    • Private and public networks
    • Different tables on different databases/hosts
    • Smart post-write master reads
    • Failover for downed host
    • Advanced statistics for profiling

    This plugin will replace the default database abstraction layer in WordPress.
    It is developed and actively used by the WordPress team.

    Just download and make sure to follow the installation instructions carefully.

    Have fun!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the SimpleRSS gem to parse a WordPress RSS feed. The only
Let's say I'm outputting a post title and in our database, it's Hello Y’all
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
That's pretty much it. I'm using Nokogiri to scrape a web page what has
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have just tried to save a simple *.rtf file with some websites and
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I have a French site that I want to parse, but am running into
We're building an app, our first using Rails 3, and we're having to build

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.