News for hackers. Stuff that matters.
Re:Building DigitalOcean's API Gateway by sriku on Saturday January 16, 2021 @06:03AM (#25801508)
Kong is an API gateway that builds on top of nginx - https://konghq.com/kong/
Re:Building DigitalOcean's API Gateway by jively on Saturday January 16, 2021 @02:54PM (#25804927)
Going to jump on the shilling thread here and recommend Tyk.

Tyk is an open source API Gateway written in Go, it's also the most extensible OSS API gateway as it doesn't force you to learn Lua (Go, Python and Lua plugins are supported in-process) to extend it. In fact DO could have written their auth logic in rails with Tyk's gRPC plugin support.

It also has the same performance curve as OpenResty these days as it's been around for over 5 years and used in critical high-performance infrastructure projects.

https://tyk.io

/Shill

Re:Building DigitalOcean's API Gateway by spacewander on Saturday January 16, 2021 @10:04PM (#25807687)
> It also has the same performance curve as OpenResty these days

Any data for this claim?

Re:Building DigitalOcean's API Gateway by jively on Saturday January 16, 2021 @10:20PM (#25807770)
From customers that have performance tested us against Kong and NGinX during competitive tender (where we also won the business). Unfortunately those aren't public.

There's a decent blog post my head of research did a while ago:

https://tyk.io/performance-tuning-your-tyk-api-gateway/

Re:Building DigitalOcean's API Gateway by adolph on Saturday January 16, 2021 @09:29AM (#25802339)
Kong is built on OpenResty which is NGINX with a Lua JIT.

https://github.com/Kong/kong/issues/484

https://openresty.org/en/

Re:Building DigitalOcean's API Gateway by benatkin on Saturday January 16, 2021 @09:48AM (#25802510)
KrakenD is an open source API gateway written in Go. I think they started off the same way I would, by extending nginx or a fork, or by using Go. I am not sure what I would choose.

https://www.krakend.io/