I'm trying to implement a Maven plugin to upload an assembly (a very huge one, > 1.5 Gb) to the FTP in a multithreaded manner to save time during build preparation. Is there any specific library I can use for that? Or if there's a way to assemble uploaded parts right on the FTP server?
Many Thanks, Vlad.
The FTP client upload limitation is driving by TCP Window Size 64KB and latency of connection. I proven the concurrent upload speed are not limited by bandwidth only. Means even you have a 100Mbps connection link with 50ms latency, the max. upload speed for single FTP thread just have 1280Kbyte/s.
Solution1, Change the TCP Window Size to 129KByte the transmit data will be double. Solution2, Allow more than 1 thread with same source IP and source file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With