[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remote SFTP File Open (SSH_FXP_OPEN) speed optimisations


On Fri, 2020-06-12 at 14:55 +0000, Does Itwork wrote:
> Hi, 
> 
> Are there any tricks or settings in libssh that could speed up slow
> file opens of a new file on a remote sftp server?
> When we retrieve files in a time sensitive application using libssh,
> the sftp file open command(SSH_FXP_OPEN) takes much longer to
> complete than the actual read(SSH_FXP_READ) of a small amount of data
> from the file (50-100 bytes)  - open: 16-60ms vs read: <2ms.
> Many thanks.

Hi,
this will probably depend on your sftp server implementation and will
certainly need some more investigation where the server (or client) is
spending time when processing (or sending) this request.

Regards,
-- 
Jakub Jelen
Senior Software Engineer
Security Technologies
Red Hat, Inc.


Follow-Ups:
Re: Remote SFTP File Open (SSH_FXP_OPEN) speed optimisationsDoes Itwork <doesitwork@xxxxxxxxx>
References:
Remote SFTP File Open (SSH_FXP_OPEN) speed optimisationsDoes Itwork <doesitwork@xxxxxxxxx>
Archive administrator: postmaster@lists.cynapses.org