After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673367 - Implement exponential backoff
Implement exponential backoff
Status: RESOLVED OBSOLETE
Product: libgdata
Classification: Platform
Component: General
git master
Other All
: High enhancement
: 0.12
Assigned To: libgdata-maint
libgdata-maint
Depends on:
Blocks:
 
 
Reported: 2012-04-02 14:31 UTC by Philip Withnall
Modified: 2018-09-21 16:14 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Philip Withnall 2012-04-02 14:31:40 UTC
libgdata currently doesn't automatically retry any operations if they fail. However, for transient failures (e.g. 5xx errors) libgdata could easily implement exponential backoff and retry 5 times before returning the failure to the user. This would save implementing retry handling in clients.

Note that care would have to be taken that retries are performed safely for state-changing operations.

See https://developers.google.com/google-apps/documents-list/#implementing_exponential_backoff for a suggested implementation (Google Documents-specific, but could be applied to all of libgdata).
Comment 1 GNOME Infrastructure Team 2018-09-21 16:14:44 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/libgdata/issues/11.