Using HAProxy as an API gateway
HAProxy has many built in primitive: rate limiting, monitoring, circuit-breaking, connection queueing, authentication
to handle job of an API gateway. We can even use HAProxy to load balancer postgress too
5 Ways to Extend HAProxy with Lua — HAProxy is easily my favorite piece of Web...