Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How CGI scripts differ from Amazon Lambda and other serverless solutions?


Not really at all. When you have been in the industry a few decades you see the same things coming around every few years, just with new jargon. If you recognise it and can embrace it you might be able to leverage it!


For CGI you have to maintain a server running Apache or some other web server software and persistent storage for a copy of your script along with a means of deploying them. You are limited to concurrency equal to the number of cores/threads and memory on your server or you have to manage some means of load balancing between multiple servers which you maintain along with deploying your script to each of them.

Certainly you could run a cluster of servers or even an auto-scale group of servers with all of your cgi programs and handle lots of http requests. Serverless/Lambda means you don't have to do this.

Also, not all lambda's are handling http requests, so you'll need to figure out the best way to deal with other events and monitor queues, etc.


The real difference is amazon is doing it for you, not that it isn't happening.


I believe i framed my entire response from the perspective of how it is different for you. That is the whole point of lambda. You do less.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: