Live data from Hacker News

AWS Lambda

aws.amazon.com

151–160 of 164 posts

Re: AWS Lambda

#151

I wish they hadn't named the units of computation "Lambda functions". Cause, you know there's already something known as a "Lambda function" in computer science. But kudos for Amazon for furthering the datacenter-is-the-computer approach. It is simply the right thing to do.

If you got confused by amazon offering lambda functions, I'm pretty sure you have no idea what they are.

Re: AWS Lambda

#152
post #122

Earlier quoted context omitted.

It seems like you're seriously saying that people who are studying computer science lack the ability to tell the difference. Naming the product something that closely resembles its functionality seems like a great idea for a product. It's still Amazon Lambda, and I think it's very unlikely that people will simply refer to it as "Lambda." If CS students find themselves hopelessly confused by this product name, they ar…

I'm not arguing they will not be able to tell the difference... I'm arguing it will cause confusion at some point, and maybe that's a negative externality of naming this product "Lambda." Nobody said "lose a generation of CS students." And, as I've noticed in the past, searching for "y combinator" + any language name will often keep useful results away until you finally block this site. I'm not sure if this is still…

I can't believe people reuse names and phrases either!!

Re: AWS Lambda

#153

Is this comparable to IronWorker?

[I'm with Iron.io] Similar, yes. We're excited that developers are seeing the power of the task/worker/lambda being the scalable unit of work rather than server or VM or even container. Haven't used Lambda much yet but off hand we see many IronWorker advantages: - Supports all languages - Easily scale to thousands of parallel workers - Integrated logging, error reporting, alerts, auto-retries on failure - Integration…

I recently used iron.io to process around 750K images (generating pHashes for duplicate detection). The service is fantastic.

Re: AWS Lambda

#154

Earlier quoted context omitted.

Most of the Python things I would want to do have slow startup times. Generally I keep my pythons running. But node is super quick to start.

That's an interesting perspective - what's a slow startup time in this context? A quick back-of-the-envelope test on my machine for both node and python suggest similar (around 100 ms) start up times for the bare environments. Do you just mean that you'd prefer to use node for smaller jobs anyway?

Django is the problem. Even if I don't trigger the database to connect, the startup costs are noticeable to validate models and load things that won't ever be used.

so maybe lambda its not suitable for things that are less than a few seconds.

I could write python with no django and try to structure things so they don't need database. but then I would have to take input from and put output data back to a queue of some sort.

>> A quick back-of-the-envelope test

and actually python on mine was even faster than node when both are doing nothing. so my assumption was wrong (but its based on mostly using django and all my node stuff is small servers and tools)

» time node noop.js node noop.js 0.04s user 0.01s system 98% cpu 0.045 total

» time python noop.py python noop.py 0.01s user 0.01s system 90% cpu 0.026 total

but importing significant numbers of libraries would be the real test.

the main benefits to lambda would still be:

- scaling for high demand - no cost for idle time

and let's not worry about the micro pennies in startup times

Re: AWS Lambda

#156

Huh? Shared server infrastructure? That's really what this sounds like. Welcome to web hosting in 1999 guys. Most of the point of AWS was that you have your own dedicated resources. Sure, this is a scaling solution, but revolutionary?

> Welcome to web hosting in 1999 guys. Sorry, where were you getting servers in 1999 that existed for fractions of a second?

Ain't a 'server' boss. They're running a segment of code. When someone hits your PHP page on an oversubscribed DreamHost box with 4000 other sites contending for resources, it's pretty much the same thing. Here we're getting some dedicated CPU/Mem, but it ain't a 'server.' Where's the dedicated disk and ability to install/run whatever I want? Nope, just a lil segment of JS running on a shared resource and billed in 100ms increments.

Re: AWS Lambda

#157
post #86

Earlier quoted context omitted.

Really douche to use a computer science term as your product name, are they going to trade mark that or are the just happy with the confusion it will cause.

I have a hard time believing there is cause for confusion here, have Physicists been stumped by Amazon Redshift? I'm not being facetious, I just don't see how a product name that is niche to people using Amazon services is likely to confuse people. Also, CS hardly owns the greek letter lambda, it like many greek letters has been used for many products and features over the years. Delta is an airline, but they're doin…

When I've done searches for redshift I have actually ended up having to clarify which type I mean.

As someone who does use AWS a lot and lambda functions, then yes, overloading the term is dumb. I'll also probably end up using Lambda functions.

Re: AWS Lambda

#158
Good stuff. Basically it seems to do the bind+listen for you if you are the trigger subscriber. If you are the trigger generator, then it does socket.write for you. But the big deal is that you dont pay for 'listen', just pay for the function execution. The one thing that will surely happen with this is that the code written will be 'locked in' to run only on aws territory.

Re: AWS Lambda

#159
post #57

Earlier quoted context omitted.

I won't be surprised if someone writes a generic lambda library which given a cloud provider generates relevant mappings/code. Will take care of some of the vendor lock-in concerns ?

I think this would be the solution. I guess lambda is basically IFTTT at scale with more configurable "T" portion. Anyway, libcloud seems to be leading the way in this kind of standardization, so that's good news. There's also providers that have drop in AWS-compatible APIs for some services. Then there is stuff like apache mesos for creating that infrastructure, which is less relevant to smaller companies. But I sus…

+1 to libcloud. Good point re: non standard APIs too. A new (0.5) project that is IFTTT also Apache license like libcloud is StackStorm.

Re: AWS Lambda

#160
post #3

I’ve had a chance to use the service for a couple of weeks. My quick summary review is that it’s a little tricky setting up the IAM roles and security groups, but once you have that going, it works great! I see a ton of potential here in transforming the way people use AWS. I also put together the Netflix use cases in the keynote so if you have any questions I’ll try to answer them!

Could you use it more generically, meaning not "just" within an app but also as part of an overall control plane, sending commands to other APIs like a notification system?
Post reply on HN