Answer the question
In order to leave comments, you need to log in
Difference between Pool and Client in PostgreSQL?
I started studying backend and appeared in the way of accessing the database. What is the difference between Pool and Client in node-postgres?
What is the best place to use?
Answer the question
In order to leave comments, you need to log in
Client - one connection to the database.
Pool - several Client
Pool allows you to make several (independent of each other) requests in parallel. If at least some competitive load comes to the service, then it is better to use it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question