Workshop AGERE 2018 – Author Index |
Contents -
Abstracts -
Authors
|
Agha, Gul |
AGERE '18: "Concurrent Garbage Collection ..."
Concurrent Garbage Collection in the Actor Model
Dan Plyukhin and Gul Agha (University of Illinois at Urbana-Champaign, USA) In programming languages where memory may be allocated dynamically, automatic garbage collection (GC) can improve the efficiency of program execution while preventing program errors caused by incorrectly removed memory locations. In actor systems, GC poses some challenges that make it much costlier than in the sequential setting: Besides references from reachable actors, we have to consider inverse references from potentially active actors to reachable actors. One proposal, adopted in the runtime for the actor programming language Pony, uses causal message delivery and a centralized detection algorithm. While this is efficient in a multicore setting, the solution is too expensive for a distributed actor runtime. In this work, we show how the causal order message delivery requirement may be removed. Specifically, we describe a tracing collector of distributed actor garbage with centralized and decentralized variants. Both are guaranteed not to collect any non-garbage actors (safety) and to eventually collect all garbage actors (liveness). @InProceedings{AGERE18p44, author = {Dan Plyukhin and Gul Agha}, title = {Concurrent Garbage Collection in the Actor Model}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {44--53}, doi = {10.1145/3281366.3281368}, year = {2018}, } Publisher's Version |
|
Bergenti, Federico |
AGERE '18: "A Scripting Language for Practical ..."
A Scripting Language for Practical Agent-Oriented Programming
Federico Bergenti, Stefania Monica, and Giuseppe Petrosino (University of Parma, Italy) This paper describes the features of a scripting language proposed to support the practical implementation of agents and multi-agent systems using an agent-oriented programming approach. Agents are programmed in terms of procedures to be executed when interesting events occur, and the language provides specific constructs to describe managed events and related procedures. Among possible events, those related to communication are supported by specific constructs because of their relevance for the implementation of multi-agent systems. The proposed language is characterised by a strongly expressive syntax largely inspired by modern scripting languages to promote readability and to make agent programs similar to pseudocodes. Such a feature ensures that the programmer can use the language to describe the reactions of agents to events at a high level of abstraction, with all the advantages that it brings in terms of software quality. @InProceedings{AGERE18p62, author = {Federico Bergenti and Stefania Monica and Giuseppe Petrosino}, title = {A Scripting Language for Practical Agent-Oriented Programming}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {62--71}, doi = {10.1145/3281366.3281367}, year = {2018}, } Publisher's Version |
|
Castegren, Elias |
AGERE '18: "Attached and Detached Closures ..."
Attached and Detached Closures in Actors
Elias Castegren, Dave Clarke, Kiko Fernandez-Reyes, Tobias Wrigstad, and Albert Mingkun Yang (KTH, Sweden; Uppsala University, Sweden) Expressive actor models combine aspects of functional programming into the pure actor model enriched with futures. Such functional features include first-class closures which can be passed between actors and chained on futures. Combined with mutable objects, this opens the door to race conditions. In some situations, closures may not be evaluated by the actor that created them yet may access fields or objects owned by that actor. In other situations, closures may be safely fired off to run as a separate task. This paper discusses the problem of who can safely evaluate a closure to avoid race conditions, and presents the current solution to the problem adopted by the Encore language. The solution integrates with Encore's capability type system, which influences whether a closure is attached and must be evaluated by the creating actor, or whether it can be detached and evaluated independently of its creator. Encore's current solution to this problem is not final or optimal. We conclude by discussing a number of open problems related to dealing with closures in the actor model. @InProceedings{AGERE18p54, author = {Elias Castegren and Dave Clarke and Kiko Fernandez-Reyes and Tobias Wrigstad and Albert Mingkun Yang}, title = {Attached and Detached Closures in Actors}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {54--61}, doi = {10.1145/3281366.3281371}, year = {2018}, } Publisher's Version |
|
Charousset, Dominik |
AGERE '18: "A Configurable Transport Layer ..."
A Configurable Transport Layer for CAF
Raphael Hiesgen, Dominik Charousset, and Thomas C. Schmidt (Hamburg University of Applied Sciences, Germany) The message-driven nature of actors lays a foundation for developing scalable and distributed software. While the actor itself has been thoroughly modeled, the message passing layer lacks a common definition. Properties and guarantees of message exchange often shift with implementations and contexts. This adds complexity to the development process, limits portability, and removes transparency from distributed actor systems. In this work, we examine actor communication, focusing on the implementation and runtime costs of reliable and ordered delivery. Both guarantees are often based on TCP for remote messaging, which mixes network transport with the semantics of messaging. However, the choice of transport may follow different constraints and is often governed by deployment. As a first step towards re-architecting actor-to-actor communication, we decouple the messaging guarantees from the transport protocol. We validate our approach by redesigning the network stack of the C++ Actor Framework (CAF) so that it allows to combine an arbitrary transport protocol with additional functions for remote messaging. An evaluation quantifies the cost of composability and the impact of individual layers on the entire stack. @InProceedings{AGERE18p1, author = {Raphael Hiesgen and Dominik Charousset and Thomas C. Schmidt}, title = {A Configurable Transport Layer for CAF}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {1--12}, doi = {10.1145/3281366.3281369}, year = {2018}, } Publisher's Version |
|
Clarke, Dave |
AGERE '18: "Attached and Detached Closures ..."
Attached and Detached Closures in Actors
Elias Castegren, Dave Clarke, Kiko Fernandez-Reyes, Tobias Wrigstad, and Albert Mingkun Yang (KTH, Sweden; Uppsala University, Sweden) Expressive actor models combine aspects of functional programming into the pure actor model enriched with futures. Such functional features include first-class closures which can be passed between actors and chained on futures. Combined with mutable objects, this opens the door to race conditions. In some situations, closures may not be evaluated by the actor that created them yet may access fields or objects owned by that actor. In other situations, closures may be safely fired off to run as a separate task. This paper discusses the problem of who can safely evaluate a closure to avoid race conditions, and presents the current solution to the problem adopted by the Encore language. The solution integrates with Encore's capability type system, which influences whether a closure is attached and must be evaluated by the creating actor, or whether it can be detached and evaluated independently of its creator. Encore's current solution to this problem is not final or optimal. We conclude by discussing a number of open problems related to dealing with closures in the actor model. @InProceedings{AGERE18p54, author = {Elias Castegren and Dave Clarke and Kiko Fernandez-Reyes and Tobias Wrigstad and Albert Mingkun Yang}, title = {Attached and Detached Closures in Actors}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {54--61}, doi = {10.1145/3281366.3281371}, year = {2018}, } Publisher's Version |
|
De Koster, Joeri |
AGERE '18: "Chocola: Integrating Futures, ..."
Chocola: Integrating Futures, Actors, and Transactions
Janwillem Swalens, Joeri De Koster, and Wolfgang De Meuter (Vrije Universiteit Brussel, Belgium) Developers often combine different concurrency models in a single program, in each part of the program using the model that fits best. Many programming languages, such as Clojure, Scala, and Haskell, cater to this need by supporting different concurrency models. However, they are often combined in an ad hoc way and the semantics of the combination is not always well defined. This paper studies the combination of three concurrency models: futures, actors, and transactions. We show that a naive combination of these models invalidates the guarantees they normally provide, thereby breaking the assumptions of developers. Hence, we present Chocola: a unified framework of futures, actors, and transactions that maintains the guarantees of all models wherever possible, even when they are combined. We present the semantics of this model and its implementation in Clojure, and have evaluated its performance and expressivity using three benchmark applications. @InProceedings{AGERE18p33, author = {Janwillem Swalens and Joeri De Koster and Wolfgang De Meuter}, title = {Chocola: Integrating Futures, Actors, and Transactions}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {33--43}, doi = {10.1145/3281366.3281373}, year = {2018}, } Publisher's Version Info |
|
De Meuter, Wolfgang |
AGERE '18: "Chocola: Integrating Futures, ..."
Chocola: Integrating Futures, Actors, and Transactions
Janwillem Swalens, Joeri De Koster, and Wolfgang De Meuter (Vrije Universiteit Brussel, Belgium) Developers often combine different concurrency models in a single program, in each part of the program using the model that fits best. Many programming languages, such as Clojure, Scala, and Haskell, cater to this need by supporting different concurrency models. However, they are often combined in an ad hoc way and the semantics of the combination is not always well defined. This paper studies the combination of three concurrency models: futures, actors, and transactions. We show that a naive combination of these models invalidates the guarantees they normally provide, thereby breaking the assumptions of developers. Hence, we present Chocola: a unified framework of futures, actors, and transactions that maintains the guarantees of all models wherever possible, even when they are combined. We present the semantics of this model and its implementation in Clojure, and have evaluated its performance and expressivity using three benchmark applications. @InProceedings{AGERE18p33, author = {Janwillem Swalens and Joeri De Koster and Wolfgang De Meuter}, title = {Chocola: Integrating Futures, Actors, and Transactions}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {33--43}, doi = {10.1145/3281366.3281373}, year = {2018}, } Publisher's Version Info |
|
Fernandez-Reyes, Kiko |
AGERE '18: "Attached and Detached Closures ..."
Attached and Detached Closures in Actors
Elias Castegren, Dave Clarke, Kiko Fernandez-Reyes, Tobias Wrigstad, and Albert Mingkun Yang (KTH, Sweden; Uppsala University, Sweden) Expressive actor models combine aspects of functional programming into the pure actor model enriched with futures. Such functional features include first-class closures which can be passed between actors and chained on futures. Combined with mutable objects, this opens the door to race conditions. In some situations, closures may not be evaluated by the actor that created them yet may access fields or objects owned by that actor. In other situations, closures may be safely fired off to run as a separate task. This paper discusses the problem of who can safely evaluate a closure to avoid race conditions, and presents the current solution to the problem adopted by the Encore language. The solution integrates with Encore's capability type system, which influences whether a closure is attached and must be evaluated by the creating actor, or whether it can be detached and evaluated independently of its creator. Encore's current solution to this problem is not final or optimal. We conclude by discussing a number of open problems related to dealing with closures in the actor model. @InProceedings{AGERE18p54, author = {Elias Castegren and Dave Clarke and Kiko Fernandez-Reyes and Tobias Wrigstad and Albert Mingkun Yang}, title = {Attached and Detached Closures in Actors}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {54--61}, doi = {10.1145/3281366.3281371}, year = {2018}, } Publisher's Version |
|
Haller, Philipp |
AGERE '18: "Observable Atomic Consistency ..."
Observable Atomic Consistency for CvRDTs
Xin Zhao and Philipp Haller (KTH, Sweden) The development of distributed systems requires developers to balance the need for consistency, availability, and partition tolerance. Conflict-free replicated data types (CRDTs) are widely used in eventually consistent systems to reduce concurrency control. However, CRDTs lack consistent totally-ordered operations which can make them difficult to use. In this paper, we propose a new consistency protocol, the observable atomic consistency protocol (OACP). OACP enables a principled relaxation of strong consistency to improve performance in specific scenarios. OACP combines the advantages of mergeable data types, specifically, convergent replicated data types, and reliable total order broadcast to provide on-demand strong consistency. By providing observable atomic consistency, OACP avoids the anomalies of related protocols. We provide a distributed implementation of OACP based on Akka, a widely-used actor-based middleware. Our experimental evaluation shows that OACP can reduce coordination overhead compared to other protocols providing atomic consistency. Our results also suggest that OACP increases availability through mergeable data types and provides acceptable latency for achieving strong consistency. @InProceedings{AGERE18p23, author = {Xin Zhao and Philipp Haller}, title = {Observable Atomic Consistency for CvRDTs}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {23--32}, doi = {10.1145/3281366.3281372}, year = {2018}, } Publisher's Version |
|
Hiesgen, Raphael |
AGERE '18: "A Configurable Transport Layer ..."
A Configurable Transport Layer for CAF
Raphael Hiesgen, Dominik Charousset, and Thomas C. Schmidt (Hamburg University of Applied Sciences, Germany) The message-driven nature of actors lays a foundation for developing scalable and distributed software. While the actor itself has been thoroughly modeled, the message passing layer lacks a common definition. Properties and guarantees of message exchange often shift with implementations and contexts. This adds complexity to the development process, limits portability, and removes transparency from distributed actor systems. In this work, we examine actor communication, focusing on the implementation and runtime costs of reliable and ordered delivery. Both guarantees are often based on TCP for remote messaging, which mixes network transport with the semantics of messaging. However, the choice of transport may follow different constraints and is often governed by deployment. As a first step towards re-architecting actor-to-actor communication, we decouple the messaging guarantees from the transport protocol. We validate our approach by redesigning the network stack of the C++ Actor Framework (CAF) so that it allows to combine an arbitrary transport protocol with additional functions for remote messaging. An evaluation quantifies the cost of composability and the impact of individual layers on the entire stack. @InProceedings{AGERE18p1, author = {Raphael Hiesgen and Dominik Charousset and Thomas C. Schmidt}, title = {A Configurable Transport Layer for CAF}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {1--12}, doi = {10.1145/3281366.3281369}, year = {2018}, } Publisher's Version |
|
Monica, Stefania |
AGERE '18: "A Scripting Language for Practical ..."
A Scripting Language for Practical Agent-Oriented Programming
Federico Bergenti, Stefania Monica, and Giuseppe Petrosino (University of Parma, Italy) This paper describes the features of a scripting language proposed to support the practical implementation of agents and multi-agent systems using an agent-oriented programming approach. Agents are programmed in terms of procedures to be executed when interesting events occur, and the language provides specific constructs to describe managed events and related procedures. Among possible events, those related to communication are supported by specific constructs because of their relevance for the implementation of multi-agent systems. The proposed language is characterised by a strongly expressive syntax largely inspired by modern scripting languages to promote readability and to make agent programs similar to pseudocodes. Such a feature ensures that the programmer can use the language to describe the reactions of agents to events at a high level of abstraction, with all the advantages that it brings in terms of software quality. @InProceedings{AGERE18p62, author = {Federico Bergenti and Stefania Monica and Giuseppe Petrosino}, title = {A Scripting Language for Practical Agent-Oriented Programming}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {62--71}, doi = {10.1145/3281366.3281367}, year = {2018}, } Publisher's Version |
|
Petrosino, Giuseppe |
AGERE '18: "A Scripting Language for Practical ..."
A Scripting Language for Practical Agent-Oriented Programming
Federico Bergenti, Stefania Monica, and Giuseppe Petrosino (University of Parma, Italy) This paper describes the features of a scripting language proposed to support the practical implementation of agents and multi-agent systems using an agent-oriented programming approach. Agents are programmed in terms of procedures to be executed when interesting events occur, and the language provides specific constructs to describe managed events and related procedures. Among possible events, those related to communication are supported by specific constructs because of their relevance for the implementation of multi-agent systems. The proposed language is characterised by a strongly expressive syntax largely inspired by modern scripting languages to promote readability and to make agent programs similar to pseudocodes. Such a feature ensures that the programmer can use the language to describe the reactions of agents to events at a high level of abstraction, with all the advantages that it brings in terms of software quality. @InProceedings{AGERE18p62, author = {Federico Bergenti and Stefania Monica and Giuseppe Petrosino}, title = {A Scripting Language for Practical Agent-Oriented Programming}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {62--71}, doi = {10.1145/3281366.3281367}, year = {2018}, } Publisher's Version |
|
Plyukhin, Dan |
AGERE '18: "Concurrent Garbage Collection ..."
Concurrent Garbage Collection in the Actor Model
Dan Plyukhin and Gul Agha (University of Illinois at Urbana-Champaign, USA) In programming languages where memory may be allocated dynamically, automatic garbage collection (GC) can improve the efficiency of program execution while preventing program errors caused by incorrectly removed memory locations. In actor systems, GC poses some challenges that make it much costlier than in the sequential setting: Besides references from reachable actors, we have to consider inverse references from potentially active actors to reachable actors. One proposal, adopted in the runtime for the actor programming language Pony, uses causal message delivery and a centralized detection algorithm. While this is efficient in a multicore setting, the solution is too expensive for a distributed actor runtime. In this work, we show how the causal order message delivery requirement may be removed. Specifically, we describe a tracing collector of distributed actor garbage with centralized and decentralized variants. Both are guaranteed not to collect any non-garbage actors (safety) and to eventually collect all garbage actors (liveness). @InProceedings{AGERE18p44, author = {Dan Plyukhin and Gul Agha}, title = {Concurrent Garbage Collection in the Actor Model}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {44--53}, doi = {10.1145/3281366.3281368}, year = {2018}, } Publisher's Version |
|
Schmidt, Thomas C. |
AGERE '18: "A Configurable Transport Layer ..."
A Configurable Transport Layer for CAF
Raphael Hiesgen, Dominik Charousset, and Thomas C. Schmidt (Hamburg University of Applied Sciences, Germany) The message-driven nature of actors lays a foundation for developing scalable and distributed software. While the actor itself has been thoroughly modeled, the message passing layer lacks a common definition. Properties and guarantees of message exchange often shift with implementations and contexts. This adds complexity to the development process, limits portability, and removes transparency from distributed actor systems. In this work, we examine actor communication, focusing on the implementation and runtime costs of reliable and ordered delivery. Both guarantees are often based on TCP for remote messaging, which mixes network transport with the semantics of messaging. However, the choice of transport may follow different constraints and is often governed by deployment. As a first step towards re-architecting actor-to-actor communication, we decouple the messaging guarantees from the transport protocol. We validate our approach by redesigning the network stack of the C++ Actor Framework (CAF) so that it allows to combine an arbitrary transport protocol with additional functions for remote messaging. An evaluation quantifies the cost of composability and the impact of individual layers on the entire stack. @InProceedings{AGERE18p1, author = {Raphael Hiesgen and Dominik Charousset and Thomas C. Schmidt}, title = {A Configurable Transport Layer for CAF}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {1--12}, doi = {10.1145/3281366.3281369}, year = {2018}, } Publisher's Version |
|
Shibanai, Kazuhiro |
AGERE '18: "Distributed Functional Reactive ..."
Distributed Functional Reactive Programming on Actor-Based Runtime
Kazuhiro Shibanai and Takuo Watanabe (Tokyo Institute of Technology, Japan) Reactive programming over a network is a challenging task because efficient elimination of temporary violations of data flow invariants, known as glitches, in a distributed setting is still an open issue. In this paper, we propose a method for constructing a distributed reactive programming system of which runtime guarantees the properties of single source glitch-freedom and the robustness against out-of-order messages. Based on the method, we developed a purely functional reactive programming language XFRP whose compiler produces Erlang code. Using some examples, we show that the proposed method is beneficial for constructing distributed reactive applications without suffering from inconsistencies. @InProceedings{AGERE18p13, author = {Kazuhiro Shibanai and Takuo Watanabe}, title = {Distributed Functional Reactive Programming on Actor-Based Runtime}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {13--22}, doi = {10.1145/3281366.3281370}, year = {2018}, } Publisher's Version |
|
Swalens, Janwillem |
AGERE '18: "Chocola: Integrating Futures, ..."
Chocola: Integrating Futures, Actors, and Transactions
Janwillem Swalens, Joeri De Koster, and Wolfgang De Meuter (Vrije Universiteit Brussel, Belgium) Developers often combine different concurrency models in a single program, in each part of the program using the model that fits best. Many programming languages, such as Clojure, Scala, and Haskell, cater to this need by supporting different concurrency models. However, they are often combined in an ad hoc way and the semantics of the combination is not always well defined. This paper studies the combination of three concurrency models: futures, actors, and transactions. We show that a naive combination of these models invalidates the guarantees they normally provide, thereby breaking the assumptions of developers. Hence, we present Chocola: a unified framework of futures, actors, and transactions that maintains the guarantees of all models wherever possible, even when they are combined. We present the semantics of this model and its implementation in Clojure, and have evaluated its performance and expressivity using three benchmark applications. @InProceedings{AGERE18p33, author = {Janwillem Swalens and Joeri De Koster and Wolfgang De Meuter}, title = {Chocola: Integrating Futures, Actors, and Transactions}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {33--43}, doi = {10.1145/3281366.3281373}, year = {2018}, } Publisher's Version Info |
|
Watanabe, Takuo |
AGERE '18: "Distributed Functional Reactive ..."
Distributed Functional Reactive Programming on Actor-Based Runtime
Kazuhiro Shibanai and Takuo Watanabe (Tokyo Institute of Technology, Japan) Reactive programming over a network is a challenging task because efficient elimination of temporary violations of data flow invariants, known as glitches, in a distributed setting is still an open issue. In this paper, we propose a method for constructing a distributed reactive programming system of which runtime guarantees the properties of single source glitch-freedom and the robustness against out-of-order messages. Based on the method, we developed a purely functional reactive programming language XFRP whose compiler produces Erlang code. Using some examples, we show that the proposed method is beneficial for constructing distributed reactive applications without suffering from inconsistencies. @InProceedings{AGERE18p13, author = {Kazuhiro Shibanai and Takuo Watanabe}, title = {Distributed Functional Reactive Programming on Actor-Based Runtime}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {13--22}, doi = {10.1145/3281366.3281370}, year = {2018}, } Publisher's Version |
|
Wrigstad, Tobias |
AGERE '18: "Attached and Detached Closures ..."
Attached and Detached Closures in Actors
Elias Castegren, Dave Clarke, Kiko Fernandez-Reyes, Tobias Wrigstad, and Albert Mingkun Yang (KTH, Sweden; Uppsala University, Sweden) Expressive actor models combine aspects of functional programming into the pure actor model enriched with futures. Such functional features include first-class closures which can be passed between actors and chained on futures. Combined with mutable objects, this opens the door to race conditions. In some situations, closures may not be evaluated by the actor that created them yet may access fields or objects owned by that actor. In other situations, closures may be safely fired off to run as a separate task. This paper discusses the problem of who can safely evaluate a closure to avoid race conditions, and presents the current solution to the problem adopted by the Encore language. The solution integrates with Encore's capability type system, which influences whether a closure is attached and must be evaluated by the creating actor, or whether it can be detached and evaluated independently of its creator. Encore's current solution to this problem is not final or optimal. We conclude by discussing a number of open problems related to dealing with closures in the actor model. @InProceedings{AGERE18p54, author = {Elias Castegren and Dave Clarke and Kiko Fernandez-Reyes and Tobias Wrigstad and Albert Mingkun Yang}, title = {Attached and Detached Closures in Actors}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {54--61}, doi = {10.1145/3281366.3281371}, year = {2018}, } Publisher's Version |
|
Yang, Albert Mingkun |
AGERE '18: "Attached and Detached Closures ..."
Attached and Detached Closures in Actors
Elias Castegren, Dave Clarke, Kiko Fernandez-Reyes, Tobias Wrigstad, and Albert Mingkun Yang (KTH, Sweden; Uppsala University, Sweden) Expressive actor models combine aspects of functional programming into the pure actor model enriched with futures. Such functional features include first-class closures which can be passed between actors and chained on futures. Combined with mutable objects, this opens the door to race conditions. In some situations, closures may not be evaluated by the actor that created them yet may access fields or objects owned by that actor. In other situations, closures may be safely fired off to run as a separate task. This paper discusses the problem of who can safely evaluate a closure to avoid race conditions, and presents the current solution to the problem adopted by the Encore language. The solution integrates with Encore's capability type system, which influences whether a closure is attached and must be evaluated by the creating actor, or whether it can be detached and evaluated independently of its creator. Encore's current solution to this problem is not final or optimal. We conclude by discussing a number of open problems related to dealing with closures in the actor model. @InProceedings{AGERE18p54, author = {Elias Castegren and Dave Clarke and Kiko Fernandez-Reyes and Tobias Wrigstad and Albert Mingkun Yang}, title = {Attached and Detached Closures in Actors}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {54--61}, doi = {10.1145/3281366.3281371}, year = {2018}, } Publisher's Version |
|
Zhao, Xin |
AGERE '18: "Observable Atomic Consistency ..."
Observable Atomic Consistency for CvRDTs
Xin Zhao and Philipp Haller (KTH, Sweden) The development of distributed systems requires developers to balance the need for consistency, availability, and partition tolerance. Conflict-free replicated data types (CRDTs) are widely used in eventually consistent systems to reduce concurrency control. However, CRDTs lack consistent totally-ordered operations which can make them difficult to use. In this paper, we propose a new consistency protocol, the observable atomic consistency protocol (OACP). OACP enables a principled relaxation of strong consistency to improve performance in specific scenarios. OACP combines the advantages of mergeable data types, specifically, convergent replicated data types, and reliable total order broadcast to provide on-demand strong consistency. By providing observable atomic consistency, OACP avoids the anomalies of related protocols. We provide a distributed implementation of OACP based on Akka, a widely-used actor-based middleware. Our experimental evaluation shows that OACP can reduce coordination overhead compared to other protocols providing atomic consistency. Our results also suggest that OACP increases availability through mergeable data types and provides acceptable latency for achieving strong consistency. @InProceedings{AGERE18p23, author = {Xin Zhao and Philipp Haller}, title = {Observable Atomic Consistency for CvRDTs}, booktitle = {Proc.\ AGERE}, publisher = {ACM}, pages = {23--32}, doi = {10.1145/3281366.3281372}, year = {2018}, } Publisher's Version |
20 authors
proc time: 3.88