GeezFORCE opened a new issue, #380:
URL: https://github.com/apache/mina-sshd/issues/380

   ### Description
   
   Not sure if this is the right platform to ask, please direct to any other 
platform if not.
   
   Is there any docs/ samples which illustrates how we can pool a predefined 
number of Client Sessions for use frequently.
   
   ### Motivation
   
   I have an application for SFTP client where I need to regularly connect to 
an SFTP Server and to see if a set of files are present. Currently, I create a 
dedicated client, a session and sftp client each time when I need to do this. 
But, this is not scalable as the server imposes a restriction on the number of 
concurrent connections that can be established.
   
   ### Alternatives considered
   
   I tried to implement my own pooling establishing a fixed number of client 
sessions. But I am finding it hard to keep the sessions alive even by setting 
up the heartbeat api available.
   
   ### Additional context
   
   If this is already possible, please direct me to any samples available or 
kindly share how this can be implemented
   
   Thanks in advance


-- 
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: dev-unsubscr...@mina.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@mina.apache.org
For additional commands, e-mail: dev-h...@mina.apache.org

Reply via email to