Save 37% off PRO during our Black Friday Sale! »

dRuby 20th anniversary hands-on workshop

dRuby 20th anniversary hands-on workshop

slide: dRuby 20th anniversary hands-on workshop
text is here :


seki at

April 20, 2019


  1. dRuby 20th anniversary hands-on workshop @m_seki /

  2. @m_seki Ruby committer Author of ERB, dRuby, Rinda

  3. What is dRuby Distributed Object System Can invoke methods in

    different process Can send objects between process Pure Ruby
  4. দߐͷϫʔΫγϣοϓͷ࣭໰ dRuby

  5. Goal of this workshop dRuby Feel what dRuby is.

    For details, read the book.
  6. 1999 [ruby-list:15406] 1st dRuby

  7. 1st dRuby on T-shirts

  8. Ask them questions in English

  9. 2005 - ·ͩॳ࡮Γങ͑·͢ dRuby ʹΑΔ ؔকढ़ஶ ෼ࢄ ɾ Web

    ϓϩάϥϛϯά First printing from 2005 (Still available)
  10. 2012 (-2014 ઈ൛) Publication from 2012 (Become out of

    print in 2014)
  11. ΋ͬͱΘ͔Γ΍͘͢΄Ίͯʂ Praise it more directly, please!

  12. dRuby͸ͳʹʹ࢖͏ͷʁ ...

  13. Twitterͷ৔߹ In case of Twitter

  14. Concurrency ?? It is very easy to use up

  15. Demo @drbrain Mandelbrot set 8core

  16. Agenda Hello, World Key value store Queue 4, 5

    4. Docker, 5. Docker and Ring are omitted.
  17. 1. Hello, World Setup dRuby Invoke a method in different

  18. 1. Hello, World require 'drb' class Hello def greeting

    puts('Hello, World.') end end uri = 'druby://localhost:54000' DRb.start_service(uri, sleep require 'drb' DRb.start_service uri = 'druby://localhost:54000' it = DRbObject.new_with_uri(uri) it.greeting ← greeting
  19. 2. Key value store KVS arguments return value

  20. 2. Key value store KVS irb irb • "greeting"

    • "hello, world." • "greeting" • "hello, world."
  21. 3. Queue SizedQueue full/empty Synchronize process using thread synchronization

  22. OOPARTS I was just reminded of dRuby's OOPARTS-ness


  24. ·ͱΊ dRuby Conclusion Do you feel what dRuby is?

    For details, read the book.