A reliability benchmark for actor-based server languages

Randtoul, A. and Trinder, P. (2022) A reliability benchmark for actor-based server languages. In: Erlang 2022: Proceedings of the 21st ACM SIGPLAN International Workshop on Erlang, Ljubljana, Slovenia, 11-16 Sep 2022, pp. 21-32. ISBN 9781450394352 (doi: 10.1145/3546186.3549928)

[img] Text
276981.pdf - Accepted Version

806kB

Abstract

Servers are a key element of current IT infrastructures, and must often deal with large numbers of concurrent requests. Reliability is crucial as any disruption is extremely costly. Some important reliable servers are implemented in actor languages/libraries that provide process isolation and supervision. Reliability benchmarks model fault scenarios to measure the reliability characteristics of systems. The paper presents the design and implementation of a new reliability benchmark for actor-based server languages: Supervised Communicating Processes (SCP). SCP extends an existing server concurrency benchmark by supervising server actors/processes. We outline Erlang and Scala/Akka SCP implementations, and an associated fault injector. We compare the reliability characteristics of Erlang and Scala/Akka for server-style computations using SCP in the following four main experiments. (1) Progressive permanent failures, where a percentage of server processes fail permanently. (2) Recovery from different percentages (0% .. 20%) of failures occurring uniformly, randomly, or in bursts, and with a range of supervisor/supervisee ratios. (3) Comparing how the Erlang and Scala/Akka SCPs handle burst, random and uniform failure patterns. (4) Comparing how Erlang and Scala/Akka handle server actor/process faults with different fault patterns and failure rates.

Item Type:Conference Proceedings
Status:Published
Refereed:Yes
Glasgow Author(s) Enlighten ID:Randtoul, Mr Aidan and Trinder, Professor Phil
Authors: Randtoul, A., and Trinder, P.
College/School:College of Science and Engineering > School of Computing Science
ISBN:9781450394352
Published Online:06 September 2022
Copyright Holders:Copyright © 2022 Association for Computing Machinery
First Published:First published in Erlang 2022: Proceedings of the 21st ACM SIGPLAN International Workshop on Erlang: 21-32
Publisher Policy:Reproduced in accordance with the publisher copyright policy
Related URLs:

University Staff: Request a correction | Enlighten Editors: Update this record