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

91.

Tools that will help you develop a RESTful API(medium.com ↗)

3 points · by sinzone · 11y ago · discuss

92.

LuaJIT interpreter beats V8's JIT compiler(lua-users.org ↗)

4 points · by sinzone · 11y ago · discuss

comment 11y ago · link · parent

One of the folks behind OauthBible.

Have you looked into Kong [1]? We built it as Open-Source proxy (based on NGINX) that has many out-of-the-box plugins for Authentication: including JWT [2], HMAC and the tedious OAuth2 [3]. For example, Kong reduces the complexity of adding OAuth2 to your services in just a restful POST request, similar to this:

$ curl -X POST http://kong:8001/apis/{api}/plugins \

    --data "name=oauth2" \

    --data "config.scopes=email,phone,address" \

    --data "config.mandatory_scope=true"
Another alternative is Auth0.com but it's cloud based and Kong is obviously a fully featured API Gateway that does many other things so it might be too heavy if all you need is authentication.

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

[2] https://getkong.org/plugins/jwt/

[3] https://getkong.org/plugins/oauth2-authentication/

94.

Open-source API Gateway Kong 0.5.1 has been released(blog.mashape.com ↗)

2 points · by sinzone · 11y ago · discuss

comment 11y ago · link · parent

docs GUI + RESTful

96.

How Mashape Manages Over 15,000 APIs and Microservices(stackshare.io ↗)

2 points · by sinzone · 11y ago · discuss

comment 11y ago · link · parent

I see you use different machines for NGINX and auth. Do you plan to combine all of them under one API gateway like Kong?

comment 11y ago · link · parent

Same problems in SF. City booming, high cost of living, not enough houses for everyone.

99.

Kong 0.5(github.com ↗)

1 points · by sinzone · 11y ago · discuss

100.

How Mashape Manages APIs and Microservices(stackshare.io ↗)

19 points · by sinzone · 11y ago · discuss

comment 11y ago · link · parent

The purpose is to give the power of LUA scripting (via OpenResty, used by companies like Cloudflare) in the hands of more people, since Lua is a small community (even tho, it's great, easy to learn and fast). Thus, adopting JS is the solution for them.

Disclaimer: we built one of the biggest Lua+Nginx project [1]

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

102.

Instaclustr Launches Managed Cassandra for Kong(instaclustr.com ↗)

4 points · by sinzone · 11y ago · discuss

comment 11y ago · link · parent

Joe is a rockstar! Great addition.

comment 11y ago · link · parent

Order of mainstream adoption for API description languages:

1) Swagger (by far)

2) API Blueprint

3) RAML

comment 11y ago · link · parent

Travis bought his house after selling RedSwoosh and being for 4 years without salary. He deserves every penny of it.

comment 11y ago · link · parent

I was part of the jampad era and slept there several nights and even tho the article mentioned good facts I think I will have to write some more interesting ones on a blog post. He also helped our startup many times and we closed our angel round at his house.

Travis deserves all the success.

comment 11y ago · link · parent

Awesome service! We use it a lot in conjunction with other tools. Didn't know it's actually 4 years old already [1].

[1] https://news.ycombinator.com/item?id=2649326

comment 11y ago · link · parent

With output in JSON/YAML/XML: http://mockbin.com/ip

109.

How to Build a Hello World Plugin for Kong(streamdata.io ↗)

3 points · by sinzone · 11y ago · discuss

110.

Scaling up an API proxy in OCaml(blog.mashape.com ↗)

3 points · by sinzone · 11y ago · discuss

comment 11y ago · link · parent

Curious.. which tools you used for managing the backend of all these APIs? (authentication, rate limiting, etc)

comment 11y ago · link · parent

We plan to write a great guide, similar to DO model, once Kong (https://github.com/mashape/kong) will support Postgres (https://github.com/Mashape/kong/issues/331)

113.

Kong crosses 10,000 downloads(blog.mashape.com ↗)

2 points · by sinzone · 11y ago · discuss

comment 11y ago · link · parent

PostgreSQL is loved by the developer community and is growing in adoption very fast. When we decided to open-source KONG [1], we went with the only supported db at that time which was Cassandra. Mainly we use Cassandra to handle rate-limiting across multi region and because it's also easy to scale horizontally. But even though is battle tested at FB or Netflix, we were surprised to see how the community immediately pushed [2] for supporting PostgreSQL as well.

It's definitely a good fit, especially for the powerful features around JSONB datatypes.

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

[2] https://github.com/Mashape/kong/issues/331

comment 11y ago · link · parent

Before the end of the year Kong will support Postgres.

comment 11y ago · link · parent

You don't. Kong (gateway) + AWS/DigitalOcean (the servers).
12345
29