Welcome to Siva's Blog

~-Scribbles by Sivananda Hanumanthu
My experiences and learnings on Technology, Leadership, Domains, Life and on various topics as a reference!
What you can expect here, it could be something on Java, J2EE, Databases, or altogether on a newer Programming language, Software Engineering Best Practices, Software Architecture, SOA, REST, Web Services, Micro Services, APIs, Technical Architecture, Design, Programming, Cloud, Application Security, Artificial Intelligence, Machine Learning, Big data and Analytics, Integrations, Middleware, Continuous Delivery, DevOps, Cyber Security, Application Security, QA/QE, Automations, Emerging Technologies, B2B, B2C, ERP, SCM, PLM, FinTech, IoT, RegTech or any other domain, Tips & Traps, News, Books, Life experiences, Notes, latest trends and many more...

Sunday, May 3, 2020

Kong API Gateway : Best Practices

Let me have some reference notes here in this blog for the best practices that can be followed with respect to the Kong API gateway and their Architecture Patterns.

Background

Kong’s overall infrastructure is composed of three main parts: NGINX provides protocol implementations and worker process management, OpenResty provides Lua integration and hooks into NGINX’s request processing phases, and Kong itself utilizes those hooks to route and transform requests.

Kong Architecture Patterns

  • Simple Kong between client and upstream as 'a proxy'
  • Kong and APIs behind a firewall for more control over the APIs
  • Separate Kong Admin node for better security 
  • Multi-datacenter with Cassandra for high availability to achieve higher throughput

References:

https://docs.konghq.com/enterprise/0.32-x/kong-architecture-patterns/

https://konghq.com/blog/microservices-high-availability/

https://docs.konghq.com/enterprise/0.32-x/kong-architecture-overview/

https://www.codit.eu/blog/kong-the-upcoming-king-of-the-api-jungle/

https://medium.com/swlh/kong-api-gateway-zero-to-production-5b8431495ee