r/linux_programming • u/[deleted] • Jun 13 '23
Fastest Way to Serve Large Files
I have a mix of small (10-20mb) and larger (not too large, under 10gb) files, what's the fastest way/server program to serve the files on an http connection? It's all Nvme and gigabit Ethernet. Thanks!
6
u/addict1tristan Jun 13 '23
https://github.com/svenstaro/miniserve
It’s a statically linked executable for any OS with any architecture. Have been using it for years and will easily saturate a gigabit connection
1
u/Yung_Lyun Jun 13 '23
Are you asking “The fastest way to move files over the network” or “The fastest deployment of network services for serving files”?
1
Jun 13 '23
Fastest way to move files over the network on http (so, just standard web browsers can read it). Not rsync or anything
3
u/Nice_Discussion_2408 Jun 13 '23
cd ~/Downloads && python -m http.server 8080