You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "Andrew Gaul (JIRA)" <ji...@apache.org> on 2014/03/04 07:37:20 UTC

[jira] [Resolved] (JCLOUDS-460) Add random delay to avoid thundering herd problem

     [ https://issues.apache.org/jira/browse/JCLOUDS-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Gaul resolved JCLOUDS-460.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.2
                   1.8.0

> 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
>             Fix For: 1.8.0, 1.7.2
>
>
> 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.2#6252)