Architecture · Intermediate · 12 min

Service Discovery & Gateways

Resolve changing instance locations while handling stale membership and in-flight work.

STEP 1 / 13
Configure a provider address — isometric concept diagramLocation is operational state, not a permanent business identifier. Components: 1. Calling service. Logical component or processing boundary; 2. Provider A. Logical component or processing boundary. Connections: 1. Calling service to Provider A: Configure a provider address; 2. Provider A to Calling service: Reply: Provider A. Illustrations are conceptual, not deployed capacity or user counts.Calling service → Provider A: Configure a provider address1Provider A → Calling service: Reply: Provider A2Calling service: Logical component or processing boundary1Calling serviceLogical component or processingboundaryProvider A: Logical component or processing boundary2Provider ALogical component or processingboundary
1Calling service2Provider A
  1. 1Calling service → Provider ARequestConfigure a provider address
  2. 2Provider A → Calling serviceReplyReply: Provider A

Conceptual illustration · figures do not imply user counts, deployed capacity or replica counts.

2 components visible · Calling service + Provider A highlighted

Orange: request / query · Blue: reply · Purple: event / control · Arrows show direction; speed is illustrative.

You’ll learn

  • Discovery and traffic selection may live at different boundaries.
  • A discovered address can already be stale.
  • Endpoint retry still needs an operation-level contract.

PUT THE IDEA TO WORK

From learning to practice

No related challenges are currently available. Browse practice

RELATED PATTERNS

Client–Server ↗

Microservices ↗

Further reading

Kubernetes · Service ↗