question

ChristianHavel-7496 avatar image
0 Votes"
ChristianHavel-7496 asked ·

Migrate monolith into service fabric

Hi,

we have a .NET 4.7 monolith and think about to "put this into" Azure Service Fabric.

We are Azure Service Fabric newbies. Do I understand it correctly, that we can put our existing monolith into a Service Fabric and deliver a setup to the customer, that contains the binaries from our setup and a a Service Fabric Runtime?

What is the path to put an existing project into a Service Fabric?

We think that the Service Fabric, I call it a environment, that will make us fit for the future to split our monolith into microservices. The split into microservices should help us to achive high availability and scalability.

Best Regards, Christian

service-fabric-standalone
· 1
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

If the response did help in answering your query, please 'Accept as answer', so that it helps other users visiting the forum.

0 Votes 0 · ·

1 Answer

jakaruna-MSFT avatar image
0 Votes"
jakaruna-MSFT answered ·

Hi, You can technically ship your monolith application in service fabric. But that will come with some challenges.

In service fabric, Stateful apps is recommended to run at least 3 replicas. So its immune to a node failure. But we can run only one replica of our monolith app. During updates, Services can move from one node to another. If we have once replica, We will have a downtime which we dont need.

Resource allocation may be a problem if your monolith app needs more resources(cpu and memory) than a single node has. This will become a problem when it moves from one node to another.

If you are fine with the above constraints, Then you can try out the deployment.

Refactoring monolith into smaller apps will be the correct option. But that will take some time.

This document under service fabric discusses about converting a monolith app into microservices.

· Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.