Skip to content

Cluster Emulator is a tool-set which enables rapid prototyping and reconfiguration of microservice-based systems in an on-premises or cloud environment.

License

Notifications You must be signed in to change notification settings

K-Cully/performance-of-microservices

Repository files navigation

Build Status

performance-of-microservices

This repo contains the Cluster Emulator rapid-prototyping suite for configuring, generating and deploying microservice-based applications.

At the core of Cluster Emulator is a library which facilitates registration and execution of real, emulated, and simulated business logic. This emulation library is utilised by other libraries and tools to enable generation and deployment of a fully operational cluster, based on a simple configuration file.

The suite currently provides utility scripts for integration with Service Fabric but is open to extension with any cluster orchestrator.

This project was developed in part fulfilment of the degree of MSc Advanced Software Engineering, University College Dublin.

Documentation

Application and service configuration

Viewing and generating diagrams

Building Cluster Emulator

The core libraries are cross platform and can be build using the dotnet CLI.

  1. Install the .NET Core 2.2 SDK.
  2. Clone the repo.
  3. Run "dotnet build" then "dotnet test".

Service Fabric Debugging

To debug the Service Fabric projects, you must have the Service Fabric SDK to be installed. See this documentaiton on setting up your development environment for Service Fabric.

Generating a Service Fabric Application Package

To generate a Service Fabric Application, define your configuration as per the "Application and service configuration" documentation above, then:

  1. Install the .NET Core 2.2 SDK.
  2. Install and launch PowerShell Core.
  3. Install the Service Fabric PowerShell modules:

Install-Module -Name Microsoft.ServiceFabric.Powershell.Http -AllowPrerelease -Scope CurrentUser

  1. Open a PowerShell Core session in the ClusterGeneration folder of the repository.
  2. Run “.\AppGenerator.ps1 -Name -ConfigFile ”.
  3. Run “.\AppPacker.ps1 -Name ”.
  4. This will generate a folder at \generated<ApplicationName>\pkg. This folder is a Service Fabric application package which can be deployed to any Service Fabric cluster.

About

Cluster Emulator is a tool-set which enables rapid prototyping and reconfiguration of microservice-based systems in an on-premises or cloud environment.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages