Jump to content

Split database connection for read/write


Rudy
 Share

Recommended Posts

@ryan, would you consider adding the ability for PW to split database connections for read and write? I think it will be really useful, especially for high-traffic sites.

Something like this (https://laravel.com/docs/master/database#using-multiple-database-connections) or WordPress HyperDB (https://wordpress.org/plugins/hyperdb/)

Thanks
Rudy

 

  • Like 4
Link to comment
Share on other sites

@dragan, thanks for replying. We host quite a few PW sites (in the hundreds). They are using AWS Aurora database. I want to take advantage of AWS replicas and being able to separate read and write requests on the database level. 

Yes, we've already using InnoDB for all of our database tables.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...