# Backends for Frontends

> Create separate backend services for specific frontend applications

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

---

## Description
The Backends for Frontends pattern creates separate backend services for specific frontend applications or interfaces. Instead of having a single backend that serves all clients, each frontend type has a dedicated backend optimized for its needs. This reduces complexity and improves performance for each client type.


## Use Cases
Use when different frontend applications have different data requirements or when a single backend becomes too complex to support multiple client types.





## Trade-offs


### Advantages

- Optimized backends for each client type

- Reduced complexity in individual services

- Improved performance and user experience

- Better separation of concerns




### Considerations & Drawbacks

- Code duplication across services

- More services to manage

- Increased infrastructure costs







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

