webmaxru / node-red-contrib-neo4j-bolt

A Node-Red node for Neo4j Bolt driver
https://www.npmjs.com/package/node-red-contrib-neo4j-bolt
Apache License 2.0
5 stars 4 forks source link

Feature/concurrent sessions #6

Closed bonnydeal closed 3 months ago

bonnydeal commented 3 months ago

Use a pool of sessions to avoid problems with session acquisition for high rate of requests.

  1. On node start-up create a pool of sessions.
  2. For each message grab a session, execute the query and put it back
  3. if no session is available pass the msg object unchanged to the 3rd output and let the flow decide if and when to retry.