BT

Mashape Open Sources API Gateway Kong

| by Abel Avram Follow 7 Followers on Apr 28, 2015. Estimated reading time: 1 minute |

Mashape has open sourced their API Layer called Kong.

Kong is an API gateway that intermediates API communications between clients and (micro)services, its functionality being extendable through plug-ins. Kong has two major components:

  • Kong Server – an nginx-based server receiving API requests
  • Apache Cassandra – for storing operational data

Kong can be scaled horizontally by adding more Kong Server machines providing there is a load balancer in front of them to distribute the load. According to the documentation, two Cassandra nodes are enough for most cases, but more can be added if the traffic demands it.

One of the features that will be attractive for the open source community is the ability to extend existing capabilities through plug-ins which are executed during the life of an API request-response cycle. Plug-ins are written in Lua, and Kong comes with basic ones: Basic Authentication, Key Authentication, CORS -support for Cross-origin Resource Sharing, TCP, UDP and File Logging, API Request Throttling, Request Transformer, and nginx Monitoring.

Kong packages are available for several Linux distributions, Mac OS X and Docker, and can run on premises or in the cloud.

Besides the free open source version, Mashape provides a paid enterprise edition including support, training and an API Analytics plug-in.

Kong’s source code, including the plug-ins, is available on GitHub.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Game Changing by Ahmad Nassri

Congratulations to the Mashape team on the launch, open sourcing Kong which powers our API marketplace with billions of calls per day, is not only a major milestone for us, but also marks a shift in API tooling and services, we're challenging the the status quo and service providers by giving away for free what they charge for in thousands (and in some cases millions) of dollars.

making it open source is the icing on the cake!

we want to give the power back to the developer community and together create amazing open source tooling, while directly adding years of lessons learned to your development stack.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT