Optimizations and extensions for fair join pattern matching
Ioannis Karras

TL;DR
This paper improves the efficiency and usability of fair join pattern matching in actor systems, achieving significant performance gains and extending the feature set for practical applications.
Contribution
It introduces optimized algorithms for fair join pattern matching, enhances the benchmark suite, and demonstrates new features and real-world applicability.
Findings
Up to tenfold performance improvements on benchmarks
Approaching Rete algorithm performance on regular benchmarks
Extended join pattern features and real-world use case
Abstract
Join patterns are an underexplored approach for the programming of concurrent and distributed systems. When applied to the actor model, join patterns offer the novel capability of matching combinations of messages in the mailbox of an actor. Previous work by Philipp Haller et al. in the paper "Fair Join Pattern Matching for Actors" (ECOOP 2024) explored join patterns with conditional guards in an actor-based setting with a specification of fair and deterministic matching semantics. Nevertheless, the question of time efficiency in fair join pattern matching has remained underexplored. The stateful tree-based matching algorithm of Haller et al. performs worse than an implementation that adapts the Rete algorithm to the regular version of a join pattern matching benchmark, while outperforming on a variant with heavy conditional guards, which take longer to evaluate. Nevertheless,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware System Performance and Reliability · Advanced Database Systems and Queries · Distributed systems and fault tolerance
