by Jeremy H
• June 10, 2020
We’re examining Kong HQ vs. DreamFactory. The rise in demand for microservices-based applications that rely on APIs for connectivity has triggered an equal rise in demand for API gateway solutions. However, API gateways differ considerably in their features and underlying technology, so it’s important to investigate your selection to ensure it fits your needs.
In this guide, we take an in-depth look at Kong HQ vs. DreamFactory – two of the most advanced API gateway solutions on the market. We’ll start with a brief overview of both platforms. Then we’ll focus on distinctions that set them apart.
Please use the following links to navigate this guide:
Did you know you can generate a full-featured, documented, and secure REST API in minutes using DreamFactory? Sign up for our free 14 day hosted trial to learn how! Our guided tour will show you how to create an API using an example database provided to you as part of the trial!
Create Your REST API Now
Kong is one of the leading open-source API gateway solutions on the market. Built on top of the HTTP proxy server NGINX, NGINX offers high-traffic performance and numerous Lua scripts and extensions for additional customization.
When looking at Kong HQ vs. DreamFactory, its important to consider their open-source options. In addition to the basic API proxy tools featured in its open-source version, Kong has a paid enterprise version that includes additional perks like:
Similar to DreamFactory, Kong offers a lot of deployment flexibility. You can run it on any operating system and deploy it with Docker, Vagrant, Kubernetes, or Bitnami. That being said, Kong is not entirely flexible when it comes to tailoring APIs with custom business logic. The platform only supports Lua and Golang, so developers are locked into those specific plugins.
Here’s how users are taking advantage of Kong:
“What problems are you solving with the product? API Management. Logging, Analytics, Monitoring, and Alerts. Supports several Authentication protocols. Plugin architecture means easily extensible and several options for any tasks for example for logging, you can use Loggly, Galileo, Httpd (Elastic search), Statsd (Graphite-Grafana), Syslog, etc. Huge support from the open-source community.”
“Our current API Management platform lacked adequate support for OAuth, OIDC and ultimately was not cloud-native friendly. Kong allowed us the opportunity to move forward with our cloud-native transition.”
DreamFactory is one of the most technologically advanced open-source API gateways available. Built using the Laravel framework and PHP, DreamFactory is configured as a LAMP stack, which makes it easy to scale both vertically (with additional processors) and horizontally (with a load balancer).
The most impressive feature that sets DreamFactory apart from Kong is its ability to automatically generate fully-documented REST API to integrate new application features in minutes. This empowers developers to quickly incorporate any database (SQL or NoSQL), file storage system, SOAP service, or HTTP service into their projects. Automatic API generation eliminates the time-consuming task of hand-coding APIs, so developers can spend more energy building applications.
In addition to its free, open-source version, DreamFactory offers three paid tiers (Small Business, Professional, and Enterprise). Depending on the tier, customers can receive additional features like:
Similar to Kong, DreamFactory offers a lot of deployment flexibility. You can run DreamFactory on any operating system (on-prem, cloud, or hybrid) and you can deploy it via Docker, Kubernetes, Bitnami, or directly from GitHub. Furthermore, DreamFactory offers a great deal of flexibility when tailoring APIs with custom business logic. DreamFactory supports custom scripting in PHP, Python, V8JS, and NodeJS.
Here’s what users are saying about DreamFactory:
“Fastest and easiest API Management tool my department has ever used. We used DreamFactory to build the REST APIs we needed for a series of projects and were able to save tens of thousands on the developer hours it would have taken otherwise.”
“The ease of connecting relational data sources with file systems and objects, generating understandable and extraneous powerful APIs in a few clicks, coupled with ACL control and triggered script processing in internal API events, is extremely scalable. Run it all on the infrastructure provider I want.”
“With DF it was possible to envelop the legacy systems that we have, adopting a granular strategy in the migration to microservices. Centralizing access control with support for several roles for different types of users and applications was a significant milestone for us. We reduced implementation time and kept the team lean.”
After this general overview of Kong and DreamFactory, let’s dive deeper into the most important distinctions between the platforms.
Here’s a side-by-side comparison of Kong vs. DreamFactory:
From the developer’s perspective, DreamFactory’s ability to rapidly generate fully-documented REST API is one of the most important points of departure from Kong.
While Kong is an exemplary API Proxy – and even though you can mount existing APIs to Kong – the platform doesn’t offer any native connectors or tools to automatically generate APIs. If you can’t import an existing API, Kong forces you to hand-code a new one from scratch – adding weeks or months to the project completion date.
Automating the creation of APIs saves time, so you can focus on coding your applications, not APIs. For this reason, DreamFactory’s capacity to automatically generate REST API for nearly any data source is a game-changer and tremendous cost and time saver for development teams. Like Kong, you can mount existing APIs to the platform, but when no API exists, DreamFactory eliminates the time bottleneck of API creation.
Imagine you want to integrate a SOAP service into your system, but there’s no API for it. DreamFactory’s point-and-click API generation tool creates fully-documented, ready-to-use REST API in minutes. By removing the burden of API creation, DreamFactory empowers development teams to achieve a dramatically faster time to market.
Users say the following about this feature:
“DreamFactory REST API in seconds? Yeah, that’s true!! Live documentation of REST API’s is a pain for developers. DreamFactory solved this using Swagger-UI. This is the most interesting and lovable thing done by DreamFactory.”
“APIs are built for you – and not just any APIs. Fully documented, fully secured (OAuth, LDAP, Active Directory, SAML Integration…) and accessible through a 3rd party client.”
Both Kong and DreamFactory allow you to customize APIs with custom business logic. However, DreamFactory offers more flexibility to use the most popular scripting languages.
When it comes to adding custom business logic, Kong only supports Lua and Golang, so developers are locked into their associated plugins. This is not a downside for all users – as Lua and Golang offer the advantages of being easy to learn, easy to embed as a scripting language, and support for powerful abstractions like function closures and object orientation.
Since Kong is locked into Lua and Golan, the platform is more appropriate for large enterprises that use these languages for their projects. Generally speaking, Kong is too limited for the average microservices developer.
Here’s what users say about Kong’s reliance on Lua and Golang:
“Kong is wonderful if you enjoy Lua with Openresty and look to have an all-in-one solution for API implementation and management. Lua is not as popular as it should be, but Openresty has proven performance and a strong community. For developers using either (likely both) technology, Kong is exciting and fun to implement…
Kong’s use case is a bit too specific to bring over most modern microservice devs to the table. This really limits Kong to just large enterprise contracts which likely do not have as large of a consumer base due to the usage of Lua.
I found Kong looking for active products implementing Openresty. I assume 90% of Kong’s customers also do the same.”
“Lua Scripting Language makes it easy to understand and write code for Kong.”
“You should consider evaluating other API Gateway solutions before moving ahead with Kong. Also, keep in mind that should you ever need to develop a plugin of your own, it needs to be implemented in LUA.”
One user says the following about DreamFactory’s API customization features:
Kong’s free, open-source version does not have a user interface while DreamFactory’s free, open-source version does have a user interface.
Much to the chagrin of many Kong users, the open-source version of Kong lacks a native user interface. This can make Kong difficult to use, especially for developers who are new to the platform. Fortunately, there are third-party UIs for Kong, like Konga. Moreover, the paid version of the platform – Kong Enterprise – includes an administrator UI.
Here’s what it looks like to use the free, open-source version of Kong:
Source: Kong Youtube Channel
Users say the following about Kong’s lack of UI:
“Kong lacks a user interface, which I think might speed up the process of getting familiar with Kong. It will make sense, far more intuitive.”
“What do you dislike? Lack of an Official UI or Administration Panel.”
“What do you dislike? The interface still can be quite daunting for a novice user.”
“What do you dislike? No built-in UI for non-programmers to access admin UI for onboarding clients, APIs, etc.”
A clear advantage of open-source DreamFactory over Kong is the fact that the free version of DreamFactory includes a graphical user interface. The DreamFactory UI is easy and intuitive to use. As a true workhorse of an API gateway, DreamFactory’s user interface was made to be intuitive, utilitarian, and to get the job done in the most efficient way possible.
Here’s a sample video of DreamFactory’s UI in action while auto-generating a Salesforce REST API. This API was auto-generated in six minutes. Note the full swagger documentation:
Here’s what users say about the DreamFactory UI:
“The UI is also very easy and made our particular use case involving turning SOAP services to REST a dream. Once we configured server-side scripting, it completed our SOAP to REST translation automatically for us. Support has been fantastic! Erik, one of the engineers there, has been notably excellent.”
“It’s a pretty intuitive UI, so all of our team members have been able to get up and running pretty quickly.”
“UI isn’t very pretty, but it’s an 11/10 on functionality and productivity.”
*Please note that the DreamFactory UI was completely revamped for Version 3. This 2018 review doesn’t reflect these updates, which markedly improved the UI esthetics and overall user experience.
Kong’s lack of clear documentation makes installation and configuration difficult. In contrast, DreamFactory includes documentation that is clear, concise, and easy-to-follow.
Kong’s documentation is not up to par with a typical enterprise-grade API gateway – making installation complicated and time-consuming. The issue is reflected in user reviews:
“I explored using Kong for a brief minute. It looks robust with tons of useful plugins. However, the documentation left something to be desired and I found myself in click loops trying to find out how to do something simple. Specifically, trying to integrate Istio mesh with Kong was confusing, and they kept trying to link me to Kuma(?) when I really just wanted a quick overview of how the integration should work.”
Another Reddit user concurred:
“This was my experience too. Their docs are terrible.”
Other reviewers say:
“The documentation around Kong Enterprise wasn’t very clear when we started evaluating the product so it made the learning curve a bit more complicated, but the team was very responsive and they also took our feedback and revisited their documentation (thanks!).”
“I feel the documentation is still developing. There are several instances where the documentation does not list the full capabilities of the product making it difficult to understand.”
“Kong has moderate complexity when it comes to deployment … Some plugins such as the rate-limiting one optionally require additional data stores such as Redis. However, a production deployment isn’t as complicated as Apigee.”
DreamFactory offers clear, concise, easy-to-follow documentation. This makes installing and configuring DreamFactory a breeze while minimizing setup delays. Here’s how one user describes DreamFactory documentation:
“Great Security and very complete and user-friendly documentation. Example apps get you going quick! I can’t think of anything not to like… Once you have read the documentation and looked at the sample apps, you’re on your way.”
Kong is limited when it comes to data transformations. DreamFactory is flexible to transform data according to client requirements.
Kong performs HTTP-based transformations only. It can’t perform SOAP or XML transformations. This isn’t a problem unless you’re dealing with older apps and services that require the XML format.
If you’re not dealing with legacy platforms, older messaging formats, or industry-specific systems, you might appreciate the fact that Kong isn’t burdened by these additional transformation layers.
DreamFactory offers a wide range of data transformation layers to manage transformations to suit the requirements of the client. Whether its HTTP, SOAP, JSON, XML, etc., DreamFactory can transform responses between different formats. For example, the platform instantly converts the JSON requests to SOAP and SOAP requests to JSON.
One user says the following about DreamFactory’s data transformation capabilities:
“One feature that we didn’t know existed at first is the ability to write your own transformation scripts/routines. You can think of it as the “T” layer in an ETL process but applied directly to your API. This was our original concern with using DreamFactory, but after seeing they had this already built-in, it washed all our concerns away. They have this stuff set up really well.”
“We have many disparate data sources that we need to eventually aggregate into an API, and a lot of transforming that needs to happen as well. This is all plug-n-play with DreamFactory.”
When comparing Kong and DreamFactory’s API security features, the primary difference is that Kong doesn’t natively secure APIs, but DreamFactory does.
You can achieve all of your API security needs with Kong. The potential issue is what happens when you put Kong in the hands of an inexperienced or absent-minded user. Since APIs are not automatically secure in Kong, users could unknowingly publish sensitive data without realizing it if they forget to take the additional steps to secure the API.
In fact, this is how most data breaches occur – a developer inadvertently fails to set authentication and role-based access control for an API and exposes private information absent-mindedly. An experienced and careful developer wouldn’t normally commit such an error, but mistakes can happen.
DreamFactory takes a different approach to security. Each API is automatically secured at a minimum with an API key and role-based access control, and you have to purposefully and specifically grant access to make data publicly available. This minimizes the chance of leaving sensitive information available to anyone with the API endpoint address.
Authentication services, role-based access control, and other security features are also fast and easy to integrate with DreamFactory. Just cut and paste a few lines of code to call DreamFactory, and the API gateway connects with the authentication service and handles the rest.
DreamFactory also allows you to standardize security across your entire app infrastructure by ensuring that all connections adhere to GDPR, SOC2, CCPD, or other security standards depending on your needs.
DreamFactory’s security features include:
Finally, when comparing Kong HQ vs. DreamFactory, DreamFactory quickly updates with security patches after identifying a security vulnerability. At the time of this writing, Bitnami confirms that DreamFactory’s last security patch occurred on April 22, 2020. Check Bitnami for the latest information on DreamFactory updates.
The primary difference between Kong and DreamFactory’s pricing is that Kong’s paid tier is for large enterprises, which means it is expensive and difficult to budget for small businesses. In contrast, DreamFactory offers more affordable tiers for small businesses and startups, in addition to an enterprise version.
While Kong Gateway is free, many users choose to upgrade to Kong Enterprise for additional features like:
Kong Enterprise doesn’t disclose pricing, so it’s difficult to estimate the cost without talking to a sales representative. What’s safe to say is that Kong Enterprise was built for large enterprises, so you should expect enterprise-level pricing. Kong is generally too expensive for startups and small to medium sized businesses.
“I did an extensive evaluation of API gateways a couple of months ago and found tons of great solutions out there! Highly recommend not building your own. We started with Kong which is great to get up and going quickly and easy to configure but moved away because of their pricing model (not startup-friendly).”
When it comes to Kong vs. DreamFactory, the free, open-source version of DreamFactory includes a lot more features than the free version of Kong HQ. Open-source DreamFactory has a native UI, auto-generated API documentation, and the ability to manage API keys all baked into the platform. Upgrading to one of DreamFactory’s three paid versions (Small Business, Professional, and Enterprise) gives you access to even more benefits. The Small Business version of DreamFactory starts at just $499 per month depending on deployment scope and connections.
The paid versions of DreamFactory offer additional features like:
After reading this review of Kong vs. DreamFactory, you should have a clear picture of the most compelling differences between the platforms. Ultimately, the use-cases for Kong and DreamFactory have a lot of overlap, but there are some clear differences that you might want to consider when choosing one over the other:
If you’re deciding between Kong vs. DreamFactory, we recommend trying DreamFactory before making a decision. Once you experience how easy it is to auto-generate REST API with DreamFactory, we think you’ll want to join our growing community of passionate developers.
Start your free, 14-day hosted trial of DreamFactory today!
Join the DreamFactory newsletter list.