# Synchronous communication - connection settings and retries

DevFeed: [Synchronous communication - connection settings and retries](<https://devfeed.tech/articles/synchronous-communication-connection-settings-and-retries-27326.md>)

Original publisher: [Read original article](<https://blog.pchudzik.com/202003/retries/>)

Published: 2020-03-17T00:00:00Z

Content type: tutorial

Language: en

Sources: [Paweł Chudzik](<https://devfeed.tech/sources/pawe-chudzik.md>)

Topics: [HTTP](<https://devfeed.tech/topics/http.md>), [configuration](<https://devfeed.tech/topics/configuration.md>)

Tags: [configuration](<https://devfeed.tech/tags/configuration.md>), [errors](<https://devfeed.tech/tags/errors.md>), [http](<https://devfeed.tech/tags/http.md>), [network](<https://devfeed.tech/tags/network.md>), [request](<https://devfeed.tech/tags/request.md>), [retry](<https://devfeed.tech/tags/retry.md>), [test](<https://devfeed.tech/tags/test.md>)

## AI overview

This tutorial explains how to configure connection settings and retries for synchronous communication with Feign. It covers reviewing default connection and read timeouts, choosing retry counts based on service response times and SLAs, adding delays between attempts, and retrying selected errors such as HTTP 503 without contributing to cascading failures.

## Source excerpt

The simplest possible strategy that can help with communication issues is retrying to execute the request again. Maybe it was just a network glitch and it will work just fine when you try to call it again. Introducing retries is a relatively simple step that can improve the stability of your service. But before adding retries check if you'll not be waiting for 2 minutes for establishing the connection... Read more