Better HN
topnewbestaskshowjobs
Log inSign up

sinzone

3,523 karma · joined Feb 16, 2009 (17y ago) · 847 submissions

"Life isn't about finding yourself, life is about creating yourself"

-

Submissions

comment 11y ago · link · parent

I suggest to check the open source API gateway: https://github.com/mashape/kong

comment 11y ago · link · parent

This is a great addition for real-time/streaming APIs

comment 11y ago · link · parent

aghi@mashape.com

Also tak a look at the open source API gateway http://getkong.org and https://apianalytics.com for Visualization and Monitoring of API traffic.

comment 11y ago · link · parent

out of curiosity. what do you guys use for API management?

comment 11y ago · link · parent

why you think it's easier to understand than kong?

comment 11y ago · link · parent

We're honored to be partner [1] of Nginx with the OSS Microservice Management layer KONG [2]. Kong is built on top of Nginx and uses Cassandra for storing the config.

[1] https://www.nginx.com/blog/nginx-powers-kong-api-management-...

[2] https://github.com/mashape/kong

comment 11y ago · link · parent

If you guys want to learn more live and are based in SF, we're hosting our 2nd KongSF meetup [1] next week, along with the announcement of the v 0.4.

[1] http://www.meetup.com/The-Mashape-API-Developer-Community/ev...

comment 11y ago · link · parent

we use the same technology with KONG [1]

[1] https://github.com/mashape/kong

comment 11y ago · link · parent

Have you considered in putting KONG [1] which is basically OpenResty (nginx) in the front? With LuaJIT performances [2] are outstanding.

[1] https://github.com/mashape/kong

[2] https://github.com/mashape/kong#benchmarks

comment 11y ago · link · parent

much faster than Ruby

comment 11y ago · link · parent

Would be cool to have ES as Lua plugin for KONG [1]

[1] https://github.com/mashape/kong

comment 11y ago · link · parent

With a small team, we've refactored more than 150k LOC from being a single app into a lot of small services and we're not looking back.

To avoid increasing complexity in managing all these APIs we have added KONG [1] on top, so we can keep higher consistency and orchestrate common functionalities among multiple services. In some ways it's funny, because KONG "centralizes" a decentralized architecture but we needed one home base to always refer to or rely on,when most of the system started to live on the edges.

In space explorations you always have a mothership after all.

[1] https://github.com/mashape/kong

comment 11y ago · link · parent

That is 4M requests per second. To put this in prospective, the established Akamai runs at 25M/s (http://www.akamai.com/html/technology/real-time-web-metrics....), which means that Cloudflare is quickly growing to hold 20% of Akamai traffic.

comment 11y ago · link · parent

And Lua is taking off because of these reasons such as the ability to extend Nginx or HAproxy. Plus, is simple to use, easy to learn and highly efficient, without the need to touch C/C++.

comment 11y ago · link · parent

The good thing about NGINX is that it's perceived as language agnostic. So no matter what your codebase lang, you can always put an nginx on top. While Node tools, are only good if you use them within a Node stack (see Strongloop). As far as I know nginx is powering 150M websites/apps.

comment 11y ago · link · parent

Interesting how NGINX + Lua is becoming more and more widely used in mission critical applications with huge amount of traffic. Since the introduction of LuaJIT performances have been outstanding and many companies like Netflix, Alibaba, Cloudflare, Kong [0], Airbnb all run on a customized nginx with Lua modules; doing amazing things from security to API management.

[0] http://github.com/mashape/kong

137.

Show HN: Mashape Analytics - Visualize, Inspect and Monitor API Performance(apianalytics.com ↗)

9 points · by sinzone · 11y ago · 5 comments

comment 11y ago · link · parent

works with any HTTP API. for feedback aghi@mashape.com

comment 11y ago · link · parent

Worth mentioning KongDB, to easily provision a cloud Cassandra instance for free: http://kongdb.org

140.

Kong 0.3.2: Open Source Microservice and API Gateway(blog.mashape.com ↗)

1 points · by sinzone · 11y ago · discuss

comment 11y ago · link · parent

They are good at Design as a whole. Engineering Design, Marketing Design, Interface Design, etc.

The whole thing is beautiful, from the low level of Go, up to the CSS.. it's not just a nice cover on top (like many other products)

comment 11y ago · link · parent

all those help with the infrastructure part, take a look at http://github.com/mashape/kong for helping with the code.

comment 11y ago · link · parent

Makes sense! Have you considered Ansible?

comment 11y ago · link · parent

Out of curiosity, what management tool do you use to orchestrate all these microservices?

comment 11y ago · link · parent

You may want to check KONG as open-source solution to manage microservices so you don't re-build common functionalities across the stack.

Repo: http://github.com/mashape/kong

comment 11y ago · link · parent

We started basically from scratch once again with a microservice architecture and had no problems. but failed as monolithic one for the 2 years before (and learned a lot about the tech debt).

comment 11y ago · link · parent

This is so true in our case. We started building Mashape, the marketplace for APIs in 2011. Two years later it become +100k loc of spaghetti Java code. We started a big re-write/de-coupling phase in 2014 which also opened new business opportunities since we were able to spin off some features as single products.. and this was not expected but definitely created advantages not only from the code/productivity side but from a business side too.

We have embraced Nginx and built KONG[1] as the main API Gateway for managing our microservices. It made our transition much faster and easier since we were able to orchestrate common functionalities across services, such as logging and authentication, in a few lines of code.

[1] A month ago we've released Kong open source: https://github.com/Mashape/kong

1
456
29