Erlang Message Passing — Part 2

September 21, 2009 on 10:22 am | In Miscellaneous | No Comments

I just finished a major overhaul of my Erlang Actor in Java library. Not only does it now provide three different threading strategies (persistent thread, transient thread, thread pool), but these strategies are pluggable. Implementations derive from Actor and implement act(), and the threading strategy is provided when the Actor is instantiated, by passing in a concrete implementation of Agent. I also added in the concept of a MessageSpy, for logging and monitoring. Any number of MessageSpies can be installed, and each one gets to look at every message that is sent.

No Comments yet »

RSS feed for comments on this post.

Leave a comment

You must be logged in to post a comment.

Powered by WordPress with Pool theme design by Borja Fernandez.
Entries and comments feeds. Valid XHTML and CSS. ^Top^