• thecreator01

    (@thecreator01)


    Hello, all subsites and main site use the same database. So what kind of solutions do you implement when the network grows? I think WordPress no longer supports the hyper-db plugin. https://www.ads-software.com/plugins/hyperdb/

    So what database solutions does WordPress offer for a growing multisite? Or any ideas?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello

    We use master-slave or master-master replication setup for such huge websites so this is something that you may consider. Your server admin should be able to set it up for you.

    Hello, @thecreator01 SpotifyPie

    There are several database solutions and strategies you can implement to ensure optimal performance and scalability:

    Database Clustering: Use MySQL clustering to distribute database load across multiple servers. This helps manage high traffic and ensures high availability.

    Database Replication: Set up master-slave replication for MySQL. The master handles write operations, while slaves handle read operations, balancing the load and improving performance.

    Horizontal Scaling: Implement horizontal scaling by splitting your database into multiple shards. Each shard can handle a portion of the data, which reduces the load on a single database instance.

    Object Caching: Use an object caching mechanism like Redis or Memcached to reduce database load by caching frequently accessed data.

    WP-Specific Solutions: Consider using plugins designed for scalable WordPress environments:

    HyperDB: Despite www.ads-software.com no longer supporting HyperDB, you can still use it from the GitHub repository. It supports database partitioning, replication, and failover.
    DB Cache Reloaded Fix: This plugin caches database queries, reducing the load on your database.
    Hosting Solutions: Consider managed WordPress hosting providers that specialize in high-performance, scalable solutions. Providers like WP Engine, Kinsta, and Pantheon offer robust infrastructure with built-in scalability.

    I hope this information helpful to you.

    Best regards
    geraldine198

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.