RubyConf 2010 - Concurrency: Rubies, plural by: Eleanor McHugh, Elise Huard

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=gDi-SP43zqo



Duration: 54:06
115 views
1


For the last few years hardware manufacturers have driven increasingly powerful multi-core processors into consumer-grade computing hardware. Power which twenty years ago was restricted to a handful of government-funded research institutes is now available on the desktop, introducing many developers to the conundrum of how best to use it with languages implemented primarily for sequential environments. In this presentation we'll use code to explore the various traditional models for concurrent execution supported directly by Ruby - such as Threads, Processes and Fibres - and their limitations before turning to the approaches pioneered in other languages and seeing how many we can bring into the Ruby fold. Starting with some underlying theory we'll explore Coroutines, Actor Models, Petri Nets, Process Algebras (particularly CSP and the Pi-Calculus), Software Transactional Memory and distributed Map/Reduce algorithms. Along the way we'll present characteristic examples of these techniques drawn from a variety of languages including Go, Occam-Pi, Clojure and Erlang. We'll take some of these examples and demonstrate how to construct similar architectures in Ruby using its native features and libraries such as EventMachine or RevActor. This is a practical session, focused on increasing increasing the knowledge of concurrency and how to work with it. It should help people improve both the structure of applications and the performance of those applications on multi-core hardware.

Help us caption & translate this video!

http://amara.org/v/GXlQ/




Other Videos By Confreaks


2015-04-07RubyConf 2010 - Far and Away (A Tour of DistribRuted Programming with Ruby) by: Mark Bates
2015-04-07RubyConf 2010 - Poisoning Rubinius: The _why and how. by: Brian Ford
2015-04-06RubyConf 2009 - BERT and Ernie: Scaling your Ruby site with Erlang by Tom Preston-Werner
2015-04-06Ruby On Ales 2015 - Robolove
2015-04-02RubyConf 2010 - How to Jam in Code by: Ron Evans
2015-04-02RubyConf 2010 - pie: the making of a DSL for simple games by: Sarah Allen
2015-04-02RubyConf 2010 - Classboxes, nested methods, and real private methods by: Shugo Maeda
2015-04-02RubyConf 2010 - Grammars, Parsers, and Interpreters, In Ruby by: Michael J. I. Jackson
2015-04-02RubyConf 2010 - Sales for Geeks, or How to Frame Suggestions, Questions and Requests by: Joe O'Brien
2015-04-02RubyConf 2010 - MacRuby - Why and How by: Matt Aimonetti
2015-04-02RubyConf 2010 - Concurrency: Rubies, plural by: Eleanor McHugh, Elise Huard
2015-04-02RubyConf 2010 - AMP: Cross-repo version control in Ruby by: Justin Love
2015-04-02RubyConf 2010 - TANSTAAFL - Implementing Maglev Ruby on top of GemStone
2015-04-02RubyConf 2010 - Building Scalable Cloud Infrastructure with Ruby - How we built VMforce
2015-04-02RubyConf 2010 - Git: the stupid NOSQL database by: Rick Olson
2015-04-02RubyConf 2010 - Rubinius - What Have You Done For Me Today? by: Evan Phoenix
2015-04-02RubyConf 2010 - India::Ruby by: Sidu Ponnappa, Niranjan Paranjape
2015-04-02RubyConf 2010 - Knocking Ruby's Date and DateTime Performance Out of the Park with home_run
2015-04-02RubyConf 2010 - Ruby Summer of Code - Rails 3 Mountable Apps by: Piotr Sarnacki
2015-04-02RubyConf 2010 - JRuby Hacking Guide by: Thomas Enebo, Charles Nutter
2015-04-02RubyConf 2010 - The Enterprising Rubyist - Bootstrapping your Business with Ruby by: Paul Campbell