Concurrent Programming with Ruby and Tuple Spaces
by luccastera on Jun 13, 2009
- 11,331 views
Ruby threads are limited due to the Global Interpreter Lock. Therefore, the best way to do parallel computing with Ruby is to use multiple processes but how do you get these processes to communicate? <...
Ruby threads are limited due to the Global Interpreter Lock. Therefore, the best way to do parallel computing with Ruby is to use multiple processes but how do you get these processes to communicate?
This session will provide some strategies for handling multi-process communication in Ruby, with a focus on the use of TupleSpaces. A TupleSpace provides a repository of tuples that can be accessed concurrently to implement a Blackboard system. Ruby ships with a built-in implementation of a TupleSpace with the Rinda library.
During the session, Luc will demonstrate how to use Rinda and will highlight other libraries/projects that facilitate interprocess communication and parallel computing in Ruby.
Accessibility
Categories
Tags
More...Upload Details
Uploaded via SlideShare as OpenOffice
Usage Rights
© All Rights Reserved
Statistics
- Favorites
- 13
- Downloads
- 242
- Comments
- 0
- Embed Views
- Views on SlideShare
- 10,608
- Total Views
- 11,331