Language support for fast and reliable message-based communication in singularity OS

  • Authors:
  • Manuel Fähndrich;Mark Aiken;Chris Hawblitzel;Orion Hodson;Galen Hunt;James R. Larus;Steven Levi

  • Affiliations:
  • Microsoft Research;Microsoft Research;Microsoft Research;Microsoft Research;Microsoft Research;Microsoft Research;Microsoft Research

  • Venue:
  • Proceedings of the 1st ACM SIGOPS/EuroSys European Conference on Computer Systems 2006
  • Year:
  • 2006

Quantified Score

Hi-index 0.02

Visualization

Abstract

Message-based communication offers the potential benefits of providing stronger specification and cleaner separation between components. Compared with shared-memory interactions, message passing has the potential disadvantages of more expensive data exchange (no direct sharing) and more complicated programming.In this paper we report on the language, verification, and run-time system features that make messages practical as the sole means of communication between processes in the Singularity operating system. We show that using advanced programming language and verification techniques, it is possible to provide and enforce strong system-wide invariants that enable efficient communication and low-overhead software-based process isolation. Furthermore, specifications on communication channels help in detecting programmer mistakes early---namely at compile-time---thereby reducing the difficulty of the message-based programming model.The paper describes our communication invariants, the language and verification features that support them, as well as implementation details of the infrastructure. A number of benchmarks show the competitiveness of this approach.