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
74
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
ERB, ancient and future
m_seki
3
480
ERB Hacks
m_seki
1
1.1k
わりこまれるはなし
m_seki
0
550
ぼくのかんがえたさいきょうのけいやくによるプログラミング
m_seki
1
780
Learn Ractor
m_seki
1
2.2k
How many copies did you buy the first print?
m_seki
1
600
Create my own search engine.
m_seki
1
5k
Rinda in the real-world embedded systems.
m_seki
0
350
xpjug2019 A-4: チケットシステムの設計と実装、『あのチーム』の運用
m_seki
6
6.3k
Other Decks in Programming
See All in Programming
コード生成を伴うLLMエージェント - 2024.07.18 Tokyo AI
smiyawaki0820
11
4.1k
日付と正規化
megmogmog1965
0
140
How to use Macrobenchmark
veronikapj
0
160
유연한 Composable 설계
l2hyunwoo
0
380
しくじり先生 Image Matching Challenge 2024 編
goosehaaan
0
810
継続的な活動で築く地方エンジニアの道
myamashii
2
360
CSC307 Lecture 05
javiergs
PRO
0
210
AWS初心者ってどうやってAWSを学ぶ?〜アプリエンジニアがやってよかったアーキテクチャ学習方法〜
yamanashi_ren01
0
190
【Go言語】golangci-lintの使い方
tomo1227
0
280
Activities at Cairo Library
cairolibrary720
0
1.2k
Folding Cheat Sheet #7
philipschwarz
PRO
0
150
Introduction to GitOps
hwchiu
0
110
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
262
13k
A Modern Web Designer's Workflow
chriscoyier
689
190k
The Invisible Side of Design
smashingmag
294
50k
Writing Fast Ruby
sferik
623
60k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
228
16k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
129
32k
Build The Right Thing And Hit Your Dates
maggiecrowley
28
2.2k
YesSQL, Process and Tooling at Scale
rocio
166
14k
Leading Effective Engineering Teams 2024
addyosmani
3
300
How to Think Like a Performance Engineer
csswizardry
4
590
Infographics Made Easy
chrislema
238
18k
Thoughts on Productivity
jonyablonski
64
4.1k
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.