Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3019612.3019901acmconferencesArticle/Chapter ViewAbstractPublication PagessacConference Proceedingsconference-collections
research-article

Encoding asynchrony in choreographies

Published: 03 April 2017 Publication History

Abstract

Choreographies are widely used both for the specification and the programming of concurrent and distributed software architectures. Since many of such architectures use asynchronous communications, it is essential to understand how the behaviour described in a choreography can be correctly implemented in asynchronous settings. So far, this problem has been addressed by relying on additional technical machinery, such as ad-hoc syntactic terms, semantics, or equivalences. In this work, we show that such extensions are not needed for choreography languages that support primitives for process spawning and name mobility. Instead, we can just encode asynchronous communications in choreographies themselves, yielding a simpler approach.

References

[1]
M. Carbone, K. Honda, and N. Yoshida. Structured communication-centered programming for web services. ACM Trans. Prog. Lang. Syst., 34(2):8, 2012.
[2]
M. Carbone and F. Montesi. Deadlock-freedom-by-design: multiparty asynchronous global programming. In R. Giacobazzi and R. Cousot, editors, POPL, pages 263--274. ACM, 2013.
[3]
L. Cruz-Filipe and F. Montesi. A language for the declarative composition of concurrent protocols. Submitted for publication.
[4]
L. Cruz-Filipe and F. Montesi. A core model for choreographic programming. Accepted for publication at FACS'16. http://arxiv.org/abs/1510.03271.
[5]
N. Dragoni, S. Giallorenzo, A. Lluch-Lafuente, M. Mazzara, F. Montesi, R. Mustafin, and L. Safina. Microservices: yesterday, today, and tomorrow. CoRR, abs/1606.04036, 2016.
[6]
K. Honda, N. Yoshida, and M. Carbone. Multiparty asynchronous session types. J. ACM, 63(1):9, 2016.
[7]
T. Leesatapornwongsa, J. Lukman, S. Lu, and H. Gunawi. TaxDC: A taxonomy of non-deterministic concurrency bugs in datacenter distributed systems. In ASPLOS, pages 517--530. ACM, 2016.
[8]
S. Lu, S. Park, E. Seo, and Y. Zhou. Learning from mistakes: a comprehensive study on real world concurrency bug characteristics. ACM SIGARCH Computer Architecture News, 36(1):329--339, 2008.
[9]
F. Montesi. Choreographic Programming. Ph.D. thesis, IT University of Copenhagen, 2013. http://fabriziomontesi.com/files/choreographic_programming.pdf.
[10]
F. Montesi. Kickstarting choreographic programming. In WS-FM, volume 9421 of LNCS, pages 3--10. Springer, 2016.
[11]
F. Montesi and N. Yoshida. Compositional choreographies. In CONCUR, volume 8052 of LNCS, pages 425--439. Springer, 2013.
[12]
D. Sangiorgi and D. Walker. The π-calculus: a Theory of Mobile Processes. Cambridge Univ. Press, 2001.

Cited By

View all
  • (2024)Alice or Bob?: Process polymorphism in choreographiesJournal of Functional Programming10.1017/S095679682300011434Online publication date: 23-Jan-2024
  • (2023)Choreographic Programming of Isolated TransactionsElectronic Proceedings in Theoretical Computer Science10.4204/EPTCS.378.5378(49-60)Online publication date: 13-Apr-2023
  • (2022)A Predicate Transformer for ChoreographiesProgramming Languages and Systems10.1007/978-3-030-99336-8_19(520-547)Online publication date: 29-Mar-2022

Index Terms

  1. Encoding asynchrony in choreographies

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    SAC '17: Proceedings of the Symposium on Applied Computing
    April 2017
    2004 pages
    ISBN:9781450344869
    DOI:10.1145/3019612
    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]

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 03 April 2017

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. asynchrony
    2. choreography
    3. concurrency

    Qualifiers

    • Research-article

    Funding Sources

    • Danish Council for Independent Research

    Conference

    SAC 2017
    Sponsor:
    SAC 2017: Symposium on Applied Computing
    April 3 - 7, 2017
    Marrakech, Morocco

    Acceptance Rates

    Overall Acceptance Rate 1,650 of 6,669 submissions, 25%

    Upcoming Conference

    SAC '25
    The 40th ACM/SIGAPP Symposium on Applied Computing
    March 31 - April 4, 2025
    Catania , Italy

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)2
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 26 Jan 2025

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)Alice or Bob?: Process polymorphism in choreographiesJournal of Functional Programming10.1017/S095679682300011434Online publication date: 23-Jan-2024
    • (2023)Choreographic Programming of Isolated TransactionsElectronic Proceedings in Theoretical Computer Science10.4204/EPTCS.378.5378(49-60)Online publication date: 13-Apr-2023
    • (2022)A Predicate Transformer for ChoreographiesProgramming Languages and Systems10.1007/978-3-030-99336-8_19(520-547)Online publication date: 29-Mar-2022

    View Options

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    Figures

    Tables

    Media

    Share

    Share

    Share this Publication link

    Share on social media