66 points · by UkiahSmith · 7y ago · 32 comments
On another topic, why would I use Kong instead of it's competitors built on envoy and with higher integration with kubernetes? Maturity?
If you have kubernetes, you might prefer that. But Kong is also useful in scenarios that don't involve kubernetes at all.
Kong has a native kubernetes ingress controller. A large portion of our customers use us with K8s
Say you have some developed kind of consumable service (think like fraud detection, geolocation, or machine learning recommendations, whatever) then using Kong or another API Gateway as a service type offering is a way to handle big chunks of all the boring but necessary infrastructure needed to bring that to market.
This is stuff like setting up plans, accepting payments, rate limiting, issuing and revoking api keys, docs, etc.
API Gateway's function like a proxy or CDN where api.example.com goes to blah.kong-api-service.com which then requests back to your-app-server.example.com so they're able to do these things without needing to get into your code.
I wish we had a little plain English summary like this for ... every company ;)
I might be stupid here, but I have not seen any mention of Kong handling those things on their website.
Kong does have a certain position in the industry (they are at least "known"), but their competition has done a better job taking market share. There are many API Gateways and Service Meshes trying to get their piece of the pie, and Kong has so far failed to be one of the true front runners. Products built on top of Envoy have so far done a better job of attracting users.
That isn't to say Kong can't try to assert themselves with another injection of cash. The industry is still very much up in arms, with all of us waiting for someone to step up and take over as the defacto gateway and/or mesh; preferably BOTH the gateway AND the mesh. Kubernetes itself is effectively the defacto standard, but the things you plug into it are certainly still in flux.
Only other commercial firm I know of is crunch 42. And maybe you can count Salesforce api gateway.but they go a different way...
Seems to be a similar case on Azure
https://aws.amazon.com/api-gateway/
https://docs.microsoft.com/en-us/azure/architecture/microser...
Kong's engine is NGINX, so if you're happy configuring NGINX itself and that is good enough for you, you won't want Kong.
Correct. And gives you a single entry point where routing to the "different endpoints in different servers" can be controlled, and cross-cutting concerns can be applied - e.g. request logging, auth, rate limiting, https termination etc.
This is not unique to Kong, that is what a API Gateway product will do. But Kong is a fairly full-featured and configurable example of an API Gateway. e.g. you can write Kong plugins, in lua.
Imagine a dev shop with several teams, all building external facing apis. In this scenario you don’t want each team to reinvent the “external access, auth, audit & accounting” as well as rate limiting stuff.
It would take a lot of resources and probably end up insecure at places.
An API gateway gives you a convention and pluggable authentication system for the teams to consume and not worry about. At least in theory.
Something like that. :)
https://docs.microsoft.com/en-us/azure/architecture/microser...
Keep your dog happy allows you to be a better bro-grammer!
/Obvious /s/