Replies: 1 comment
-
It seems to be the RangeWrapper (wsgi.py) slowing down the sending of blocks, probably because it handles files like use cases and its iteration is subject to several conditions. Why not let uWSGI manage this part? It looks like it can manage range-header (https://uwsgi-docs.readthedocs.io/en/latest/Changelog-1.9.6.html?highlight=honour%20range#preliminary-support-for-the-http-range-header). I know that uWSGI is not the only WSGI server and that it is not easy to integrate too many specificities, these are only ideas. |
Beta Was this translation helpful? Give feedback.
-
On my laptop with a SSD disk, if i send file without ranges header, i can write a file with a speed of 500MB/s.
If i try to resume this file with ranges header, i obtain 40MB/s for the same CPU load.
Do you have the same behavior?
Environment:
Beta Was this translation helpful? Give feedback.
All reactions