aws / containers-roadmap

This is the public roadmap for AWS container services (ECS, ECR, Fargate, and EKS).
https://aws.amazon.com/about-aws/whats-new/containers/
Other
5.2k stars 316 forks source link

[ECS] [request]: Customize Service Connect configuration #1963

Open Hugoz opened 1 year ago

Hugoz commented 1 year ago

Community Note

Tell us about your request Allow customization of Service Connect configuration related to retries and timeout per target

Which service(s) is this request for? ECS Service Connect

Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard? Today SC will retry twice on connection failure or 503 responses. Customize this policy based on the target service would be great. For example disable retries for requests to a "Process Payment" service that is not idempotent. When Authentication is supported, this could be extended to define which services require Auth and which don't.

Are you currently working around this issue? Don't use Service Connect

herrhound commented 1 year ago

@Hugoz – In the example that you've provided you're talking about disabling retries to a payment processor. Leaving the topic of non-idempotent payment processors aside, do you expect a service that returns a 503 error to actually accept the request?

Hugoz commented 1 year ago

Yes 503 could have many causes depending on the programming language. A service could process the request and just have a bug in the response builder.