Resource elasticity controller for Docker-based web applications
Henning Titi Ciptaningtyas, Bagus Jati Santoso, Muhammad Fahrur Razi · 2017
The usage over SaaS (Software as a Service) for web apps has increased considerably in recent years. Web service providers compete to provide the best service for the client in QoS (Quality of Service) requirements specified by the (SLA) Service Level Agreement. This leads to the growing resource requirement over web applications. Moreover, flash crowds are also commonly occurred in the web-based application. This situation is happened when the traffic of web applications is much higher compared to the normal condition. If the web applications are not able to handle this situation, they may have an improper act and cause a loss for the client. To overcome this problem, the elastic cloud may be further utilized. In this research, we create a resource elasticity controller system that allows web application running on the top of Docker. The resource can be adjusted according to the requirement of the running web applications. When the application requires additional resources, the system automatically allocates new resource in the new container. On the other hand, it also reduces the allocated resources when no longer needed by applications. From the experimental results, this system can handle up to 57,750 requests with error ratio of 7.83%.