我正在使用WsgiDAV,它是基于 WSGI 的通用且可扩展的 WebDAV 服务器,它使用 cheroot HTTP 服务器。我面临的问题是到/从 webdav 的上传和下载速度非常慢。在 Windows 上约为 0.33 mbps,在 Mac 上约为 0.6 mbps。我已经做了很多关于提高性能的研究,但是没有用。webdav 托管在 windows server 2016 操作系统上
我尝试增加线程数,限制日志记录,尝试使用和不使用 ssl,但似乎没有任何效果。
在日志中,我可以看到每个资源有多个请求,一个来自授权用户,一个来自匿名用户,几乎每次 401 未经授权。
此外,当上传到 webdav 时,上传进度条高达 90-95%,显示数据传输速度很快,然后停留很长时间,然后完成,几乎每次都会发生这种情况。
谁能指出我必须做些什么来提高性能的方向。我尝试了旧版本和新版本 3.0.3,但性能几乎保持不变。
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:48:18] "PROPFIND " length=0, depth=0, elap=0.000sec -> 401 Not Authorized
INFO : 84.121.236.116 - admin - [2020-09-23 18:48:18] "PROPFIND " length=0, depth=0, elap=0.002sec -> 207 Multi-Status
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:48:18] "PROPFIND /desktop.ini" length=0, depth=0, elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:48:18] "PROPFIND /desktop.ini" length=0, depth=0, elap=0.001sec -> 404 Not Found
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:48:18] "PROPFIND " length=0, depth=1, elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:48:18] "PROPFIND " length=0, depth=1, elap=0.067sec -> 207 Multi-Status
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:48:21] "PROPFIND /Fel PPv4_new2.mp4" length=0, depth=0, elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:48:21] "PROPFIND /Fel PPv4_new2.mp4" length=0, depth=0, elap=0.000sec -> 404 Not Found
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:48:21] "PROPFIND " length=0, depth=0, elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:48:21] "PROPFIND " length=0, depth=0, elap=0.001sec -> 207 Multi-Status
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:48:21] "PUT /Fel PPv4_new2.mp4" length=0, elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:48:21] "PUT /Fel PPv4_new2.mp4" length=0, elap=0.000sec -> 201 Created
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:48:21] "LOCK /Fel PPv4_new2.mp4" length=199, elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:48:21] "LOCK /Fel PPv4_new2.mp4" length=199, depth=infinity, elap=0.005sec -> 200 OK
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:48:22] "HEAD /Fel PPv4_new2.mp4" elap=0.005sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:48:22] "HEAD /Fel PPv4_new2.mp4" depth=0, elap=0.005sec -> 200 OK
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:48:22] "PUT /Fel PPv4_new2.mp4" length=24674726, elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:49:28] "PUT /Fel PPv4_new2.mp4" length=24674726, elap=33.691sec -> 204 No Content
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:49:28] "PROPPATCH /Fel PPv4_new2.mp4" length=443, elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:49:28] "PROPPATCH /Fel PPv4_new2.mp4" length=443, depth=0, elap=0.010sec -> 207 Multi-Status
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:49:28] "PROPPATCH /Fel PPv4_new2.mp4" length=443, elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:49:28] "PROPPATCH /Fel PPv4_new2.mp4" length=443, depth=0, elap=0.000sec -> 207 Multi-Status
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:49:28] "UNLOCK /Fel PPv4_new2.mp4" elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:49:28] "UNLOCK /Fel PPv4_new2.mp4" elap=0.001sec -> 204 No Content
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:49:28] "PROPFIND " length=0, depth=0, elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:49:28] "PROPFIND " length=0, depth=0, elap=0.001sec -> 207 Multi-Status
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:49:28] "PROPFIND /Fel PPv4_new2.mp4" length=0, depth=0, elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:49:28] "PROPFIND /Fel PPv4_new2.mp4" length=0, depth=0, elap=0.005sec -> 207 Multi-Status
INFO : 64.121.191.119 - (anonymous) - [2020-09-23 18:49:28] "GET /Fel PPv4_new2.mp4" elap=0.000sec -> 401 Not Authorized
INFO : 64.121.191.119 - admin - [2020-09-23 18:49:28] "GET /Fel PPv4_new2.mp4" depth=0, elap=0.005sec -> 200 OK