Sunday, March 17, 2024

Netlify serverless functions

Interesting option for fast low traffic api - Netlify serverless functions using the free plan  -  use node.js on the back-end. (Via https://ravisiyerblog.netlify.app/ - https://raviswdev.blogspot.com/2024/01/roadmap-to-learning-full-stack-web.html )

Intro to Serverless Functions | Netlify

Tutorial - https://www.netlify.com/blog/intro-to-serverless-functions/

I just forked this repo, deployed it to my account on Netlify, it started working. Can simply modify the code to suit my requirement, no need for me to install node etc. though of course, if I need to change the functionality and use more node packages, I would need to do all that.

And it's very fast compared to Google Apps script. 

Free usage comparison:

GAS - https://developers.google.com/apps-script/guides/services/quotas - per day and per hour quotas for some services, 6 minutes per execution.

Netlify free plan - https://www.netlify.com/pricing/ - 1M per month serverless function calls, 100 GB per month.

No comments:

Post a Comment