Search code examples
azuremicroservicescross-platformazure-service-fabric

Co-mingling Service Fabric programming models in the same environment


Can containers, guest executables, and reliable services be installed and operate together in the same Azure or on-premise Service Fabric environments?


Solution

  • Yes, each service does have its own programming model. In fact, if you take a look at the docs here it is one of the scenario's:

    Mix containers and Service Fabric microservices: Use an existing container image for part of your application. For example, you might use the NGINX container for the web front end of your application and stateful services for the more intensive back-end computation.

    Another official statement, if you need it, can be found here in the docs as well:

    Design applications composed of stateless and stateful microservices

    As it is written, applications consists of one or more services, each service has its own programming model and it is up to you to decide what is best for a given service.