Javascript Design Patterns #9 - Retry Pattern

Поділитися
Вставка
  • Опубліковано 13 січ 2022
  • The retry design pattern enables an application to handle temporary failures when it tries to connect to a service or network resource. It does this by repeatedly retrying a failed operation. By retrying failed connections/requests, we can improve the overall stability of our application.
    📚 Materials/References:
    GitHub Code: github.com/pkellz/devsage/blo...
    "Design Patterns Explained Simply" Ebook: payhip.com/b/MLtJ
    🌎 Find Me Here:
    Twitter: / realdevsage
    Ebooks: payhip.com/devsage
    Discord: / discord
    Merch: cottonbureau.com/people/devsage

КОМЕНТАРІ • 12

  • @DevSage
    @DevSage  2 роки тому

    🤖 GitHub: github.com/pkellz/devsage/blob/master/DesignPatterns/Retry.js
    📕 "Design Patterns Explained Simply" Ebook: payhip.com/b/MLtJ
    💙 Twitter: twitter.com/realDevSage
    📙 Ebooks: payhip.com/devsage
    💥 Discord: discord.gg/BP8wPv6raA

  • @Shuyinz
    @Shuyinz 20 днів тому +1

    This pattern is brilliant! Thx for sharing!

  • @rohitkudalkar92
    @rohitkudalkar92 2 роки тому +3

    ohh nice this is very useful. love and support

  • @balancenguyen3129
    @balancenguyen3129 Рік тому +1

    very nice, thanks a lot bro!

  • @hanimohammedtaher6691
    @hanimohammedtaher6691 Рік тому

    Great content!

  • @anouarnouri2111
    @anouarnouri2111 2 роки тому +3

    welcome back

  • @vuejs1
    @vuejs1 Рік тому

    beautiful

  • @vinit.khandelwal
    @vinit.khandelwal 2 роки тому +1

    Exponential backoff with jitter?

    • @DevSage
      @DevSage  2 роки тому +1

      I'm not very familiar with jitter but if you mean exponential backoff with a random delay, then yes that's a potential strategy you could use

  • @laptop12358
    @laptop12358 2 роки тому +1

    nice