Legion: Enriching internet services with peer-to-peer interactions

Albert Van Der Linde, Pedro Fouto, João Leitão, Nuno Preguiça, Santiago Castiñeira, Annette Bieniusa

Research output: Chapter in Book/Report/Conference proceedingConference contribution

6 Citations (Scopus)

Abstract

Many web applications are built around direct interactions among users, from collaborative applications and social networks to multi-user games. Despite being user-centric, these applications are usually supported by services running on servers that mediate all interactions among clients. When users are in close vicinity of each other, relying on a centralized infrastructure for mediating user interactions leads to unnecessarily high latency while hampering fault-tolerance and scalability. In this paper, we propose to extend user-centric Internet services with peer-to-peer interactions. We have designed a framework named Legion that enables client web applications to securely replicate data from servers, and synchronize these replicas directly among them. Legion allows for client-side modules, that we dub adapters, to leverage existing web platforms for storing data and to assist in Legion operation. Using these adapters, legacy applications accessing directly the web platforms can co-exist with new applications that use our framework, while accessing the same shared objects. Our experimental evaluation shows that, besides supporting direct client interactions, even when disconnected from the servers, Legion provides lower latency for update propagation with decreased network traffic for servers.

Original languageEnglish
Title of host publication26th International World Wide Web Conference, WWW 2017
PublisherInternational World Wide Web Conferences Steering Committee
Pages283-292
Number of pages10
ISBN (Print)978-1-4503-4913-0
DOIs
Publication statusPublished - 1 Jan 2017
Event26th International World Wide Web Conference, WWW 2017 - Perth, Australia
Duration: 3 Apr 20177 Apr 2017

Conference

Conference26th International World Wide Web Conference, WWW 2017
CountryAustralia
CityPerth
Period3/04/177/04/17

Fingerprint

Internet
Servers
Fault tolerance
Scalability

Keywords

  • CRDTs
  • Frameworks
  • Peer-to-Peer Systems
  • Web Applications

Cite this

Van Der Linde, A., Fouto, P., Leitão, J., Preguiça, N., Castiñeira, S., & Bieniusa, A. (2017). Legion: Enriching internet services with peer-to-peer interactions. In 26th International World Wide Web Conference, WWW 2017 (pp. 283-292). [3052673] International World Wide Web Conferences Steering Committee. https://doi.org/10.1145/3038912.3052673
Van Der Linde, Albert ; Fouto, Pedro ; Leitão, João ; Preguiça, Nuno ; Castiñeira, Santiago ; Bieniusa, Annette. / Legion : Enriching internet services with peer-to-peer interactions. 26th International World Wide Web Conference, WWW 2017. International World Wide Web Conferences Steering Committee, 2017. pp. 283-292
@inproceedings{8893ed74469848e3b9befcea80a4963b,
title = "Legion: Enriching internet services with peer-to-peer interactions",
abstract = "Many web applications are built around direct interactions among users, from collaborative applications and social networks to multi-user games. Despite being user-centric, these applications are usually supported by services running on servers that mediate all interactions among clients. When users are in close vicinity of each other, relying on a centralized infrastructure for mediating user interactions leads to unnecessarily high latency while hampering fault-tolerance and scalability. In this paper, we propose to extend user-centric Internet services with peer-to-peer interactions. We have designed a framework named Legion that enables client web applications to securely replicate data from servers, and synchronize these replicas directly among them. Legion allows for client-side modules, that we dub adapters, to leverage existing web platforms for storing data and to assist in Legion operation. Using these adapters, legacy applications accessing directly the web platforms can co-exist with new applications that use our framework, while accessing the same shared objects. Our experimental evaluation shows that, besides supporting direct client interactions, even when disconnected from the servers, Legion provides lower latency for update propagation with decreased network traffic for servers.",
keywords = "CRDTs, Frameworks, Peer-to-Peer Systems, Web Applications",
author = "{Van Der Linde}, Albert and Pedro Fouto and Jo{\~a}o Leit{\~a}o and Nuno Pregui{\cc}a and Santiago Casti{\~n}eira and Annette Bieniusa",
year = "2017",
month = "1",
day = "1",
doi = "10.1145/3038912.3052673",
language = "English",
isbn = "978-1-4503-4913-0",
pages = "283--292",
booktitle = "26th International World Wide Web Conference, WWW 2017",
publisher = "International World Wide Web Conferences Steering Committee",

}

Van Der Linde, A, Fouto, P, Leitão, J, Preguiça, N, Castiñeira, S & Bieniusa, A 2017, Legion: Enriching internet services with peer-to-peer interactions. in 26th International World Wide Web Conference, WWW 2017., 3052673, International World Wide Web Conferences Steering Committee, pp. 283-292, 26th International World Wide Web Conference, WWW 2017, Perth, Australia, 3/04/17. https://doi.org/10.1145/3038912.3052673

Legion : Enriching internet services with peer-to-peer interactions. / Van Der Linde, Albert; Fouto, Pedro; Leitão, João; Preguiça, Nuno; Castiñeira, Santiago; Bieniusa, Annette.

26th International World Wide Web Conference, WWW 2017. International World Wide Web Conferences Steering Committee, 2017. p. 283-292 3052673.

Research output: Chapter in Book/Report/Conference proceedingConference contribution

TY - GEN

T1 - Legion

T2 - Enriching internet services with peer-to-peer interactions

AU - Van Der Linde, Albert

AU - Fouto, Pedro

AU - Leitão, João

AU - Preguiça, Nuno

AU - Castiñeira, Santiago

AU - Bieniusa, Annette

PY - 2017/1/1

Y1 - 2017/1/1

N2 - Many web applications are built around direct interactions among users, from collaborative applications and social networks to multi-user games. Despite being user-centric, these applications are usually supported by services running on servers that mediate all interactions among clients. When users are in close vicinity of each other, relying on a centralized infrastructure for mediating user interactions leads to unnecessarily high latency while hampering fault-tolerance and scalability. In this paper, we propose to extend user-centric Internet services with peer-to-peer interactions. We have designed a framework named Legion that enables client web applications to securely replicate data from servers, and synchronize these replicas directly among them. Legion allows for client-side modules, that we dub adapters, to leverage existing web platforms for storing data and to assist in Legion operation. Using these adapters, legacy applications accessing directly the web platforms can co-exist with new applications that use our framework, while accessing the same shared objects. Our experimental evaluation shows that, besides supporting direct client interactions, even when disconnected from the servers, Legion provides lower latency for update propagation with decreased network traffic for servers.

AB - Many web applications are built around direct interactions among users, from collaborative applications and social networks to multi-user games. Despite being user-centric, these applications are usually supported by services running on servers that mediate all interactions among clients. When users are in close vicinity of each other, relying on a centralized infrastructure for mediating user interactions leads to unnecessarily high latency while hampering fault-tolerance and scalability. In this paper, we propose to extend user-centric Internet services with peer-to-peer interactions. We have designed a framework named Legion that enables client web applications to securely replicate data from servers, and synchronize these replicas directly among them. Legion allows for client-side modules, that we dub adapters, to leverage existing web platforms for storing data and to assist in Legion operation. Using these adapters, legacy applications accessing directly the web platforms can co-exist with new applications that use our framework, while accessing the same shared objects. Our experimental evaluation shows that, besides supporting direct client interactions, even when disconnected from the servers, Legion provides lower latency for update propagation with decreased network traffic for servers.

KW - CRDTs

KW - Frameworks

KW - Peer-to-Peer Systems

KW - Web Applications

UR - http://www.scopus.com/inward/record.url?scp=85050313204&partnerID=8YFLogxK

U2 - 10.1145/3038912.3052673

DO - 10.1145/3038912.3052673

M3 - Conference contribution

SN - 978-1-4503-4913-0

SP - 283

EP - 292

BT - 26th International World Wide Web Conference, WWW 2017

PB - International World Wide Web Conferences Steering Committee

ER -

Van Der Linde A, Fouto P, Leitão J, Preguiça N, Castiñeira S, Bieniusa A. Legion: Enriching internet services with peer-to-peer interactions. In 26th International World Wide Web Conference, WWW 2017. International World Wide Web Conferences Steering Committee. 2017. p. 283-292. 3052673 https://doi.org/10.1145/3038912.3052673