Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
dRuby 20th anniversary hands-on workshop
Search
seki at druby.org
April 20, 2019
Programming
1
95
dRuby 20th anniversary hands-on workshop
slide: dRuby 20th anniversary hands-on workshop
text is here :
http://www.druby.org/fukuoka2019.pdf
seki at druby.org
April 20, 2019
Tweet
Share
More Decks by seki at druby.org
See All by seki at druby.org
RWC2025 Ninja-testing with smart playlist
m_seki
3
520
XP, Testing and ninja testing ZOZ5
m_seki
3
1.6k
XP, Testing and ninja testing
m_seki
3
830
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
510
ERB, ancient and future
m_seki
3
950
ERB Hacks
m_seki
1
1.6k
わりこまれるはなし
m_seki
0
960
ぼくのかんがえたさいきょうのけいやくによるプログラミング
m_seki
2
1.4k
Learn Ractor
m_seki
1
2.8k
Other Decks in Programming
See All in Programming
なぜ強調表示できず ** が表示されるのか — Perlで始まったMarkdownの歴史と日本語文書における課題
kwahiro
12
7.2k
Phronetic Team with AI - Agile Japan 2025 closing
hiranabe
2
670
分散DBって何者なんだ... Spannerから学ぶRDBとの違い
iwashi623
0
110
flutter_kaigi_2025.pdf
kyoheig3
1
360
アーキテクチャと考える迷子にならない開発者テスト
irof
9
3.3k
Combinatorial Interview Problems with Backtracking Solutions - From Imperative Procedural Programming to Declarative Functional Programming - Part 1
philipschwarz
PRO
0
100
30分でDoctrineの仕組みと使い方を完全にマスターする / phpconkagawa 2025 Doctrine
ttskch
3
520
Eloquentを使ってどこまでコードの治安を保てるのか?を新人が考察してみた
itokoh0405
0
3.2k
r2-image-worker
yusukebe
1
180
関数の挙動書き換える
takatofukui
4
750
「文字列→日付」の落とし穴 〜Ruby Date.parseの意外な挙動〜
sg4k0
0
290
Microservices Platforms: When Team Topologies Meets Microservices Patterns
cer
PRO
0
520
Featured
See All Featured
Side Projects
sachag
455
43k
RailsConf 2023
tenderlove
30
1.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
A better future with KSS
kneath
239
18k
Testing 201, or: Great Expectations
jmmastey
46
7.8k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Thoughts on Productivity
jonyablonski
73
4.9k
Site-Speed That Sticks
csswizardry
13
970
How to train your dragon (web standard)
notwaldorf
97
6.4k
Visualization
eitanlees
150
16k
How to Think Like a Performance Engineer
csswizardry
28
2.3k
Statistics for Hackers
jakevdp
799
230k
Transcript
dRuby 20th anniversary hands-on workshop @m_seki /
[email protected]
@m_seki Ruby committer Author of ERB, dRuby, Rinda http://www.druby.org/fukuoka2019.pdf
What is dRuby Distributed Object System Can invoke methods in
different process Can send objects between process Pure Ruby http://www.druby.org/fukuoka2019.pdf
দߐͷϫʔΫγϣοϓͷ࣭ dRuby http://www.druby.org/fukuoka2019.pdf
Goal of this workshop dRuby http://www.druby.org/fukuoka2019.pdf Feel what dRuby is.
For details, read the book.
1999 [ruby-list:15406] 1st dRuby http://www.druby.org/fukuoka2019.pdf
1st dRuby on T-shirts suzuri.jp/m_seki
Ask them questions in English
2005 - ·ͩॳΓങ͑·͢ http://www.druby.org/fukuoka2019.pdf dRuby ʹΑΔ ؔকढ़ஶ ࢄ ɾ Web
ϓϩάϥϛϯά First printing from 2005 (Still available)
2012 (-2014 ઈ൛) http://www.druby.org/fukuoka2019.pdf Publication from 2012 (Become out of
print in 2014)
ͬͱΘ͔Γ͘͢΄Ίͯʂ http://www.druby.org/fukuoka2019.pdf Praise it more directly, please!
dRubyͳʹʹ͏ͷʁ ... http://www.druby.org/fukuoka2019.pdf
Twitterͷ߹ http://www.druby.org/fukuoka2019.pdf In case of Twitter
Concurrency ?? http://www.druby.org/fukuoka2019.pdf It is very easy to use up
multi-core
Demo @drbrain Mandelbrot set 8core http://www.druby.org/fukuoka2019.pdf
Agenda Hello, World Key value store Queue 4, 5 http://www.druby.org/fukuoka2019.pdf
4. Docker, 5. Docker and Ring are omitted.
1. Hello, World Setup dRuby Invoke a method in different
process http://www.druby.org/fukuoka2019.pdf
1. Hello, World http://www.druby.org/fukuoka2019.pdf require 'drb' class Hello def greeting
puts('Hello, World.') end end uri = 'druby://localhost:54000' DRb.start_service(uri, Hello.new) sleep require 'drb' DRb.start_service uri = 'druby://localhost:54000' it = DRbObject.new_with_uri(uri) it.greeting ← greeting
2. Key value store KVS arguments return value http://www.druby.org/fukuoka2019.pdf
2. Key value store http://www.druby.org/fukuoka2019.pdf KVS irb irb • "greeting"
• "hello, world." • "greeting" • "hello, world."
3. Queue SizedQueue full/empty http://www.druby.org/fukuoka2019.pdf Synchronize process using thread synchronization
mechanism
OOPARTS http://www.druby.org/fukuoka2019.pdf I was just reminded of dRuby's OOPARTS-ness
OOPARTS http://www.druby.org/fukuoka2019.pdf
·ͱΊ dRuby http://www.druby.org/fukuoka2019.pdf Conclusion Do you feel what dRuby is?
For details, read the book.