Skip to main navigation Skip to search Skip to main content

RCML: A prescription for safely relaxing synchrony

  • Purdue University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

A functional programming discipline, combined with abstractions like Concurrent ML (CML)'s first-class synchronous events, offers an attractive programming model for concurrency. In high-latency distributed environments, like the cloud, however, the high communication latencies incurred by synchronous communication can compromise performance. While switching to an explicitly asynchronous communication model may reclaim some of these costs, program structure and understanding also becomes more complex. To ease the challenge of migrating concurrent applications to distributed cloud environments, we have built an extension of the MultiMLton compiler and runtime that implements CML communication asynchronously, but guarantees that the resulting execution is faithful to the synchronous semantics of CML. We formalize the conditions under which this equivalence holds, and present an implementation that builds a decentralized dependence graph whose structure can be used to check the integrity of an execution with respect to this equivalence. We integrate a notion of speculation to allow ill-formed executions to be rolled-back and re-executed, replacing offending asynchronous actions with safe synchronous ones. Several realistic case studies deployed on the Amazon EC2 cloud infrastructure demonstrate the utility of our approach.

Original languageEnglish
Title of host publicationPractical Aspects of Declarative Languages - 16th International Symposium, PADL 2014, Proceedings
Pages1-16
Number of pages16
DOIs
StatePublished - 2014
Event15th International Conference on Verification, Model Checking, and Abstract Interpretation, VMCAI 2014 - San Diego, CA, United States
Duration: Jan 20 2014Jan 21 2014

Publication series

NameLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)
Volume8324 LNCS
ISSN (Print)0302-9743
ISSN (Electronic)1611-3349

Conference

Conference15th International Conference on Verification, Model Checking, and Abstract Interpretation, VMCAI 2014
Country/TerritoryUnited States
CitySan Diego, CA
Period01/20/1401/21/14

Keywords

  • Axiomatic Semantics
  • Cloud Computing
  • Message-passing
  • Speculative Execution

Fingerprint

Dive into the research topics of 'RCML: A prescription for safely relaxing synchrony'. Together they form a unique fingerprint.

Cite this