Live data from Hacker News

Ask HN: What are the alternatives to Amazon Lambda?

news.ycombinator.com

21–30 of 78 posts

Re: Ask HN: What are the alternatives to Amazon Lambda?

#22

I started trying to use Lambda and found a few immediate issues. 1) It does not work with anything inside VPC. EG: RDS Databases cannot be used. This severely limits why you'd use this on AWS for larger apps. 2) Trying to get it working for a real app is a bit of a gun show. Debugging was a pain, you cant really write any unit tests easily that I found. Local development was confusing. 3) Lambda forces you to use old…

VPC support was introduced some weeks ago https://aws.amazon.com/it/blogs/aws/aws-lambda-update-python....

Re: Ask HN: What are the alternatives to Amazon Lambda?

#23
post #22

I started trying to use Lambda and found a few immediate issues. 1) It does not work with anything inside VPC. EG: RDS Databases cannot be used. This severely limits why you'd use this on AWS for larger apps. 2) Trying to get it working for a real app is a bit of a gun show. Debugging was a pain, you cant really write any unit tests easily that I found. Local development was confusing. 3) Lambda forces you to use old…

VPC support was introduced some weeks ago https://aws.amazon.com/it/blogs/aws/aws-lambda-update-python... .

Excellent thanks, I'm happy they have included this now.

Re: Ask HN: What are the alternatives to Amazon Lambda?

#24
post #22

I started trying to use Lambda and found a few immediate issues. 1) It does not work with anything inside VPC. EG: RDS Databases cannot be used. This severely limits why you'd use this on AWS for larger apps. 2) Trying to get it working for a real app is a bit of a gun show. Debugging was a pain, you cant really write any unit tests easily that I found. Local development was confusing. 3) Lambda forces you to use old…

VPC support was introduced some weeks ago https://aws.amazon.com/it/blogs/aws/aws-lambda-update-python... .

Not quite, they announced it would exist: "This feature will be available later this year." (from the post).

But when it is available, it'll be a huge step ahead.

Re: Ask HN: What are the alternatives to Amazon Lambda?

#25

Iron Workers: http://www.iron.io/worker/ Most new breed Docker hosts like http://tutum.co can give you a quick DIY version. But in general they (Amazon) are (currently) the best of breed and I have only positive things to say having used the JS and Java versions.

We're using IronWorker and Lambda for a current project. Our (Go) code can run on either and we've designed the app to easily swap out the backend in case of service failure.

Pros of IronWorker: More language support, better logging, easier to debug, scheduled tasks via API (this is the main thing stopping us going all in on Lambda).

Cons: Slower start up time (~2-3s on average compared to milliseconds with Lambda), pay upfront rather than pay for what you use, no choice re. CPU/RAM.

Re: Ask HN: What are the alternatives to Amazon Lambda?

#26
post #11

Google App Engine includes pretty much the same thing, except it's more mature since it's been around for ages. (JS isn't among its supported languages though — Go, Java, Python, PHP — but IIRC they may have recently added some kind of language-agnostic runtime.)

To me AWS Lambda is like a Brazil-like nightmare in bureaucracy (http://www.imdb.com/title/tt0088846/), while App Engine is equally powerful but a lot simpler to use.

It's harder to make something simple and powerful than it is to make something complex and powerful, so hats off to the Google engineers involved.

Re: Ask HN: What are the alternatives to Amazon Lambda?

#27

One thing that strikes me as having really promising possibilities for doing something Lambda-esque is systemd socket activation [1]. You can essentially have no running services, and systemd will hold open a socket (port/unix/etc) and then it will spin up a given service if a request is made on that socket. As long as you build your "service" to handle a single request and shut down (maybe have an external db-access…

Along these lines I started a pet project [1] to enable reusing artifacts (Java) uploaded to AWS Lambda to also be self-hosted. One of the last tasks I have left is to dynamically run a container based on the incoming request similarly outlined here [2].

[1] https://github.com/digitalsanctum/lambda [2] https://developer.atlassian.com/blog/2015/03/docker-systemd-...

Re: Ask HN: What are the alternatives to Amazon Lambda?

#28

One thing that strikes me as having really promising possibilities for doing something Lambda-esque is systemd socket activation [1]. You can essentially have no running services, and systemd will hold open a socket (port/unix/etc) and then it will spin up a given service if a request is made on that socket. As long as you build your "service" to handle a single request and shut down (maybe have an external db-access…

Along these lines I started a pet project [1] to enable reusing artifacts (Java) uploaded to AWS Lambda to also be self-hosted. One of the last tasks I have left is to dynamically run a container based on the incoming request similarly outlined here [2]. [1] https://github.com/digitalsanctum/lambda [2] https://developer.atlassian.com/blog/2015/03/docker-systemd-...

Your github link is 404

Re: Ask HN: What are the alternatives to Amazon Lambda?

#29
post #28

Earlier quoted context omitted.

Along these lines I started a pet project [1] to enable reusing artifacts (Java) uploaded to AWS Lambda to also be self-hosted. One of the last tasks I have left is to dynamically run a container based on the incoming request similarly outlined here [2]. [1] https://github.com/digitalsanctum/lambda [2] https://developer.atlassian.com/blog/2015/03/docker-systemd-...

Your github link is 404

I realized I hadn't yet made the repo public. It is now :)
Post reply on HN