Reputation: 3466
I am trying to understand differences between a FaaS in Azure and Actors in Service Fabric. To me both almost do same and are serverless. The only difference is Actor is single threaded. Is there a good explanation to distiguish these two?
Upvotes: 1
Views: 732
Reputation: 5817
My rough notes on this.
ASE = App Service Environ, CP = Consumption Plan for functions, SF = Service Fabric
Configuration
Computing
Costs
Developer Experience
Service Ramp Up
Scaling
Dialog welcome...
Upvotes: 1
Reputation: 855
Service Fabric Actor actual is a stateful service so service fabric will maintain the state for you. Over simplify example: You have a method to add 1 into a variable x start at 0. You call that method twice. When you get x you will get 2 with stateful service.
Whereas Azure function is not. Similar with example above you will get 1 even you call it twice as your state is not maintained.You can actually sharing state as describe here. However it is possible doesnt mean you should do it :-) https://markheath.net/post/sharing-state-between-azure-functions.
Upvotes: 1