License: Creative Commons Attribution 3.0 Unported license (CC BY 3.0)
When quoting this document, please refer to the following
DOI: 10.4230/LIPIcs.OPODIS.2019.9
URN: urn:nbn:de:0030-drops-117954
URL: http://dagstuhl.sunsite.rwth-aachen.de/volltexte/2020/11795/
Go to the corresponding LIPIcs Volume Portal


Tato, Genc ; Bertier, Marin ; Rivière, Etienne ; Tedeschi, Cédric

Split and Migrate: Resource-Driven Placement and Discovery of Microservices at the Edge

pdf-format:
LIPIcs-OPODIS-2019-9.pdf (0.7 MB)


Abstract

Microservices architectures combine the use of fine-grained and independently-scalable services with lightweight communication protocols, such as REST calls over HTTP. Microservices bring flexibility to the development and deployment of application back-ends in the cloud.
Applications such as collaborative editing tools require frequent interactions between the front-end running on users' machines and a back-end formed of multiple microservices. User-perceived latencies depend on their connection to microservices, but also on the interaction patterns between these services and their databases. Placing services at the edge of the network, closer to the users, is necessary to reduce user-perceived latencies. It is however difficult to decide on the placement of complete stateful microservices at one specific core or edge location without trading between a latency reduction for some users and a latency increase for the others.
We present how to dynamically deploy microservices on a combination of core and edge resources to systematically reduce user-perceived latencies. Our approach enables the split of stateful microservices, and the placement of the resulting splits on appropriate core and edge sites. Koala, a decentralized and resource-driven service discovery middleware, enables REST calls to reach and use the appropriate split, with only minimal changes to a legacy microservices application. Locality awareness using network coordinates further enables to automatically migrate services split and follow the location of the users. We confirm the effectiveness of our approach with a full prototype and an application to ShareLatex, a microservices-based collaborative editing application.

BibTeX - Entry

@InProceedings{tato_et_al:LIPIcs:2020:11795,
  author =	{Genc Tato and Marin Bertier and Etienne Rivi{\`e}re and C{\'e}dric Tedeschi},
  title =	{{Split and Migrate: Resource-Driven Placement and Discovery of Microservices at the Edge}},
  booktitle =	{23rd International Conference on Principles of Distributed Systems (OPODIS 2019)},
  pages =	{9:1--9:16},
  series =	{Leibniz International Proceedings in Informatics (LIPIcs)},
  ISBN =	{978-3-95977-133-7},
  ISSN =	{1868-8969},
  year =	{2020},
  volume =	{153},
  editor =	{Pascal Felber and Roy Friedman and Seth Gilbert and Avery Miller},
  publisher =	{Schloss Dagstuhl--Leibniz-Zentrum fuer Informatik},
  address =	{Dagstuhl, Germany},
  URL =		{https://drops.dagstuhl.de/opus/volltexte/2020/11795},
  URN =		{urn:nbn:de:0030-drops-117954},
  doi =		{10.4230/LIPIcs.OPODIS.2019.9},
  annote =	{Keywords: Distributed applications, Microservices, State management, Edge computing}
}

Keywords: Distributed applications, Microservices, State management, Edge computing
Collection: 23rd International Conference on Principles of Distributed Systems (OPODIS 2019)
Issue Date: 2020
Date of publication: 11.02.2020


DROPS-Home | Fulltext Search | Imprint | Privacy Published by LZI