Hey, I have an AWS ECS task with 1vcpu which is using prisma. Does that mean it has 1 core, so prisma only has 3 connections?
k
khareta
07/29/2021, 1:27 PM
Your calculation should be based on the database server, not the prisma server as I understand.
r
Ryan
07/29/2021, 1:28 PM
@Ahmar Suhail 👋
Yes that’s correct. You can configure the connection pool explicitly but that’s the default you’ll get 🙂
k
khareta
07/29/2021, 1:29 PM
@Ryan I thought it was based on the database server since all connection creation will be done there, and memory management, etc.
a
Ahmar Suhail
07/29/2021, 1:31 PM
nice, thanks! 🙂
r
Ryan
07/29/2021, 1:52 PM
@khareta This is the default no. of connections Prisma would open. This is based on your system as the binary is running there and needs enough CPU to handle database connections.