Re:Scaling Wix to 60M Users – From Monolith to Microservices
by jessedhillon on Friday May 29, 2015 @07:16PM
(#9628117)
Can you explain what Kong does and why you would use it? I'm having a tough time finding anything of substance on the website which talks about why Kong exists
[ Parent
| on HN ]
Re:Scaling Wix to 60M Users – From Monolith to Microservices
by anonfunction on Saturday May 30, 2015 @04:28AM
(#9629481)
Kong is meant to replace nginx or HAproxy but with additional functionality added as plugins. For example you could proxy any APIs or microservices and add authentication, rate-limiting and logging as plugins.
Re:Scaling Wix to 60M Users – From Monolith to Microservices
by icebraining on Saturday May 30, 2015 @08:33AM
(#9629954)
Nginx can also be extended with modules and Lua scripts, which can add authentication, rate-limiting and logging.
EDIT: It seems Kong doesn't really replace Nginx, it's actually a set of Lua scripts for Nginx.
Re:Scaling Wix to 60M Users – From Monolith to Microservices
by anonfunction on Monday June 01, 2015 @08:11AM
(#9637961)
Even though Kong uses Nginx under the hood as a user you interface with Kong through the CLI or REST API and don't deal directly with Nginx or it's config files. While Kong is a mix of Nginx + Lua + Cassandra it's meant to take the place Nginx in your software stack.
Re:Scaling Wix to 60M Users – From Monolith to Microservices
by sinzone on Saturday May 30, 2015 @03:39PM
(#9631499)
Correct. Kong is Nginx on steroids (w/ Lua + Cassandra) for managing microservices.
Re:Scaling Wix to 60M Users – From Monolith to Microservices
by sinzone on Friday May 29, 2015 @08:28PM
(#9628322)
It's the 2nd main call to action in the middle of the page: http://cl.ly/image/230t2d0H403a
Re:Scaling Wix to 60M Users – From Monolith to Microservices
by jessedhillon on Friday May 29, 2015 @11:54PM
(#9628868)
Yes, I guess it wasn't clear from my comment, but I have read their site. Assuming you're being sincere, this doesn't mean anything to me: http://imgur.com/BZz409G
Re:Scaling Wix to 60M Users – From Monolith to Microservices
by sinzone on Saturday May 30, 2015 @02:57AM
(#9629335)
Well.. to understand the value you need to have a bit of knowledge on how microservice architectures work and why an API Gateway (like Kong, which is the most popular OSS solution for that) is a fundamental part of it. ;)
I suggest to start from here to get up to speed: http://microservices.io/patterns/apigateway.html
Re:Scaling Wix to 60M Users – From Monolith to Microservices
by icebraining on Saturday May 30, 2015 @08:42AM
(#9629972)
From a cursory look, it's a set of Lua scripts that augment Nginx with features like authentication and such, so that you can avoid implementing them in the actual services.