10 releases (4 stable)
1.2.0 | Dec 25, 2023 |
---|---|
1.1.0 | Dec 9, 2023 |
0.3.0 | Dec 2, 2023 |
0.2.2 | Nov 28, 2023 |
0.1.1 | Nov 27, 2023 |
#550 in Network programming
27 downloads per month
29KB
402 lines
qserve
A super fast, lightweight file-serving program written in rust
cargo install qserve
note: Qserve is in its early stage. If you encounter any errors, please create an issue.
installation
cargo
cargo install qserve
from source
git clone https://github.com/shamxl/qserve
cd qserve
cargo build --release
Basic usage
qserve --path <path>
FAQs
Q: What is chunk size ?
A: Setting chunk size allows you to control the amount of data read in each iteration, balancing between memory efficiency and I/O performance. If you increase the chunk size, you will read larger portions of the file in each iteration, potentially reducing the number of I/O operations but using more memory.