hpi-schul-cloud / bbb_scaler

GNU Affero General Public License v3.0
1 stars 2 forks source link

Add Servers based on time #3

Open janrenz opened 3 years ago

janrenz commented 3 years ago

Currently this scaler works based on a min avail amount of servers and then adds servers based on the load of the other servers. This approach works well if new requests are distributed over time.

In schools (also during lock down) we have a different pattern, where we see certain times that have a Hughe amount of instances that are required at the same time.

Therefore I propose to add an additional setting that will provision new servers. Config proposal:

preload:[ {time: 7:45, amount: 40, weekDaysOnly: true}, {time: 9:45, amount: 30, weekDaysOnly: true}, ]