node-jdbc icon indicating copy to clipboard operation
node-jdbc copied to clipboard

Event loop blocked due to connection pool setup (on going investigation)

Open anselmo opened this issue 11 years ago • 1 comments

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"

anselmo avatar Oct 12 '15 20:10 anselmo

Related to db discovery/connection/network issue, no direct relation with node-jdbc

anselmo avatar Oct 20 '15 21:10 anselmo