Krazy Koding: Scala Actor v Erlang gen_server Performance. One of the key performance attributes for Actors is the speed with which messages can be consumed and processed.
AsyncFP at 2.7 million messages/sec is almost as fast as erlang at 2.8, though I may have been using a slower machine. – laforge49
If the overhead of messaging is too high then Actors can't be used for solving some types of concurrency problems.
Ideally the overhead of an Actor should be similar to method calls to make it generally useful, although some overhead has to be expected. While implementing a simple CountingActor in Scala I noticed lower than expected performance and I decided to compare it to an Erlang OTP gen_server implementation. Paxos (computer science) Consensus protocols are the basis for the state machine approach to distributed computing, as suggested by Leslie Lamport and surveyed by Fred Schneider. The state machine approach is a technique for converting an algorithm into a fault-tolerant, distributed implementation.
Ad-hoc techniques may leave important cases of failures unresolved. The principled approach proposed by Lamport et al. ensures all cases are handled safely. The Paxos protocol was first published in 1989 and named after a fictional legislative consensus system used on the Paxos island in Greece. It was later published as a journal article in 1998. Why AsyncFP.pdf. Data Integrity.pdf. AsyncFP Basics.pdf.
Links of Interest. AgileWikiDevelopers. Other google groops. Download. NoSQL. Other Pearltrees.