Have you ever build application with Faas. What is your usecase ?

I just read about Serverless Architectures and Faas, It sound cool and low price. What is the usecase should I apply to my project (mobile, web, ...) ?

Did you find this post useful? Show some love!

I think one of the most powerful usecases of serverless is for something like an event bus. This could be where you setup a bunch of webhooks from different services to call your serverless functions, which then act upon the request. A simple example of this could be GitHub webhooks to call Slack (yes this integration is already a one-click install, but what if you wanted to change the logic in-between?).

Being able to scale at the function level allows very efficient and tight control, since you can fine tune the resources available to each part of the app. A great explanation of this I saw (not sure where) was to think about the different methods for an API endpoint. Using serverless allows you to scale just the GET method for instance, or perhaps the GET and POST. Not only can you do this with fine granularity, you can do it on the fly too. If you're getting a lot of GET requests for a resource, but don't want the overhead of creating another entire instance, you can just scale up the GET function.

If you wanted to get started with serverless for free, check out OpenFaaS - it's a cloud native serverless framework which can be deployed on Docker Swarm or Kubernetes, avoiding vendor lock-in. The community is very friendly and open to suggestions so if there's something you want, just open an issue!

Thank you for the info, I will try this :)

Classic DEV Post from Apr 7

How do you deal with burnout and low motivation?

The past few months have been a no-code zone for me. I've literally gotten noth...

READ POST
Follow @rjpsyco009 to see more of their posts in your feed.
Hong duc
Job: Developer Languages: java,javascript,clojure
Trending on dev.to
Back to basics: Naming
#naming #javascript #programming #discuss
Follow Friday!
#discuss
Does anyone else feel bothered when people term us as coders instead of developers or programmers..?
#discuss
What are your programming blogs?
#discuss
Postgres or mysql
#discuss
What are the first differences you noticed in GitHub after Microsoft bought it? Post here yours!
#github #microsoft #discuss
When is code "too clever" / how do you think about readability/cognitive load?
#discuss
How to deal with being laid off?
#work #job #development #discuss