Scala 2.8 Acting Design? Akkey project document?

Is there a project document for Scala 2.8 Actors, for example, for 2.7?

Scala Actors: Combining Thread-based and Event-based Programming

Is there for Akka?

"Scala Advanced Document Library" does not mention Actors.

+6
scala actor akka
source share
1 answer

August 2012 update:

Akka's documentation has improved significantly and now has many details about its design and architecture.

Actor system


Original answer (May 2010)

As for Akka , I did not find the project document as such, but the recent post-series blog โ€œ Thinking Asynchronous - Domain Modeling Using Akka Transactors โ€ from Ghosh De-Bash is pretty close.

Here are some of the highlights in the implementation.

  • Akka is based on the let-it-crash philosophy . You can design supervisor hierarchies that will be responsible for managing the life cycles of your members. [...]
  • is a Map descriptor that is stored in Redis. Here we store all the accounts that customers open by hashing by account number. [...]
  • With Akka, you can also set a reboot when the repository fails and automatically reboot by the supervisor. postRestart is a hook where we reinitialize the map structure.
  • Akka uses multiverse, a Java-based STM implementation for transaction processing. In the code mark, your transactions using atomic{} and the underlying STM will take care of the rest.
+5
source share

All Articles