It is possible to change the capacity of an entity server dynamically?
Show older comments
It is possible to change the capacity of an entity server dynamically? For example if the utilization exceeds some threshold then an the capacity increases (in effect adding another server). If so, how can this be done? Is there documentation I could look at? The entity server documentation didn't seem to have any clues.
For context, I'm modeling a cloud type service, where new servers are started as needed. I'm using the SimEvents library as it has queues, but if there is a better way I'd be happy to hear it.
Thanks.
Accepted Answer
More Answers (2)
Scott
on 14 Apr 2017
0 votes
SUHIB SULIMAN
on 21 Apr 2022
0 votes
shot_cnt=1000
rank_cnts=[{},{},{}]
for x in range(shot_cnt):
if (x%100)==0:
print(x)
a_i_range=[1,1.25]
b_i_range=[1,2]
c_i_range=[1,1.5]
"""##Import lib + read data from file"""
import pandas as pd
import numpy as np
import networkx as nx
#import matplotlib.pyplot as plt
df = pd.read_csv('data_files/swimdata.csv')
Categories
Find more on Discrete-Event Simulation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!