# Gateway Routing

> Route requests to multiple services using a single endpoint

- **Category**: Cloud
- **Subcategory**: azure
- **Canonical URL**: https://designpattern.fyi/patterns/azure_gateway_routing/

---

## Description
The Gateway Routing pattern routes requests to multiple services by using a single endpoint. The gateway acts as a reverse proxy, routing requests to the appropriate backend service based on routing rules. This provides a single entry point for clients while maintaining separation between backend services.


## Use Cases
Use when you want to provide a single entry point for multiple services or when you need to implement sophisticated routing logic.





## Trade-offs


### Advantages

- Single entry point for clients

- Centralized routing logic

- Service independence

- Supports versioning and A/B testing




### Considerations & Drawbacks

- Gateway as single point of failure

- Additional infrastructure

- Routing complexity







---
**Reference**: [Original Source](https://learn.microsoft.com/en-us/azure/architecture/patterns/gateway-routing)

