As per this page, node types in service fabric can be seen as analogous to roles in cloud services.
If that is the case, then how do we think about deploying multiple applications to same service fabric cluster. E.g. let's say there are 2 applications:
- The first only needs a web role,
- The seconds, which needs 1 web role and 2 worker roles.
Questions:
Then do we create service fabric cluster with 3 node types (web-1, worker-1, worker-2) and then let web roles of both apps share web-1 node type?
What if the performance/scalability requirements of both apps are very different e.g. App1 web role needs 20 VMs, whereas App2 web role only needs 2? We still have to change instance count of nodetype1 to 20, right?
And how does service fabric isolate one app from effect of another? E.g. App1 starts getting a lot of traffic, and hence ends up consuming most of the CPU/Memory, wouldn't it impact App2?