Platform hardware requirement prediction
Hypothesis:
- The applications is mainly managing a lot of concurrent accesses and the limiting factor will be CPU cores.
Hardware specs:
- CPU core:
12
Projection for one hubl:
- pic users:
25 users
- average number of circles:
10 cir
Basic measurements:
- number of request per 10 circles per user at initialisation:
278 req/user/10cir
- total time of requests at initialisation:
20 sec
- average response time of an inbox check:
1s
- inbox check frequency:
0.1 hz
Initial estimation:
- max concurrent users allowed by CPU:
12 / 1s / 0.1Hz = 120 users = 4.8 hubl
From that, Alwaysdata doesn't bill per CPU but has predefined configurations. The basic one is 389€/month
for 16 CPUs (and coherent values for the RAM), the average is about 20€/month/cpu
.
So one instance of 25 concurrent users and 10 circles would cost around 5€/month
.