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 4103430
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T20:57:27+00:00 2026-05-20T20:57:27+00:00

Background I run (read: inherited) a network that is setup very similar to a

  • 0

Background

I run (read: inherited) a network that is setup very similar to a shared hosting provider. There are between 300-400 sites running on the infrastructure. Over the years the database topology has become extremely fragmented, in that it’s a 1 to 1 relationship from webserver->database.

Problems

  • The applications are 9 times out of 10 designed by third party design firms that have implemented wordpress/joomla/drupal etc.
  • The databases are sort of haphazardly spread across 6 database servers. They are not replicated anywhere.
  • The applications have no concept of separate database handles to separate INSERT to a master and a SELECT to a slave.
  • Using single master builtin mysql replication creates a huge bottleneck. The amount of inserts will down the master db very quickly.

Question

My question becomes, how can I make my database topology as flat as possible while leaving room for future scalability?

In the future I’d like to add more geographic locations to my network that can replicate the same databases across a ‘backnet’.

In the past I’ve looked into multi-master replication but saw a lot of issues with things like auto_increment column collisions.

I’m open to enterprise solutions. Something similar to the Shareplex product for Oracle replication.

Whatever the solution is, it’s not reasonable to expect the applications to change to accommodate this new design. So things like auto_increment columns need to remain the same and gel across the entire cluster.

Goal

My goal is to have an internally load balanced hostname for each cluster that I can point all the applications at. I

This would also afford me fault tolerance that I don’t presently have. At present, removing a database from rotation is not possible.

Applications like Cassandra and Hadoop look amazingly similar to what I want to achieve but NoSQL isn’t an option for these applications.

Any tips/pointers/tutorials/documentation/product recommendations are greatly appreciated. Thank you.

  • 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-05-20T20:57:28+00:00Added an answer on May 20, 2026 at 8:57 pm

    In the past I’ve looked into multi-master replication but saw a lot of issues with things like auto_increment column collisions.

    We use multi-master in production at work. The auto-inc conundrum was fixed a while ago with auto_increment_increment and auto_increment_offset, which allows each server to have it’s own pattern of increment IDs. As long as the application isn’t designed blindly assuming that all the IDs will be sequential, it should work fine.

    The real problem with multi-master is that MySQL still occasionally corrupts the binary log. This is mainly a problem over unreliable connections, so it won’t be a problem if all the instances are local.

    Another problem with multi-master is that it simply doesn’t scale with writes, as you’ve already experienced or assumed, given a point in your answer. All of the writes on one master have to be replicated by the others. Even if you spread out read load correctly, you will eventually hit an I/O bottleneck that can only be resolved by either more hardware, an application redesign, or sharding (read: application redesign). It’s slightly better now that MySQL has row-based replication available.

    If you need geographic diversity, multi-master could work.

    Also look into DRBD a disk-block-level replication system that’s now been built into modern Linux kernels. It’s been used by others to replicate MySQL and PostgreSQL before, though I don’t have any personal experience with it.

    I can’t tell from your question if you’re looking for high availability, or simply are looking for (manual or automatic) fail-over. If you just need fail-over and can have a bit of downtime, then traditional master/slave replication might be enough for you. The trouble is turning a slave that became a master back into a slave.

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

Sidebar

Related Questions

I've read plenty of times that we only can run background tasks for location,
i need to write simple android application that run on the background and read
There is a property called Application does not run in background and if we
I would like to create a program that will run in background as a
Background: I'm building a small application that will be run daily, pulling data from
I am running a background worker thread that takes a long time to run.
Background I have a few scripts that run as part of my build process
I have a Shell command that I'd like to run in the background and
I just read that while Windows Phone 7.5 background tasks can poll for a
Background We have worker processes that read jobs from a table in SqlServer then

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.