Project

Profile

Help

Test #4118

Test Downloader backoff on http error codes, e.g. 503

Added by bmbouter almost 2 years ago. Updated 28 days ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Version:
Platform Release:
Tags:
Sprint:
Quarter:

Description

When a server responds with a HTTP 503, Pulp downloaders are expected to backoff. For example consider a concurrency of 5, when downloading 20 things, the 5th download returns a HTTP 503 response.

Assuming the first 4 downloads don't complete during the backoff period, there will be a backoff period of a few seconds before any additional requests comes in because there can only be 5 and the 5th is in backoff

I recommend testing this using an aiohttp server implementation that serves with a concurrency of 6, returns a 503 on the 5th call, and asserts that a backoff delay is experienced.

History

#1 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#2 Updated by daviddavis 28 days ago

  • Status changed from NEW to CLOSED - WONTFIX

Please register to edit this issue

Also available in: Atom PDF