Live data from Hacker News

Ask HN: How was your experience with AWS Lambda in production?

news.ycombinator.com

161–165 of 165 posts

Re: Ask HN: How was your experience with AWS Lambda in production?

#161

I worked on a project where the architect wanted to use Lambdas for the entire solution. This was a bad choice. Lambdas have a lot of benefits - for occasional tasks they are essentially free, the simple programming model makes them easy to understand in teams, you get Amazon's scaling and there's decent integration with caching and logging. However, especially since I had to use them for whole solution, I ran into a…

1. Use a framework for deploying your lambda functions. There are a few that will manage the API Gateway for you. 2. Don't put the Lambda inside a VPC if you want lower response times 3. Step Functions don't seem ready for prime time that I can tell. (This might have changed in the last couple of months) 4. Lambda Functions should be microservices. Small and lean. 5. There is a limit on resources for CloudFormation s…

What makes you say Step Functions isn't ready for prime time? We've been using it (and SWF which it is based off) for about a year at decent scale and been generally very happy with it.

Re: Ask HN: How was your experience with AWS Lambda in production?

#162

Earlier quoted context omitted.

1. Use a framework for deploying your lambda functions. There are a few that will manage the API Gateway for you. 2. Don't put the Lambda inside a VPC if you want lower response times 3. Step Functions don't seem ready for prime time that I can tell. (This might have changed in the last couple of months) 4. Lambda Functions should be microservices. Small and lean. 5. There is a limit on resources for CloudFormation s…

What makes you say Step Functions isn't ready for prime time? We've been using it (and SWF which it is based off) for about a year at decent scale and been generally very happy with it.

When I initially set the up, there was no way to edit or delete them. I haven't messed with them since, although, I did just check and there aren't any step functions in my account so it looks like they deleted the old ones.

It may be time to test them out again, I just go bit pretty bad with the last time I implemented them and lost about a weeks worth of work because of it being un-usable.

Re: Ask HN: How was your experience with AWS Lambda in production?

#163

Earlier quoted context omitted.

API Gateway adds around 200ms to each call for us based on our testing plus another 100ms if it’s inside a VPC. What region are you in? Our VPC has a NAT Gateway so that our Lambda functions can talk to the internet as well. I am by no means an expert and am reporting what watching the time differences between Lambda reporting and our network calls shows. Edit: this is by no means a deal breaker or anything. Just som…

(crap I just typed stuff out and pressed F5...) I haven't tried with a NAT Gateway. This is what I know. If the response is small, the request duration is small. Cloudfront > Gateway > Lambda > RDS (PostgreSQL) Response: 1k | 20ms-60ms 10k | 50ms-90ms 100k | 150ms-200ms 350k | 200ms-450ms That's a rough gauge of what I've experienced. I think the throughput on the gateway is the bottleneck.

Just a follow up, after the issue last week with AWS Lambda in East-1 (thursday I believe) VPC is not longer causing any additional overhead.

I am not sure what happened, but I had to move a couple of functions inside the VPC and our response times have remained the same.

Re: Ask HN: How was your experience with AWS Lambda in production?

#164
I am yet to believe how it is possible but it feels so good. I contacted hacklordwiz and they helped me flip my $5,000 to $50,000 and sent to my account without traces. You should try him today and thank me later,it’s unbelievable!!.. He can also help you hack phones,emails and all that tech stuff including spying on your partner. Just contact him at hacklordwiz@gmail.com, he is 100% trustworthy …i guarantee he is for real.

Re: Ask HN: How was your experience with AWS Lambda in production?

#165
post #160
post #102

Earlier quoted context omitted.

Is there any reason why you can't use S3?

Sure, and that's what I do most of the time. However, if the S3 keys are larger than ~500mb, then it's not possible to process them in any way with Lambda since there isn't enough "scratch space" available in /tmp. I was suggesting EFS support merely because it would allow access to arbitrarily large amounts of "local" disk to work with...

didn't know you need scratch space to work with S3 in lambda? What about something like s3fs/goofys?
Post reply on HN