• Cite Icon19
  • https://doi.org/10.1145/2687357.2687360Copy DOI Icon

Selectors

  • Oct 20, 2014
  • Shams M Imam +1 more
Show More
  • Abstract
  • Literature Map
  • References
  • Citations
  • Similar Papers
Abstract

The actor programming model is based on asynchronous message passing and offers a promising approach for developing reliable concurrent systems. However, lack of guarantees to control the order in which messages are processed next by an actor makes implementing synchronization and coordination patterns difficult. In this work, we address this issue by introducing our extension to the actor model called selectors. Selectors have multiple mailboxes and each mailbox is guarded i.e. it can be enabled or disabled to affect the order in which messages are processed. The view of having guarded mailboxes is inspired by condition variables where a thread checks whether a condition is true before continuing its execution.Selectors allow us to simplify writing of synchronization and coordination patterns using actors such as a) synchronous request-reply, b) join patterns in streaming applications, c) supporting priorities in message processing, d) variants of reader-writer concurrency, and e) producer-consumer with bounded buffer. We present solutions to each of these patterns using selectors. Selectors can also be implemented efficiently -- we evaluate the performance of our library implementation of selectors on benchmarks that exhibit such patterns and we compare our implementation against actor-based solutions using Scala, Akka, Jetlang, Scalaz, Functional-Java and Habanero actor libraries. Our experimental results for the benchmarks show that using selector-based solutions simplify programmability and deliver significant performance improvements compared to other actor-based solutions.

Similar Papers
  • Conference Article
  • Citations1

The Parallel HTM Spatial Pooler with Actor Model

  • Jun 13, 2020
  • Damir Dobric +3
  • Conference Article
  • Citations42

An Object-Oriented Software Design for Parallel Structural Analysis

  • Apr 27, 2000
  • Frank Mckenna +1
  • Conference Article
  • Citations5

Reducing Message Latency and CPU Utilization in the CAF Actor Framework

  • Mar 01, 2018
  • Massimo Torquati +4
  • Conference Article
  • Citations4

ASK: a kernel for programming actor systems

  • Jan 01, 1990
  • Michele Di Santo +1
  • Research Article
  • Citations2

Scaling the HTM Spatial Pooler

  • Jul 31, 2020
  • International Journal of Artificial Intelligence & Applications
  • Damir Dobric +3
  • PDF
  • Research Article
  • Citations14

Distributed detection of sequential anomalies in univariate time series

  • Mar 25, 2021
  • The VLDB Journal
  • Johannes Schneider +2
  • Research Article
  • Citations10

Indoor localization algorithm using clustering on signal and coordination pattern

  • Sep 18, 2012
  • Annals of Operations Research
  • Chen-Yang Cheng
  • Research Article
  • Citations10

Increased visual information gain improves bimanual force coordination

  • Oct 09, 2015
  • Neuroscience Letters
  • Amitoj Bhullar +4
  • PDF
  • Abstract

Short desynchronization epochs in neural synchronization: detection, mechanisms, and functions

  • Dec 01, 2015
  • BMC Neuroscience
  • Leonid L Rubchinsky +1
  • Conference Article

Downlink Joint Processing For Non Orthogonal Multiple Access

  • Dec 01, 2019
  • Islam Atef
  • Book Chapter
  • Citations2

Text enhancement and structuring in computer conferencing

  • Jan 01, 1980
  • A. Baer +1
  • Book Chapter
  • Citations1

Experiments on Clustering and Synchronous Patterns in a Configurable Network of Chaotic Oscillators

  • Jan 01, 2017
  • Soudeh Yaghouti +2
  • Research Article
  • Citations86

Quercetin Protects Against Chronic Aluminum-Induced Oxidative Stress and Ensuing Biochemical, Cholinergic, and Neurobehavioral Impairments in Rats

  • Aug 24, 2012
  • Neurotoxicity Research
  • Deep Raj Sharma +6
  • Research Article
  • Citations32

(De)stabilization of required and spontaneous postural dynamics with learning.

  • Jan 01, 2009
  • Journal of Experimental Psychology: Human Perception and Performance
  • Elise Faugloire +2
  • PDF
  • Research Article
  • Citations14

Measuring Dynamics of Infant-Adult Synchrony Through Mocap.

  • Dec 18, 2019
  • Frontiers in Psychology
  • Zamara Cuadros +2
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.