Performance tuning
The performance is already pretty good, but there are a few configuration options that can be tweaked to further improve performance.
Default performance running version 1.1.0 on a Ryzen 5 5600X processor
Disable Download count
By default, the download count is enabled. This means that every time a file is downloaded, the download count is incremented by one. This is done by incrementing a Redis key. However this has a performance impact.
If you don't need the download count, you can disable it by setting the NO_DL_COUNT
environment variable to true
.
Throughput after starting the container with env variable NO_DL_COUNT=true