Skip to main content
Have a personal or library account? Click to login
Communication-Affinity Aware Colocation and Merging of Containers Cover

Abstract

Microservice architecture relies on message passing between services. Inter-service communication introduces an overhead to the applications’ overall performance. This overhead depends on the runtime placement of the services bundled in containers and it can be reduced by intelligently deploying the containers by considering the communication affinities between services. Researchers have attempted to colocate microservices and merge containers based on affinities. However, container merging has not been considered up to now. This study shows that the problem of service placement in a microservice application considering communication affinities, constrained by computational resources, can be mapped to an instance of the Binary Knapsack Problem. We propose a container colocation and merging mechanism based on a heuristic solution to the Binary Knapsack Problem. The proposed approach reduced the communication overhead of a benchmark application by 58.5% and as a result, execution time was reduced by approximately 13.4% as well.
Language: English
Page range: 33 - 45
Published on: Dec 30, 2022
Published by: University of Colombo School of Computing
In partnership with: Paradigm Publishing Services

© 2022 Nishadi N. Wickramanayaka, Chamath I. Keppitiyagama, Kenneth Thilakarathna, published by University of Colombo School of Computing
This work is licensed under the Creative Commons Attribution 4.0 License.