4 ms·
In a way, Amazon Lambda is just "upload a PHP script to my $3 shared webhost", except: - JavaScript/Java/Python instead of PHP - Can handle gigantic buck
by skrebbel 11y ago
In a way, Amazon Lambda is just "upload a PHP script to my $3 shared webhost", except:
- JavaScript/Java/Python instead of PHP
- Can handle gigantic bucketloads of requests per second, transparently
If you don't expect to scale super high, and if the actual language isn't sacred to you, then you can get the exact same ease of deployment and a comparably large ecosystem of open source on your favorite el cheapo webhost.
Many of the reasons Lambda is attractive are the same reasons PHP became so popular (despite the not-so-awesome language).
- k__ 11y agoThis is where PHP can really shine. I mean, you simply upload a script to a web server and have a new API endpoint...
- goldenkey 11y agoYou realize that Python, Perl (cgi), and even C, can do the same things? mod_xxxx
- k__ 11y agoNo, ever used them. I read that PHP was created to be a better Pearl for web-applications, so I guessed that with Pearl it did work the same. But I had the impression that languages like Python and C were used to directly develop application servers.
- toyg 11y agoIn practice, you can't: stuff like mod_python was never popular and never really gained a foothold in the shared-hosting market. Deploying a python script today means either building a VPS or hunting for a niche provider like webfaction (which will still need you to drop to the shell in most cases anyway). It's another level of skill required.