Not sure if this is in the right place but I was interested in starting up a server hosting company soon, I have realised that the most popular plan would be the cheapest with the smallest amount of RAM. This being said, if about 60% of servers were the lowest plan and 30 minecraft servers were hosted on each dedicated machine then that is 18 of the lowest plan. Assuming that the lowest plan would be 1GB of RAM, 18x1 = 18 and then add on the amounts of RAM for each of the other plans, including the top plan of 10GB RAM (increments from 1gb to 10gb) how would i fill in the gaps for cost effectiveness so there were about 30 game servers per machine and most of the ram is being used up ? Would I need to write an algorithm for multicraft to place servers on a specific machine when a server is ordered depending on how much RAM remaining per machine ? I was thinking something like:
if amountOfServersMachine1 < 30:
AverageRamMachine1 = totalRamUsed / numberOfServers
if AverageRAMMachine1 < 1:
createServerHere
else if AverageRAMMachine1 > 1:
checkNextMachine
I'm not great with pseudocode or algorithms :/
I know it sounds very confusing but hopefully you know what I mean, what i was trying to say is if there is a small amount of RAM and many servers already, place a big server here, if there is a large amount of RAM used and few servers, place a small server here.
if amountOfServersMachine1 < 30:
AverageRamMachine1 = totalRamUsed / numberOfServers
if AverageRAMMachine1 < 1:
createServerHere
else if AverageRAMMachine1 > 1:
checkNextMachine
I'm not great with pseudocode or algorithms :/
I know it sounds very confusing but hopefully you know what I mean, what i was trying to say is if there is a small amount of RAM and many servers already, place a big server here, if there is a large amount of RAM used and few servers, place a small server here.
Banned forever. Reason: Account compromised