With the ubiquity of parallel commodity hardware, developers turn to high-level concurrency models such as the actor model to lower the complexity of concurrent software. However, debugging concurrent software is hard, especially for concurrency models with a limited set of supporting tools. Such tools often deal only with the underlying threads and locks, which obscures the view on e.g. actors and messages and thereby introduces additional complexity.
To improve on this situation, we present a low-overhead record & replay approach for actor languages. It allows one to debug concurrency issues deterministically based on a previously recorded trace. Our evaluation shows that the average run-time overhead for tracing on benchmarks from the Savina suite is 10% (min. 0%, max. 20%). For Acme-Air, a modern web application, we see a maximum increase of 1% in latency for HTTP requests and about 1.4 MB/s of trace data. These results are a first step towards deterministic replay debugging of actor systems in production.
%0 Conference Paper
%1 Aumayr:2018:RR
%A Aumayr, Dominik
%A Marr, Stefan
%A Béra, Clément
%A Gonzalez Boix, Elisa
%A Mössenböck, Hanspeter
%B Proceedings of the 15th International Conference on Managed Languages and Runtimes
%D 2018
%I ACM
%K Actors Concurrency Debugging Determinism MeMyPublication Replay SOMns Tracing Truffle
%R 10.1145/3237009.3237015
%T Efficient and Deterministic Record & Replay for Actor Languages
%X With the ubiquity of parallel commodity hardware, developers turn to high-level concurrency models such as the actor model to lower the complexity of concurrent software. However, debugging concurrent software is hard, especially for concurrency models with a limited set of supporting tools. Such tools often deal only with the underlying threads and locks, which obscures the view on e.g. actors and messages and thereby introduces additional complexity.
To improve on this situation, we present a low-overhead record & replay approach for actor languages. It allows one to debug concurrency issues deterministically based on a previously recorded trace. Our evaluation shows that the average run-time overhead for tracing on benchmarks from the Savina suite is 10% (min. 0%, max. 20%). For Acme-Air, a modern web application, we see a maximum increase of 1% in latency for HTTP requests and about 1.4 MB/s of trace data. These results are a first step towards deterministic replay debugging of actor systems in production.
%@ 978-1-4503-6424-9/18/09
@inproceedings{Aumayr:2018:RR,
abstract = {With the ubiquity of parallel commodity hardware, developers turn to high-level concurrency models such as the actor model to lower the complexity of concurrent software. However, debugging concurrent software is hard, especially for concurrency models with a limited set of supporting tools. Such tools often deal only with the underlying threads and locks, which obscures the view on e.g. actors and messages and thereby introduces additional complexity.
To improve on this situation, we present a low-overhead record & replay approach for actor languages. It allows one to debug concurrency issues deterministically based on a previously recorded trace. Our evaluation shows that the average run-time overhead for tracing on benchmarks from the Savina suite is 10% (min. 0%, max. 20%). For Acme-Air, a modern web application, we see a maximum increase of 1% in latency for HTTP requests and about 1.4 MB/s of trace data. These results are a first step towards deterministic replay debugging of actor systems in production.},
acceptancerate = {0.72},
added-at = {2018-08-15T17:11:25.000+0200},
author = {Aumayr, Dominik and Marr, Stefan and Béra, Clément and Gonzalez Boix, Elisa and Mössenböck, Hanspeter},
biburl = {https://www.bibsonomy.org/bibtex/21e34e58adb8f0930369fc3dfe1563cdd/gron},
blog = {https://stefan-marr.de/2018/08/deterministic-replay-for-actors/},
booktitle = {Proceedings of the 15th International Conference on Managed Languages and Runtimes},
day = {12--13},
doi = {10.1145/3237009.3237015},
interhash = {e8239222d17e0f94c53cc2217ec3b682},
intrahash = {1e34e58adb8f0930369fc3dfe1563cdd},
isbn = {978-1-4503-6424-9/18/09},
keywords = {Actors Concurrency Debugging Determinism MeMyPublication Replay SOMns Tracing Truffle},
month = {September},
pdf = {https://stefan-marr.de/downloads/manlang18-aumayr-et-al-efficient-and-deterministic-record-and-replay-for-actor-languages.pdf},
publisher = {ACM},
series = {ManLang'18},
timestamp = {2022-08-29T20:26:05.000+0200},
title = {{Efficient and Deterministic Record \& Replay for Actor Languages}},
year = 2018
}