How to implement a retry mechanism for goroutines?

This page summarizes the projects mentioned and recommended in the original post on /r/golang

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. examples

    The book "Cloud Native Go" does it like this: https://github.com/cloud-native-go/examples/blob/b7a623e9a45d8ca71979eee220d43503588565fb/ch04/retry.go

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. try

    Simple idiomatic retry package for Go (by matryer)

    i use https://github.com/matryer/try for retries

  4. httpretry

    Enriches the standard go http client with retry functionality.

  5. backoff

    Discontinued ⏱ The exponential backoff algorithm in Go

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • How I write a Go REST client in 2022

    2 projects | /r/golang | 10 Aug 2022
  • I wrote my own Go HTTP client

    1 project | news.ycombinator.com | 30 May 2023
  • requests v0.23.4 with XML support

    1 project | /r/golang | 22 May 2023
  • Network Error Handling

    3 projects | /r/golang | 22 Mar 2023
  • How use gorilla/http for requests

    1 project | /r/golang | 28 Feb 2023