18

I have been developing microservices (Spring Cloud) for a while (~2 years) and heavily used Netflix Zuul. While it offers a lot of functionalities and great features, my developer mind wandered towards knowing about the alternatives and came to know about Tyk and Kong.

Reading from the individual documentation and blogs, I understood more or less both offer the similar features. I would like to know a comprehensive comparison between the two and any real-world examples where you have implemented will be a great help understand.

zeagord
  • 2,257
  • 3
  • 17
  • 24

3 Answers3

28

According to CI/CD both can comply with Infrastructure-as-Code approach, so i do not see difference in terms on Deployment Pipeline practices.

On the other side, the API of Kong has limited functions and terminology IMHO is not understandable: https://galileo.gelato.io/docs/versions/2.0.0/

  • Kong uses Galileo reporting tool for DashBoard/UI, tyk uses its own DashBoard including not only Reporting functions, but also almost all Management Functions if you wanna go with the UI
  • If you need to transform your legacy APIs to external world, tyk has Transform function which can be used to transform XML<->JSON<->YAML<->Custom
  • On tyk you can code extension not only with Lua, but also with Go, Java. Python. .NET, Javascript ...
  • If you have DR needs, tyk has Multi-Datacenter option which is targeted for Enterprise level architecture including a Disaster Site
  • If you need performance tyk is written with Go. (We have benchmarked tyk to respond around 3000 req./sec. where Kong did around 2500 req./sec. on same VM with same APICall patterns)

So based on your needs, if any of your needs matches with one of the above, you can consider tyk, if not you can consider whichever you like more...

funkydorian
  • 359
  • 3
  • 4
10

Go with Tyk. I evaluated both and it was much easier to extend (imho) Tyk (go) due to its Javascript (via otto), Python and Grpc middleware engine, than Kong which is Lua/nginx based.

Both are open source and controllable via APIs, however kong's gui offerings (other oss projects) seemed half-baked and were much harder to setup.

From an enterprise/sass model (paid for options). Tyk blows Kong's offering's off the map. Tyk's architecture seems much more sound imho with a clear separation of concerns for gateways, analytics and dashboard components. Its well put together and the community forums get lightning fast responses from the Tyk devs.

bitsofinfo
  • 994
  • 3
  • 16
  • 34
  • 1
    I would like to add that you should assess your needs in terms of CI/CD and infrastructure as code, which is easy with Kong, whereas Tyk is intended to be long running. Tyk is the more integrated solution, Kong is more a building block - very flexible, somewhat complicated. – donmartin Oct 26 '17 at 12:55
  • 2
    @donmartin Can you elaborate on "assess your needs in terms of CI/CD and infrastructure as code, which is easy with Kong" and "Tyk is intended to be long running"? Thanks – Kuberchaun Nov 18 '17 at 23:33
3

I will brag a little. My co-founder at Moesif just wrote the most comprehensive comparison of various API gateways. There is a table at the end that gives you a quick glance.

https://www.moesif.com/blog/technical/api-gateways/How-to-Choose-The-Right-API-Gateway-For-Your-Platform-Comparison-Of-Kong-Tyk-Apigee-And-Alternatives/

Derrick
  • 1,508
  • 11
  • 8