concept retry in category aws

This is an excerpt from Manning's book Amazon Web Services in Action, Second Edition.
An AWS SDK is a convenient way to make calls to the AWS API from your favorite programming language. The SDK takes care of things like authentication, retry on error, HTTPS communication, and XML or JSON (de)serialization. You’re free to choose the SDK for your favorite language, but in this book most examples are written in JavaScript and run in the Node.js runtime environment.
“Let it crash” isn’t useful in all situations. If the program wants to respond to the sender that the request contained invalid content, this isn’t a reason for letting the server crash: the result will stay the same no matter how often you retry. But if the server can’t reach the database, it makes a lot of sense to retry. Within a few seconds, the database may be available again and able to successfully process the retried request.