In database cluster, write & read separate (Nodes)

In CakePHP 3.x , Is it possible to configure or setup the database such as read from one database and write into another database in the clustering node. so that, can be increase the performance in terms of speed for the MySQL queries.

Or is there any other alternative way for the database in terms of optimization or better response for more than 10000 active connection?

Thanks
Elavarasan