Research Article

A Microservice Resilience Deployment Mechanism Based on Diversity

Table 2

Symbols frequently used in this paper.

SymbolInterpretation

sThe number of types of system microservices
nxNumber of x-th microservice deployment instances
mxNumber of versions of the x-th microservice implementation
nNThe number of cluster deployment nodes
MSxThe x-th microservice (x ≤ s)
MSx,iThe i-th instance of the x-th microservice (i ≤ nx)
NjThe j-th deployment node in the cluster (j ≤ nN)
Bool value, indicating whether the i-th instance of the microservice MSx uses the k-th mirror
Bool value, indicating whether the i-th instance of the microservice MSx is deployed at the j-th deployment node
The ratio of the number of instances belonging to microservice MSx deployed on Nj to the total number of microservice MSx deployments
The ratio of the number of version k instances of microservice MSx deployed on Nj to the total number of microservice MSx deployments
Node diversity indicator for microservice MSx
Version diversity indicator for microservice MSx
CPU resources required to deploy the k-th version instance of the microservice MSx
Memory resources required to deploy the k-th version instance of the microservice MSx
The CPU resource of the deployment node (x ≤ n)
The memory resource of the deployment node Nj
The CPU load of the deployment node Nj
The memory load of the deployment node Nj
The CPU load rate of the deployment node Nj
The memory load rate of the deployment node Nj
The normalized CPU load rate of the deployment node Nj
The normalized memory load rate of the deployment node Nj
Average load rate of CPU resource for all deployment nodes
Average load rate of memory resource for all deployment nodes
The standard deviation of CPU load for the deployment node Nj
The standard deviation of memory load for the deployment node Nj