Comments (2)
Hello,
I've recently landed #40 which lays the groundwork for interleaving packets which superceeds #24 but does not explicitly issue multiple read and write requests in parallel.
I've also landed #39 which allows the client to specify a larger packet size. Some simple testing shows increasing the size to 64k cuts the benchmark time from 27 seconds to 18 seconds. Increasing the packet larger has mixed results, 256k causes the server to hang up on the machine I tried, or had no increase over the speedup from 64k.
I think this is because the underlying ssh
package does not support packets larger than 64k so there is minimal benefit in sending larger requests if they are chunked by the underlying ssh layer.
I think these PRs lay a foundation for increasing the throughput, but don't have the bandwidth to take this further at the moment. Hopefully other contributors can assist here.
from sftp.
Duplicate of issue #15
from sftp.
Related Issues (20)
- Request attributes are not being propagated for SSH_FXP_OPEN operation HOT 5
- Should Seek() io.SeekStart and io.SeekCurrent do the different things? HOT 1
- sftp client hang when exit in sftp server example HOT 2
- Connection lost when using library with limited bandwidth HOT 5
- In Windows, `Server` should allow a pseudo-directory for `/` which enumerates available drives HOT 22
- How can I perform sftp download and upload feature for multiple files at root directory and within nested subfolder using https://github.com/pkg/sftp HOT 3
- close file double time sometimes cause copy problem wh HOT 10
- how to handle binary and ascii file transfer to and from sftp server? HOT 1
- The performance of transferring file is bad HOT 1
- getting error while creating a client in a multithreaded usecase "Failed to create SFTP client: error receiving version packet from server: server unexpectedly closed connection: unexpected EOF" HOT 8
- Does this package Support z/OS (s390x) or not? HOT 2
- Performance is much slower than a Java implementation when running in z/OS HOT 5
- Proposal: Standardized FileInfo Structure. RE: z/OS performance investigation HOT 1
- Question about sshFxpOpendirPacket packet HOT 4
- Server: Provide sequential read/write API HOT 6
- custom interface fails to trigger concurrent reads in `ReadFrom` HOT 4
- Strongly-typed accessor for FileStat HOT 3
- Can we get file size in the Filewrite handler? HOT 2
- Large directory ReadDir ends up with connection lost error HOT 8
- Blocking may occur when connecting to the wrong port HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sftp.