Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
dRuby 20th anniversary hands-on workshop
seki at druby.org
April 20, 2019
Programming
1
44
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
Rinda in the real-world embedded systems.
m_seki
0
200
xpjug2019 A-4: チケットシステムの設計と実装、『あのチーム』の運用
m_seki
6
5.8k
Tochigi Ruby Kaigi 08 Keynote
m_seki
0
120
Tochigi RubyKaigi 08 120sec LT
m_seki
0
33
XP-2018-F-7
m_seki
0
2.2k
Buy it sociably
m_seki
0
86
enlarged: extend your own programming language
m_seki
0
48
Extend your own programming language (RubyKaigi 2018)
m_seki
1
5.4k
toteka05 panel / phrase
m_seki
1
580
Other Decks in Programming
See All in Programming
JetPackComposeは宣言型プログラミングパラダイムって実はよくわかってないんですが、別に使ってもいいんですよね、
conigashima
0
190
Angular‘s Future without NgModules: Architectures with Standalone Components @enterJS
manfredsteyer
PRO
0
250
Cybozu GoogleI/O 2022 LT会 - Input for all screens
jaewgwon
0
400
VisualProgramming_GoogleHome_LINE
nearmugi
1
240
Running Laravel/PHP on AWS (AWS Builders Day Taiwan 2022)
dwchiang
0
180
Managing Error Messages with your Oracle Database REST APIs
thatjeffsmith
0
160
社用PCのdotfiles管理 / dotfiles-in-company
yammerjp
0
230
IE Graduation (IE の功績を讃える)
jxck
20
13k
UI Testing of Jetpack Compose Apps, AppDevCon
alexzhukovich
0
170
The strategies behind ddd – AdeoDevSummit 2022
lilobase
PRO
5
270
Oracle REST Data Service: APEX Office Hours
thatjeffsmith
0
940
Improving Developer Experience Through Tools and Techniques 2022
krzysztofzablocki
0
1.2k
Featured
See All Featured
A Philosophy of Restraint
colly
192
15k
What's in a price? How to price your products and services
michaelherold
229
9.4k
Bootstrapping a Software Product
garrettdimon
296
110k
Rails Girls Zürich Keynote
gr2m
86
12k
Scaling GitHub
holman
451
140k
Infographics Made Easy
chrislema
233
17k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
315
19k
Keith and Marios Guide to Fast Websites
keithpitt
404
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
56
2.3k
Optimizing for Happiness
mojombo
365
63k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
11
4.7k
The Pragmatic Product Professional
lauravandoore
19
3k
Transcript
dRuby 20th anniversary hands-on workshop @m_seki / seki@ruby-lang.org
@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.