clarify connection pooling
See original GitHub issueRegarding connection pooling… if I request a new sql.Connection(cfg) (more than once) will it return a connection from the same pool (based on cfg options), or will it create a new pool?
Regarding v2 (Promises based) if the above isn’t the behavior, could it be made to be the behavior internally? I’m doing something similar to the following, but if I could just have the same connection from a pool, that would be awesome.
Issue Analytics
- State:
- Created 9 years ago
- Comments:21 (3 by maintainers)
Top Results From Across the Web
Connection Pooling in Java - DigitalOcean
Connection pooling means a pool of Connection Objects. Connection pooling is based on an object pool design pattern. Object pooling design ...
Read more >Documentation: Clarify how a Connection Pool works #2260
Most databases connectors make use of the term "ConnectionPool" to describe a pool of connections that are held open to the database that...
Read more >A Simple Guide to Connection Pooling in Java - Baeldung
Connection pooling is a well-known data access pattern. Its main purpose is to reduce the overhead involved in performing database ...
Read more >JDBC Connection Pools - Oracle Help Center
A connection pool contains a group of JDBC connections that are created when the connection pool is registered—when starting up WebLogic Server or...
Read more >What Is Connection Pooling - YouTube
Differnce between DataSet. · ADO.NET Connection Pooling | ADO.NET Interview Questions | Connection Pooling in C# · Connection Pool with an Oracle ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@mbrio - mssql’s connection is always a pool…
I usually do something like…
Then from the outside…
there’s also…
connection.connect()but I’m not sure if it will resolve the actual connection… in my case, the same promise/connection will always be returned, and it is indeed a pool.This is one of my favorite GH issues I’ve come across - good questions on a tricky subject and great answers with usable examples. Helped me out a ton! Thx guys