How to do Master & Slave database setup for Strapi

System Information
  • Strapi Version: 4.3.8
  • Operating System: MacOS Monterey v12.4
  • Database: MySQL
  • Node Version: 16.20
  • NPM Version: 6.14.16

Please help me to setup two databases in Strapi one write DB for admin and another read DB for users who access the content from the frontend. I need this setup because I want to transfer all traffic to read DB to avoid any crash on write DB.