ePrints.FRI - University of Ljubljana, Faculty of Computer and Information Science

Microservice scaling optimization based on metric collection in Kubernetes

Aljaž Blažej (2017) Microservice scaling optimization based on metric collection in Kubernetes. EngD thesis.

Download (345Kb)


    As web applications become more complex and the number of internet users rises, so does the need to optimize the use of hardware supporting these applications. Optimization can be achieved with microservices, as they offer several advantages compared to the monolithic approach, such as better utilization of resources, scalability and isolation of different parts of an application. Another important part is collecting metrics, since they can be used for analysis and debugging as well as the basis for automatic scaling of microservices. In our diploma work we describe the advantages of collecting metrics and identify the most important ones. We also do a detailed analysis of the Dropwizard Metrics library, which is one of the most used tool-kits for monitoring Java applications. We implement an extension for collecting metrics in microservices developed with the KumuluzEE microservice framework and simplify the development and deployment of microservices that collect and expose metrics. We describe the container orchestration and management system Kubernetes, its components and the steps needed to create a multinode cluster. Finally, we deploy the microservice and use the collected metrics to optimize the scaling process.

    Item Type: Thesis (EngD thesis)
    Keywords: Kubernetes, Metrics, Scaling, Dropwizard, KumuluzEE
    Number of Pages: 57
    Language of Content: Slovenian
    Mentor / Comentors:
    Name and SurnameIDFunction
    prof. dr. Matjaž B. JuričMentor
    Link to COBISS: http://www.cobiss.si/scripts/cobiss?command=search&base=51012&select=(ID=1537571779)
    Institution: University of Ljubljana
    Department: Faculty of Computer and Information Science
    Item ID: 3964
    Date Deposited: 16 Sep 2017 12:38
    Last Modified: 06 Oct 2017 09:03
    URI: http://eprints.fri.uni-lj.si/id/eprint/3964

    Actions (login required)

    View Item