Remix.run Logo
Saris 6 hours ago

Wouldn't lots of streams speed up transfers of thousands of small files?

digiown 5 hours ago | parent [-]

If the application handles them serially, then yeah. But one can imagine the application opening files in threads, buffering them, and then finally sending it at full speed, so in that sense it is an application issue. If you truly have millions of small files, you're more likely to be bottlenecked by disk IO performance rather than application or network, though. My primary use case for ssh streams is zfs send, which is mostly bottlenecked by ssh itself.

catdog 4 hours ago | parent [-]

It's an application issue but implementation wise it's probably way more straightforward to just open a separate network connection per thread.