Page 1 of 1

API express opening 3 connections?

Posted: Fri Dec 25, 2015 5:58 pm
by Dandy Ling Kwong

I am using API express to connect my mysql database which resides in AWS.

I noticed that whenever I launched an instance of my app, it creates 3 connections to my database.

The screenshot below shows the result when I use
codeshow full processlist/code
in mysql

Image

Can I know why API express opens 3 connections to the database? It helps to know as currently it makes my app 3 times more likely to hit max_connections limit in mysql (compared to only 1 connection)


API express opening 3 connections?

Posted: Mon Dec 28, 2015 4:24 pm
by Serhii Kulibaba

Hello Dandy,

It is standard API Express behavior which is related to productivity of the API Express.