90
th
percentile and incurs less computing cost (i.e.
21.94% less containers in use). As mentioned
earlier, NN requires the most average number of
containers in order to achieve the same amount of
work. Additionally, the overall response time of NN
seems to be the worst. This is because NN tends to
have the slowest response to the load changes. In
other words, NN cannot spawn a sufficient number
of containers in time in order to cope with more
workloads and when the load becomes smaller, NN
does not reduce the in-use containers as quickly as it
should.
5 CONCLUSION
We have proposed Thoth, an automated resource
management system for container-based cloud
platform, using different learning algorithms to auto-
scale computing resources for web applications. The
goal is to assist developers so that they do not need
to manually adjust computing resources when
workload changes to maintain acceptable level of
service. Thoth utilized three algorithms as pluggable
scaling modules, namely Neural Network, Q-
Learning and Rule-based algorithm. These
algorithms are studied and evaluated in a container-
based platform as a service system. The
experimental results suggest that QL can achieve the
best quality of service with the least computing cost
since QL can adapt to the load changes more quickly
and appropriately than the others. Although Rule-
based algorithm can yield a similar quality of service
to QL, Rule requires 21.94% more computing
resources, resulting in more expense. Additionally,
the rule-based algorithm requires experts to
manually calibrate the rules and it cannot be
automatically adjusted to changes in the workload.
NN performs the worst in terms of the amount of
resources and service quality since it cannot adjust
the load changes quickly enough. From the
evaluation, QL could help developers maintain
acceptable service quality as well as automatically
adjust the proper amount of computing resources in
order to minimize the computing resource expense.
REFERENCES
Dawoud, W., Takouna, I. and Meinel, C. (2012) Elastic
virtual machine for fine-grained cloud resource
provisioning. In: Global Trends in Computing and
Communication Systems, Springer Berline Heidelberg,
pp. 11-25.
Deis.io, (2017). Deis builds powerful, open source tools
that make it easy for teams to create and manage
applications on Kubernetes. [online] Available at:
https://deis.io.
Dougherty, B., White, J. and Schmidt, D.C. (2012) Model-
driven auto-scaling of green cloud computing
infrastructure. In: Future Generation Computer
Systems, 28, no 2., pp.371-378.
Dutreilh, X., Kirgizov, S., Melekhova O., Malenfant, J.,
Rivierre, N. and Truck, I. (2011) Using Reinforcement
Learning for Autonomic Resource Allocation in
Clouds: Toward a Fully Automated Workflow. In: the
7th International Conference on Autonomic and
Autonomous Systems, Venice, Italy: ICAS, pp.67-74.
Flynn.io, (2017). Throw away the duct tape. Say hello to
Flynn. [online] Avaiable at: https://flynn.io/
Jamshidi, P., Sharifloo, A., Pahl, C., Arabnejad, H.,
Metzger, A. and Estrada, G. (2016) Fuzzy Self-
Learning Controllers for Elasticity Management in
Dynamic Cloud Architectures. In: the 12th
International ACM SIGSOFT Conference on Quality
of Software Architectures, Venice: QoSA, pp. 70-79.
Jiang, J., Lu, J., Zhang, G. and Long, G. (2013) Optimal
Cloud Resource Auto-Scaling for Web Applications.
In: the 13th IEEE/ACM International Symposium on
Cluster, Cloud and Grid Computing, Delft: CCGrid,
pp. 58-65.
Jiang, Y., Perng, C.S., Li, T. and Chang, R. (2011) ASAP:
A Self-Adaptive Prediction System for Instant Cloud
Resource Demand Provisioning. In: IEEE 11th
International Conference on Data Mining, Vancouver,
BC, pp. 1104-1109.
Kubernetes.io, (2017). Kubernetes is an open-source
system for automating deployment, scaling, and
management of containerized applications. [online]
Available at: https://kubernetes.io/
Mao, M., Li, J. and Humphrey, M. (2010) Cloud auto-
scaling with deadline and budget constraints. In: the
11th IEEE/ACM International Conference on Grid
Computing, Brussels, pp. 41-48.
Rao, J., Bu, X., Xu, C.Z., Wang, L., and Yin, G. (2009).
VCONF: a reinforcement learning approach to virtual
machine auto-configuration. In: the 6th International
Conference on Autonomic Computing, Barcelona,
Spain: ICAC, pp. 137-146.