Orleans: An Object Framework for Cloud Computing From Microsoft Research

| by James Vastbinder Follow 0 Followers on Dec 03, 2010. Estimated reading time: 2 minutes |

Earlier this week Microsoft Research published a paper outlining a framework for Cloud Computing codenamed Orleans.  The framework is intended for cloud computing applications where a client such as a PC, smartphone or embedded device is employed.  In Orleans, the basic premise is to use concurrency patterns and lightweight transactions on an actor-like model with a declarative specification for persistence, replication and consistency.

a simple programming model built around grains, logical units of computation with private state that communicate exclusively by sending messages ….

The system as a whole can process multiple requests concurrently in distinct grain activations, but these computations are isolated, except at the clearly identified points where grains commit state changes to persistent storage and make them globally visible

Summary of Orleans Definitions:

  • Grain – an atomic unit of isolation, distribution and durability.
  • Activations –multiple instantiations of a grain which process multiple independent requests to a service in parallel.
  • Grain Domain – a logical isolated workspace which delimits the set of grains it can directly access.  Hierarchical and nested in nature.
  • Promises – asynchronous primitive that represents a promise to future completion.
  • Turns – a grain activation operates in discrete units of work and finishes each unit before moving to the next unit.

The Microsoft Research team built Orleans as a cloud computing pattern meant to address the need for scale, multi-tenancy and both reliability and availability.  The intention is for the grain model to mimic at a programmatic level the sharded data stores they represent and their inherent capability of flexibility as the application changes over time.  Further, to address availability and reliability, the use of grains represented as computations or datums, provides failover capabilities built into the system while preserving consistency and separation of logic.

Orleans has three main components; a programming model or framework outlined in the publication, Orleans: A Framework for Cloud Computing, programming language and tool support and a runtime system.  Currently Orleans provides support for C# and they are actively working on F#.  The runtime delivers core cloud computing functionality such as persistence, replication, consistency and full life cycle management for versioning, debugging, deployment and monitoring.  The team has an informal discussion on Channel 9 which walks through the logical architecture.

This first look at Orlean’s internals is very instructional as to how to architect and build a cloud scale application as the software development world moves from Enterprise computing to Internet scale computing above the transport layer.  

Rate this Article

Adoption Stage

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

A Big Progress on Ubicomp Development by Rochester Elliott

The new idea, though somewhat originated from the melting pot of various invented theories, will take positive effects on new rounds of technology evolution. The work from Microsoft just highlighted the trends of development of computing patterns like Ubiquitous Computing that has been flourishing since last century.

Grain is same as Clojure's agent! by 孙 奇辉

and Promises same as Clojure's promise!

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

2 Discuss

Login to InfoQ to interact with what matters most to you.

Recover your password...


Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.


More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.


Stay up-to-date

Set up your notifications and don't miss out on content that matters to you