The dRuby Book: Distributed and Parallel Computing with Ruby (Paperback)

Masatoshi Seki

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2012-03-22
  • 定價: $1,150
  • 售價: 8.0$920
  • 語言: 英文
  • 頁數: 280
  • 裝訂: Paperback
  • ISBN: 193435693X
  • ISBN-13: 9781934356937
  • 相關分類: Ruby
  • 立即出貨

買這商品的人也買了...

商品描述

Learn from legendary Japanese Ruby hacker Masatoshi Seki in this first English-language book on his own Distributed Ruby library. You'll find out about distributed computing, advanced Ruby concepts and techniques, and the philosophy of the Ruby way---straight from the source.

dRuby has been part of the Ruby standard library for more than a decade, yet few know the true power of the gem. Completely written in Ruby, dRuby enables you to communicate between distributed Ruby processes as if there were no boundaries between processes. This is one of the few books that covers distributed and parallel programming for Ruby developers.

The dRuby Book has been completely updated and expanded from its Japanese version, with three new chapters written by Masatoshi-san. You'll find out about the design concepts of the dRuby library, and walk through step-by-step tutorial examples. By building various distributed applications, you'll master distributed programming as well as advanced Ruby techniques such as multithreading, object references, garbage collection, and security. Then you'll graduate to advanced techniques for using dRuby with Masatoshi-san's other libraries, such as eRuby and Rinda---the Ruby version of the Linda distributed tuplespace system. In the three new chapters, you'll see how to integrate dRuby and eRuby, get a thorough grounding in parallel programming concepts with Rinda, and create a full text search system using Drip.

Step by step, you'll gain mastery of dRuby and distributed computing.

What You Need:

Ruby 1.9.2 or above. All exercises were run on OS X, though it should work on any operating system. You are expected to be comfortable reading Ruby code, as we do not explain basic syntax.

商品描述(中文翻譯)

在這本首部以英文撰寫的書籍中,您將有機會向傳奇的日本Ruby駭客Masatoshi Seki學習他自己開發的分散式Ruby庫。您將了解分散式計算、高級Ruby概念和技巧,以及Ruby方式的哲學,這些都是直接來自源頭的資訊。

dRuby已經成為Ruby標準庫的一部分超過十年,然而很少有人知道這個寶石的真正威力。dRuby完全使用Ruby編寫,使您能夠在分散式Ruby進程之間進行通信,就像進程之間沒有任何界限一樣。這是少數涵蓋Ruby開發人員的分散式和並行編程的書籍之一。

《dRuby Book》從其日文版本進行了全面更新和擴展,Masatoshi-san撰寫了三個新章節。您將了解dRuby庫的設計概念,並通過逐步教程示例進行實踐。通過構建各種分散式應用程序,您將掌握分散式編程以及高級Ruby技巧,如多線程、對象引用、垃圾回收和安全性。然後,您將進一步學習如何使用Masatoshi-san的其他庫(如eRuby和Rinda)與dRuby進行高級技術結合,Rinda是Linda分散元組空間系統的Ruby版本。在這三個新章節中,您將了解如何整合dRuby和eRuby,深入了解Rinda的並行編程概念,並使用Drip創建全文搜索系統。

通過逐步學習,您將掌握dRuby和分散式計算的技能。

所需材料:

Ruby 1.9.2或更高版本。所有練習都在OS X上運行,但它應該在任何操作系統上都能運行。您需要熟悉閱讀Ruby代碼,因為我們不會解釋基本語法。