Back to Search Start Over

Improving the network scalability of Erlang

Authors :
Natalia Chechina
Phil Trinder
Amir Ghaffari
Simon Thompson
Huiqing Li
Publication Year :
2016
Publisher :
Elsevier, 2016.

Abstract

As the number of cores grows in commodity architectures so does the likelihood of failures. A distributed actor model potentially facilitates the development of reliable and scalable software on these architectures. Key components include lightweight processes which 'share nothing' and hence can fail independently. Erlang is not only increasingly widely used, but the underlying actor model has been a beacon for programming language design, influencing for example Scala, Clojure and Cloud Haskell.While the Erlang distributed actor model is inherently scalable, we demonstrate that it is limited by some pragmatic factors. We address two network scalability issues here: globally registered process names must be updated on every node (virtual machine) in the system, and any Erlang nodes that communicate maintain an active connection. That is, there is a fully connected O ( n 2 ) network of n nodes.We present the design, implementation, and initial evaluation of a conservative extension of Erlang - Scalable Distributed (SD) Erlang. SD Erlang partitions the global namespace and connection network using s_groups. An s_group is a set of nodes with its own process namespace and with a fully connected network within the s_group, but only individual connections outside it. As a node may belong to more than one s_group it is possible to construct arbitrary connection topologies like trees or rings.We present an operational semantics for the s_group functions, and outline the validation of conformance between the implementation and the semantics using the QuickCheck automatic testing tool. Our preliminary evaluation in comparison with distributed Erlang shows that SD Erlang dramatically improves network scalability even if the number of global operations is tiny (0.01%). Moreover, even in the absence of global operations the reduced connection maintenance overheads mean that SD Erlang scales better beyond 80 nodes (1920 cores). We address the network scalability limitations of distributed Erlang.We present the design and implementation of Scalable Distributed Erlang.We give a semantics for scalable groups and validate the implementation against it.We provide a preliminary evaluation of distributed Erlang and SD Erlang performance.The performance evaluation shows that introducing s_groups improves the scalability.

Details

Language :
English
ISSN :
07437315
Database :
OpenAIRE
Accession number :
edsair.doi.dedup.....dfb3844888b8d03a0a685c614a94dade