News for hackers. Stuff that matters.
Re:Amazon API Gateway – Build and Run Scalable Application B... by jively on Thursday July 09, 2015 @12:33PM (#9858948)
API Managmeent market is quite big, makes sense for Amazon to get on board.

Imagine this: You are BigCorp USA Inc. and have a bunch of internal SOAP-based web services that are 10 years old and cost a fortune to maintain.

You hear someone will pay you to use them, but SOAP sucks. So you could either go and change your APIs (and probably break a bunch of internal processes) OR you could use a gateway to sit in front of them and translate in bound / outbound requests. Now you can charge people for your APIs!

Scenario 2: If you're an indie dev/ startup but dont want to run EC2 infrastructure, Lambda + Gateway = Cloud service, without any heavy lifting, servers and cost effective. It's development lego. Kind of like Parse.

Scenario 3: You have an API for your app, now you wnat third party devs to use it.Your API is not set up for that kind of access (multi-user security, throttling, quotas, analytics etc.) - solution: shove a gateway in front of it.

Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @12:37PM (#9858975)
#1 is exactly what I'm working on right now; turns out there's a huge market for this sort of thing. We're using an API gateway (Axway/Oracle) to build an "API Mullet" (all SOAP in the back, all REST in the front), and while I have some qualms with the tooling, the idea of an API gateway is very sound.
Re:Amazon API Gateway – Build and Run Scalable Application B... by ch on Thursday July 09, 2015 @01:12PM (#9859247)
"API Mullet" has got to be my favorite description of this type of system. Well done.
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @01:44PM (#9859476)
I can't take credit for it, alas. It was from an Axway blog post. It's sort of backwards too, if you think about it - business in the back and party in front.
Re:Amazon API Gateway – Build and Run Scalable Application B... by robertfw on Thursday July 09, 2015 @02:19PM (#9859724)
I don't know, the "front" is all business - ordered, structured, conforms to the standards. The back is a jumbled, messy, non conforming. It's a party back there.
Re:Amazon API Gateway – Build and Run Scalable Application B... by Splendor on Thursday July 09, 2015 @01:58PM (#9859569)
API Tellum?
Re:Amazon API Gateway – Build and Run Scalable Application B... by junto on Thursday July 09, 2015 @01:05PM (#9859199)
Out of interest SOAP services tend to be message/operation based, while REST is deliberately not this.

How do you go about proxying REST style requests to a SOAP backend?

Re:Amazon API Gateway – Build and Run Scalable Application B... by femto113 on Thursday July 09, 2015 @01:39PM (#9859444)
Can't speak for the parent but having tackled similar efforts before I find that almost all APIs regardless of the implementation flavor (including SOAP and RPC) are readily understood as CRUD systems creating/reading/updating/deleting things), and the mapping from CRUD to REST is straightforward. In practice this generally means mapping from a SOAP call like `SetPostAuthor` to a REST call like `PUT /post/:post_id/author`. There are always some gnarly bits along the way, but the basic structure usually comes together pretty easily.
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @02:20PM (#9859733)
Yup, petty much. If you're willing to be a little flexible in your application of RESTful concepts and are okay with your abstractions leaking a bit, it's not especially tough.
Re:Amazon API Gateway – Build and Run Scalable Application B... by jacques_chester on Friday July 10, 2015 @01:09AM (#9862407)
That's the easy case.

A harder case is when you have a "service" layer which also has a large collection of queries at various levels of abstraction.

These map poorly into resources, where you want a single level of abstraction per resource. And they map badly to legacy consumers, who've grown comfortable to having a collection of special knobs and dials perfectly shaped for their exact needs.

Re:Amazon API Gateway – Build and Run Scalable Application B... by oblio on Thursday July 09, 2015 @02:00PM (#9859596)
Heh, I never thought I'd meet an Axway product user on HN. What are you using? Gateway? Integrator?
Re:Amazon API Gateway – Build and Run Scalable Application B... by Natsu on Friday July 10, 2015 @01:44AM (#9862473)
Gateway is pretty non-specific if you're talking Axway. It could mean XFB Gateway, Gateway Interchange or API Gateway... and I'm not even sure that's the whole list.
Re:Amazon API Gateway – Build and Run Scalable Application B... by oblio on Friday July 10, 2015 @02:44AM (#9862608)
I meant XFB. It was the only product that was referred internally just as "Gateway". "Gateway Interchange" was "Interchange" and "API Gateway" was "API Gateway".
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @02:05PM (#9859633)
Gateway, under oracle branding.
Re:Amazon API Gateway – Build and Run Scalable Application B... by sytringy05 on Thursday July 09, 2015 @09:30PM (#9861833)
me too! (not the oracle version though) :(

It does suck a bit, I've also sent Layer 7 into production which is just as bad as Axway. Typical Vendorware.

The AWS Gateway is pretty enticing. Solves lots of the API Gateway problem space very quickly and super cheap. We could run our production instance for about $2 a month I reckon, vs a 6 figure sum for the vendor tech.

Re:Amazon API Gateway – Build and Run Scalable Application B... by oblio on Thursday July 09, 2015 @02:16PM (#9859709)
May God have mercy on your soul :o)
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @02:21PM (#9859736)
;_;
Re:Amazon API Gateway – Build and Run Scalable Application B... by Natsu on Friday July 10, 2015 @01:42AM (#9862466)
Just curious, but why Oracle-branded rather than direct?
Re:Amazon API Gateway – Build and Run Scalable Application B... by culo on Thursday July 09, 2015 @02:16PM (#9859712)
have you look at the open source KONG https://github.com/mashape/kong ?
Re:Amazon API Gateway – Build and Run Scalable Application B... by curiousjorge on Thursday July 09, 2015 @01:13PM (#9859254)
do you have a website?
Re:Amazon API Gateway – Build and Run Scalable Application B... by WaxProlix on Thursday July 09, 2015 @01:45PM (#9859482)
Not really, why do you ask?
Re:Amazon API Gateway – Build and Run Scalable Application B... by culo on Thursday July 09, 2015 @02:03PM (#9859621)
API management is not big. Is under $500M/year [1] - plus most of the features are becoming commodities. Take a look at the open source KONG API gateway [2]

[1]https://www.forrester.com/Sizing+The+Market+For+API+Manageme...

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

Re:Amazon API Gateway – Build and Run Scalable Application B... by tracker1 on Friday July 10, 2015 @04:53AM (#9862907)
It's still an interesting proposition for new development... front end published to S3/Cloudfront, with the backend running in Lambda responders, and an API layer using this for a communication bridge... full scale flexibility with very low administrative overhead...

At a larger size, it may be more expensive than a roll your own, but for an independent idea that you just want to build something as a software/service and if successful be able to scale and handle extra load, it isn't a bad idea.

This is really the missing piece to Lambda in my mind... though being able to act as a bridge for legacy SOAP/WS-* services is pretty nice too. I've written a lot of pretty small node service that act as a bridge to SOAP based services the past few years... though most of those have been for internal use, and not sure how well that translates here.

Re:Amazon API Gateway – Build and Run Scalable Application B... by jively on Thursday July 09, 2015 @02:12PM (#9859679)
Agreed that it's moving down the value chain, many other open source projects out there doing similar things. There's also Tyk Open Source API Gateway (https://tyk.io) and API Umbrella (http://apiumbrella.io/), and APIAxle, though that's been around for a while now.

Also API market is intended to grow to $660 million in US by 2020 and over a billion worldwide (http://blogs.forrester.com/michael_yamnitsky/15-06-07-the_ap...). So it's definetely not small.

Re:Amazon API Gateway – Build and Run Scalable Application B... by culo on Thursday July 09, 2015 @02:51PM (#9859932)
Is small from a VC prospective. Especially in 2015-2020. Everything under 1B is tiny. Plus, when there are soo many players you will end up fighting like crazy just the get bread crumbs.
Re:Amazon API Gateway – Build and Run Scalable Application B... by curiousjorge on Thursday July 09, 2015 @04:59PM (#9860642)
In web scraping industry, can confirm.
Re:Amazon API Gateway – Build and Run Scalable Application B... by culo on Thursday July 09, 2015 @02:48PM (#9859917)
there is no real active development on apiaxle and api umbrella is low looking at their pulse.
Re:Amazon API Gateway – Build and Run Scalable Application B... by curiousjorge on Thursday July 09, 2015 @03:05PM (#9860019)
quick side question, what software market have avoided becoming commoditized?