skip to main content
10.1145/1292520.1292527acmconferencesArticle/Chapter ViewAbstractPublication PagesicfpConference Proceedingsconference-collections
Article

Programming distributed erlang applications: pitfalls and recipes

Published:05 October 2007Publication History

ABSTRACT

We investigate the distributed part of the Erlang programminglanguage, with an aim to develop robust distributed systems andalgorithms running on top of Erlang runtime systems. Although the stepto convert an application running on a single node to a fullydistributed (multi-node) application is deceptively simple (changingcalls to spawn so that processes are spawned on differentnodes), there are some corner cases in the Erlang language and APIwhere the introduction of distribution can cause problems. In thispaper we discuss a number of such pitfalls, where the semantics ofcommunicating processes differs significantly depending if theprocesses reside on the same node or not, we also provide someguidelines for safe programming of distributed systems.

References

  1. J. Barklund and R. Virding. Erlang 4.7.3 reference manual. Draft (0.7), Ericsson Computer Science Laboratory, 1999.Google ScholarGoogle Scholar
  2. K. Claessen and H. Svensson. A semantics for distributed Erlang. In Proceedings of the ACM SIPGLAN 2005 Erlang Workshop, 2005. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. L- Å. Fredlund and C. Benac Earle. Model checking Erlang programs: The functional approach. In Proceedings of the ACM SIPGLAN 2006 Erlang Workshop, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. L-Å. Fredlund and H. Svensson. McErlang: A model checker for a distributed functional programming language. In Proc. of International Conference on Functional Programming (ICFP). ACM SIGPLAN, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. H. Svensson and L-Å. Fredlund. A more accurate semantics for distributed Erlang. In Proceedings of the ACM SIPGLAN 2007 Erlang Workshop, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Programming distributed erlang applications: pitfalls and recipes

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      ERLANG '07: Proceedings of the 2007 SIGPLAN workshop on ERLANG Workshop
      October 2007
      106 pages
      ISBN:9781595936752
      DOI:10.1145/1292520

      Copyright © 2007 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 5 October 2007

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • Article

      Acceptance Rates

      ERLANG '07 Paper Acceptance Rate11of15submissions,73%Overall Acceptance Rate51of68submissions,75%

      Upcoming Conference

      ICFP '24

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader