I am using Knex npm as my query builder. version 0.20.11. Node version is 12.16.1
Pool size
Min -3 Max -500
My services is do some long running process, do insert and updates more than 2 tables finally commit the transaction.
i give the concurrent call more than 150 to 200, to my service. The table is locked.service is hanged.Not able to give even a single thread after the table is locked.
i am using knex.transaction, i commit and destroyed my connection after end of the service.
pls suggest me how to solve this,if any one faced this kind of issues.
Note:Working fine in Minimum number of threads