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 Aug 8

How have you fund an open-source project ?

Open-source project are now at the heart of the industry, but how do you eat at the end of the day ?

Follow @gmartigny to see more of their posts in your feed.
Hong duc
Job: Developer Languages: java,javascript,clojure
Trending on dev.to
How do you think of angularjs application
Personal Site or Blog Recommendation
#discuss #help #blog
Why Your Best Work is Hardest to Finish
#productivity #career #beginners
Lessons I learned from training with special forces that I use in software development
#beginners #career #motivation #dieliving
Software People β€” How Do You Deal With Stress/Bullies/Frustration?
#life #software #stress #discuss
Thoughts on Dashboard Design
#data #dashboard #dataanalysis #productivity
Why I Turned Down a Job Opportunity
#career #perspective
How did you decide on what you wanted to do?
#career #advice #discuss