What is FaaS?
So, what is FaaS? It is a service provided by some infrastructure providers (AWS, Google Cloud, IBM Cloud, Azure, etc.), in which we upload our functions, and they are executed on demand by an event .
What can these functions do?
The charge that shows up on our credit card statements is calculated based on the following: we execute an event and the cloud service “turns on” the infrastructure where our function is, begins to execute our code, uses X amount of RAM for Y amount of time, and then shuts down again. The time from the infrastructure being “turned on” until it shuts down is what is charged.
Why should (or shouldn't) it be used?
It is difficult to define whether or not it is useful, as it really all depends on your application, your needs, how you design said application and how much you are willing to spend. Let’s do a slightly more in-depth analysis.