Programming distributed Erlang applications: pitfalls and recipes. Svensson, H. & Fredlund, L. \. In Proceedings of the 2007 ACM SIGPLAN Erlang Workshop, October, 2007.
abstract   bibtex   
We investigate the distributed part of the Erlang programming language, with an aim to develop robust distributed systems and algorithms running on top of Erlang runtime systems. Although the step to convert an application running on a single node to a fully distributed (multi-node) application is deceptively simple (changing calls to \textttspawn so that processes are spawned on different nodes), there are some corner cases in the Erlang language and API where the introduction of distribution can cause problems. In this paper we discuss a number of such pitfalls, where the semantics of communicating processes differs significantly depending if the processes reside on the same node or not, we also provide some guidelines for safe programming of distributed systems.
@inproceedings{ svensson_fredlund:pitfalls,
  author    = {H. Svensson and Lars \AAke Fredlund},
  title     = {Programming distributed Erlang applications: pitfalls and recipes}, 
  abstract   = {We investigate the distributed part of the Erlang programming language, with an aim to develop robust distributed systems and algorithms running on top of Erlang runtime systems. Although the step to convert an application running on a single node to a fully distributed (multi-node) application is deceptively simple (changing calls to \texttt{spawn} so that processes are spawned on different nodes), there are some corner cases in the Erlang language and API where the introduction of distribution can cause problems. In this paper we discuss a number of such pitfalls, where the semantics of communicating processes differs significantly depending if the processes reside on the same node or not, we also provide some guidelines for safe programming of distributed systems.},
  booktitle   = {Proceedings of the 2007 ACM SIGPLAN Erlang Workshop},
  isbn   = {978-1-59593-675-2},
  month   = {October} ,
  year   = {2007}
}

Downloads: 0