node-jdbc
node-jdbc copied to clipboard
Event loop blocked due to connection pool setup (on going investigation)
Writing this here to bounce debug tips.
First of all, yeahh for the awesome push on node-jdbc.
When setting up a min connection-pool (e.g 10), the event loop seems to be locked for a couple of seconds (~10 to 20s for a min of 10 connections). Time blocked is directly correlated with min connection pool config. After all initial connections open, the event loop unblock and proceeds as normal.
Any idea? JVM kickoff? Teradata Drivers? ... too complex?
Context:
- Node 4.1.1 (latest)
- Using JDBC Teradata Drives (not sure if it occurs with any other driver)
- Java version "1.8.0_60"
Related to db discovery/connection/network issue, no direct relation with node-jdbc