[PB-3405]: feat/limit-webdav-concurrent-petitions#152
[PB-3405]: feat/limit-webdav-concurrent-petitions#152larryrider wants to merge 2 commits intomainfrom
Conversation
larryrider
commented
Dec 24, 2024
- Limited WebDAV concurrent petitions to avoid backend timeouts
|
|
I think you misunderstood the timeout issue. The issue could happen more frequently when you do long-lived requests, but even in small requests, the timeout can happen and it is not a matter of the number of concurrent uploads in this case. The issue is that the connection could be stalled, due to a variety of reasons. As multipart transfers allow to repeat just the transfer of a chunk (either download or upload) if it fails or is stalled, you need to control precisely that and if happens, re-attempt the request. TL;DR: You need to set the timeout max allowed seconds on the library doing the transfer. Often it's |
Oh I see.. Even so, I believe this change can help avoid overwhelming the system with multiple calls, as it handles concurrent WebDAV calls to avoid an overload of requests to the backend. Additionally, I've submitted another PR that implements multipart uploads, which I believe will significantly improve the issues we've been encountering. The solution that implements retries for individual chunks that you mentioned looks good for me, we can implement it in another task too |
|
closing it as this task was already fixed in other PR |


