3 ms·
For a pretty traditional CRUD web app or mostly static with a few dynamic parts website something like Lambda is probably not the right answer. Where I think L
by michaelbuckbee 9y ago
For a pretty traditional CRUD web app or mostly static with a few dynamic parts website something like Lambda is probably not the right answer.
Where I think Lambda is interesting is in areas of high variability.
The sort of canonical example is image resizing. While you certainly can do that on the same machine as your web server it makes a lot more sense to put the images to a S3 bucket (keeps them off the server, out of versioning, etc.)
You can tie a Lambda to a S3 create file event. So when the file hits the bucket it automatically gets resized into all the appropriate sizes needed elsewhere on the site. This setup sidesteps a ton of potential issues, makes your app much more robust and is pretty easy to get going.