NaitLee / PHFS

This is a Python3 implementation of rejetto's HTTP File Server~*
GNU General Public License v3.0
16 stars 4 forks source link

"Limiting bandwidth" #6

Open NaitLee opened 3 years ago

NaitLee commented 3 years ago

Implementing bandwidth limitation means doing a lot of works on lower-level things, and seems I can't do... There are choices: let me try first; you help me; or give up.

What would to be mentioned is, PHFS have almost no performance bottlenecks, in a 1000Mbps network, it can transfer 90MiB data per second versus 13MiB with original HFS (to one client)

delgh1 commented 3 years ago

Please, don't give up yet. Although I'm only new to Python and I can't help much either. If you have time, try to look at how others implement bandwidth limitation. Give it a few months, there are people who are willing to help!

NaitLee commented 2 years ago

Just looked at the dependency wsgiserver.py. Seems it's not a big thing and never intended to be a blackbox. So I may later modify it to implement low-level stuffs (like bandwidth limit) in it.

Hey! Many big or small projects have modified parts of other projects, and there's no problem ever happened. Learning to "borrow" other things is a significant part of doing software development. 🙂