chrisdutz commented on issue #1027:
URL: https://github.com/apache/plc4x/issues/1027#issuecomment-1630445950

   But reading the part of "reusing" the connection ... do I understand it 
correctly: If the connection is already established and you are re-using the 
connection, then PLC4X takes 83ms and Milo is at 539ms? ... if that was the 
case, it would really make me happy. And in that case I would strongly suggest 
to have a look at our connection-cache (We refactored the connection-pool since 
0.10.0 quite a bit and it's now called connection cache).
   
   It creates a connection, just the same way the normal Driver manager does 
it, but it doesn't close the connection ... the next time the same 
connection-string is used, it returns the existing connection. Perhaps this 
approach would not help speed up the first connection, but it would definitely 
help with all following ones. 
   
   But we still should look into why it's taking so long to connect ... could 
you please share more details on your setup?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to