You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Separate Connection limit for slave and master #8799
Add a new connection variable to separate the connectionLimit for master and slave
The Problem
Currently the slave and master should have same number of connections.
If we want to have a write intensive application we need to make sure the read is also supporting the same amount of connections.
For RDS unless we modify the number of connections or increase the read replica it is difficult.
If we can separate the Connection limit for slave and master it would be great.
For read replica if we want to increase the connection limit we must replicate the connection details multiple times since for RDS it is pointing to the load balancer instead of host
The Solution
If we can separate the Connection limit for slave and master to different variable in both case we can give the connection limit to what we want and solve the problem for mysql
Considered Alternatives
For slave we can replicate the connection details to suffix our use case but for master we need to make sure the slave is capable of supporting same number of connection as master
Relevant Database Driver(s)
DB Type
Relevant
aurora-mysql
yes
aurora-postgres
no
better-sqlite3
no
cockroachdb
no
cordova
no
expo
no
mongodb
no
mysql
yes
nativescript
no
oracle
no
postgres
no
react-native
no
sap
no
sqlite
no
sqlite-abstract
no
sqljs
no
sqlserver
no
Are you willing to resolve this issue by submitting a Pull Request?
✅
Reacted by AwesomeAdventure, Vitor Alves and Nguyễn Thế Nguyên
TypeORM has returned to active development after recently transitioning to new leadership (see related announcement).
As part of the new team's efforts to prioritise work on the project moving forward, it is necessary to clean up the backlog of stale issues.
🧹 This issue is being automatically closed because it has had no activity in the last 6 months.
If you believe this issue is still relevant, feel free to comment below and the maintainers may reopen it. Thank you for your contribution.
Activity
github-actions commentedon Sep 18, 2025
TypeORM has returned to active development after recently transitioning to new leadership (see related announcement).
As part of the new team's efforts to prioritise work on the project moving forward, it is necessary to clean up the backlog of stale issues.
🧹 This issue is being automatically closed because it has had no activity in the last 6 months.
If you believe this issue is still relevant, feel free to comment below and the maintainers may reopen it. Thank you for your contribution.