The read.me file is not that clear (in English) on a few things, can you please confirm:
database.databases: Connection pool:
If I want to start with 10 connections, and have a maximum of 25 connections to MySQL, but be able to make 10.000 connections to SMProxy, would this be correct:
# The number of connections made to the database from SMProxy when it starts?
startConns: 10
# The MAXIMUM number of concurrent connections that can be made to the database from SMProxy?
maxSpareConns: 25
# This would be the maximum number of connections the app can make to SMProxy? (the connection pool)?
maxConns: 10000
database.serverInfo: No slaves
If you have just one MySQL instance (no slaves), is the "read" section required?
server.swoole
Is the max_coro_num related to the maxConns or maxSpareConns? What should this number be for 25 concurrent database connections and a pool of 10000 connections?
Hello
The read.me file is not that clear (in English) on a few things, can you please confirm:
database.databases: Connection pool:
If I want to start with 10 connections, and have a maximum of 25 connections to MySQL, but be able to make 10.000 connections to SMProxy, would this be correct:
database.serverInfo: No slaves
If you have just one MySQL instance (no slaves), is the "read" section required?
server.swoole
Is the max_coro_num related to the maxConns or maxSpareConns? What should this number be for 25 concurrent database connections and a pool of 10000 connections?