News for hackers. Stuff that matters.
Re:AWS Lambda as a back end for a single-page app by S4M on Saturday May 16, 2015 @06:37PM (#9557900)
Naive question: how does his example differ from a server responding to HTTP requests, that would take a JSON event as an argument and return a json version of:

    "the value was: "+ event['key1']
I suppose the AWS wins in term of set up and easiness of deployment. Anything else?
Re:AWS Lambda as a back end for a single-page app by fru2013 on Saturday May 16, 2015 @07:06PM (#9557988)
It differs in that you don't have to worry about scaling up that HTTP server, or pay for the machine hosting that HTTP server. With Lambda, you only pay per requests, current rate is $0.20 per 1 million requests.
Re:AWS Lambda as a back end for a single-page app by pyvek on Saturday May 16, 2015 @08:07PM (#9558105)
Is there also any limit on machine resources that a single request can use? I'm curious about cases in which requests might need non-trivial amount of computational power.
Re:AWS Lambda as a back end for a single-page app by zwily on Saturday May 16, 2015 @08:14PM (#9558129)
You pay for request time too, measured in 100ms increments. And you pay more for more CPU/RAM.