News for hackers. Stuff that matters.
Re:Ask HN: What API Gateways do you use? by jstx1 on Wednesday November 24, 2021 @12:51PM (#29332826)
I don't work in this space, just passing by and wondering - what is an API gateway and when and why do use one?
Re:Ask HN: What API Gateways do you use? by atmosx on Wednesday November 24, 2021 @02:32PM (#29334133)
I believe the most common use cases are authentication, authorisation, rate limiting, smart routing, ssl termination, etc.

The idea is to offload these things to the API gateway instead of the backend application. Once the request _hits_ the backend the backend will _respond_ because the requests has been authenticated (login), authorised (rbac), etc. Implementation and responsibilities may vary. It is a pretty common pattern when using microservices.

Re:Ask HN: What API Gateways do you use? by pestaa on Wednesday November 24, 2021 @01:53PM (#29333666)
It helps with the operational side and the "boring" stuff: monitoring, logging, reporting, rate limiting, traffic control, endpoint versioning, etc.