- Dryad (programming)
-
Dryad is an ongoing research project at Microsoft Research for a general purpose runtime for execution of data parallel applications. An application written for Dryad is modeled as a directed acyclic graph (DAG). The DAG defines the dataflow of the application, and the vertices of the graph defines the operations that are to be performed on the data. The "computational vertices" are written using sequential constructs, devoid of any concurrency or mutual exclusion semantics. The Dryad runtime parallelizes the dataflow graph by distributing the computational vertices across various execution engines (which can be multiple processor cores on the same computer or different physical computers connected by a network, as in a cluster). Scheduling of the computational vertices on the available hardware is handled by the Dryad runtime, without any explicit intervention by the developer of the application or administrator of the network. The flow of data between one computational vertex to another is implemented by using communication "channels" between the vertices, which in physical implementation is realized by TCP/IP streams, shared memory or temporary files. A stream is used at runtime to transport a finite number of structured Items.
Dryad defines a domain-specific language, which is implemented via a C++ library, that is used to create and model a Dryad execution graph. Computational vertices are written using standard C++ constructs. To make them accessible to the Dryad runtime, they must be encapsulated in a class that inherits from the
GraphNode
base class. The graph is defined by adding edges; edges are added by using a composition operator (defined by Dryad) that connects two graphs (or two nodes of a graph) with an edge. Managed code wrappers for the Dryad API can also be written.There exist several high-level language compilers which use Dryad as a runtime; examples include PSQL, Microsoft Scope and DryadLINQ.
References
- "DryadLINQ: A System for General-Purpose Distributed Data-Parallel Computing Using a High-Level Language". Microsoft Research. http://research.microsoft.com/en-us/projects/dryadlinq/dryadlinq.pdf. Retrieved 2009-01-21.
- "Dryad: Distributed Data-Parallel Programs from Sequential Building Blocks". Microsoft Research. http://research.microsoft.com/en-us/projects/dryadlinq/eurosys07.pdf. Retrieved 2007-12-04.
- "SCOPE: Easy and Efficient Parallel Processing of Massive Data Sets". Microsoft Research. http://research.microsoft.com/en-us/um/people/jrzhou/pub/Scope.pdf. Retrieved 2009-01-21.
External links
Microsoft Research (MSR) Main projects Languages and compilersBigtop · Gridline · BitVaultInternet and networkingAvalanche · Wallop · Conference XP · HoneyMonkey · AjaxView · GazelleOther projectsSingularity · BarrelfishJoins · Accelerator · Dryad · SXMLaunched as productsC# · Comic Chat · F# · Sideshow · Surface (TouchLight) · SenseCam · ClearType · Group Shot · Allegiance · SongsmithApplied research
from MSR LabsCurrentDiscontinuedOther Microsoft Research Labs: adCenter Labs · Office LabsCategories:- Microsoft Research
- Distributed computing architecture
- Concurrent programming libraries
Wikimedia Foundation. 2010.