Andrew Gaul created JCLOUDS-460:
-----------------------------------
Summary: Add random delay to avoid thundering herd problem
Key: JCLOUDS-460
URL: https://issues.apache.org/jira/browse/JCLOUDS-460
Project: jclouds
Issue Type: Improvement
Components: jclouds-blobstore
Affects Versions: 1.7.1
Reporter: Andrew Gaul
Assignee: Andrew Gaul
When issuing many simultaneous requests to Synaptic Atmos I observed:
HTTP/1.1 failed with code 500, error: AtmosError [code=1040, message=The server
is busy. Please try again.]
This is a general problem for private blobstores since a single client can
often overwhelm the server with many requests. While jclouds retries in many
of these situations, it waits a fixed amount of time between requests, often
overwhelming the server again. Instead it should insert some jitter, e.g.,
0-10% extra delay, to more evenly distribute the retries.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)