Ένα API gateway είναι ένα μοναδικό σημείο εισόδου που βρίσκεται μπροστά από τις backend υπηρεσίες — χειρίζεται cross-cutting concerns όπως routing, authentication, rate limiting, και άλλα. Είναι ιδιαίτερα χρήσιμο σε αρχιτεκτονικές microservices για να κεντρικοποιήσει κοινή λειτουργικότητα.
Τι κάνει ένα API gateway
The API GATEWAY is a single entry point in front of backend services:
Client → API GATEWAY → ┬→ Service A
├→ Service B
└→ Service C
→ handles cross-cutting concerns in ONE place (so services don't each implement them)
→ routes requests to the right service; abstracts the backend from clients
