Laravel 8 - Database lazy load

Job ID: 36137965

Budget: $250 – $750 CAD

We have Laravel 8 project and are using MySQL database read and write servers. On most of the requests write server connection is not needed. However, Laravel opens connections to both read and write servers. That causes a delay in page load.

We must stop Laravel from opening the connection to the write server until such action is required.

Please note you will not have access to the project files. We need a Global approach to solve this without modifying project files.
Related categories: PHP MySQL Laravel