Is it normal for database connections to spike like this?

Viewed 266

Check out this graph of my database connections. I am running a Postgres database on Lightsail, and I am connecting to it from a single Ubuntu instance running a single instance of Express and Sequelize. I am a little confused by the spike in database connections.

You can see that in the past it has spiked to nearly 400. I haven't experienced any performance issues, and when I look at the CPU utilization over the same period, there is nothing concerning. But still I am wondering if the number of connections is normal. From my very dumb understanding of the issue, I am using Sequelize as an ORM, and I am using the default connection pool of 5, so it seems to me that there would only ever be up to 5 simultaneous connections.

Database connections

0 Answers
Related