WP Moar Speed
View all WP Moar Speed

WordPress Persistent Database Connections

Introduction

If you’re running a large-scale WordPress instance, the time it takes to connect to the local MySQL database adds up. For a smaller site, it will be insignificant.

Unfortunately, WordPress doesn’t support persistent database connections. But there is a GitHub issue on the WordPress Performance Plugin that might make this a possibility.

Module Proposal: Persistent database connections · Issue #403 · WordPress/performance · GitHub
Overview Proposed module name: Persistent Database Connections Proposed module slug: persistent-db-conn Proposed module owner GitHub username(s): About the module Purpose Persistent database connections has the potential for improving Wo…
github.com

LudicrousDB

GitHub – stuttter/ludicrousdb: LudicrousDB is an advanced database interface for WordPress that supports replication, failover, load balancing, & partitioning
LudicrousDB is an advanced database interface for WordPress that supports replication, failover, load balancing, & partitioning – GitHub – stuttter/ludicrousdb: LudicrousDB is an advanced database interface for WordPress that supports replication, failover, load balancing, & partitioning
github.com

wp-pconnect Drop-in

wp-pconnect/db.php at master · axelspringer/wp-pconnect · GitHub
A drop-in replace for WordPress to enable persistent MySQLi connections – wp-pconnect/db.php at master · axelspringer/wp-pconnect
github.com
0 Shares: