BT

InfoQ Homepage News Mashape Open Sources API Gateway Kong

Mashape Open Sources API Gateway Kong

Bookmarks

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
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.

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

Community comments

  • Game Changing

    by Ahmad Nassri /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    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

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

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.