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
[alpha] dRuby Hiroba
Search
seki at druby.org
June 02, 2013
Programming
1
500
[alpha] dRuby Hiroba
seki at druby.org
June 02, 2013
Tweet
Share
More Decks by seki at druby.org
See All by seki at druby.org
XP, Testing and ninja testing ZOZ5
m_seki
3
670
XP, Testing and ninja testing
m_seki
3
740
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
500
ERB, ancient and future
m_seki
3
930
ERB Hacks
m_seki
1
1.5k
わりこまれるはなし
m_seki
0
930
ぼくのかんがえたさいきょうのけいやくによるプログラミング
m_seki
2
1.3k
Learn Ractor
m_seki
1
2.7k
How many copies did you buy the first print?
m_seki
1
1.1k
Other Decks in Programming
See All in Programming
Software Architecture
hschwentner
6
2.3k
私達はmodernize packageに夢を見るか feat. go/analysis, go/ast / Go Conference 2025
kaorumuta
2
570
20251016_Rails News ~Rails 8.1の足音を聴く~
morimorihoge
1
360
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
3
190
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
380
iOSエンジニア向けの英語学習アプリを作る!
yukawashouhei
0
200
非同期jobをtransaction内で 呼ぶなよ!絶対に呼ぶなよ!
alstrocrack
0
940
overlayPreferenceValue で実現する ピュア SwiftUI な AdMob ネイティブ広告
uhucream
0
180
NixOS + Kubernetesで構築する自宅サーバーのすべて
ichi_h3
0
860
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
0
1.3k
CSC305 Lecture 06
javiergs
PRO
0
230
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
130
Featured
See All Featured
Bash Introduction
62gerente
615
210k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Mobile First: as difficult as doing things right
swwweet
224
10k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.5k
Principles of Awesome APIs and How to Build Them.
keavy
127
17k
Speed Design
sergeychernyshev
32
1.2k
Keith and Marios Guide to Fast Websites
keithpitt
411
23k
Transcript
dRuby dRuby Hiroba Masatoshi SEKI / @m_seki / toRuby
toRuby ͱͪ͗Rubyͷษڧձ (Tochigi Ruby meetup) 2013-6-5 18:30 at Nishinasuno, Nasushiobara,
Tochigi
dRuby dRuby makes any processes be a server.
1. Hello, World. hello_server.rb hello_client.rb hello() "Hello, World."
code require 'drb/drb' DRb.start_service DRbObject.new_with_uri
exercise hello_client.rbΛͳΜͲ࣮ߦͰ͖·͔͢ʁ hello_server.rbΛऴྃͤͯ͞hello_client.rb Λ࣮ߦͤ͞ΔͱͲ͏ͳΓ·͔͢ʁ
2. Hash hash_server.rb irb irb
exercise ͲΜͳΦϒδΣΫτ͕ೖΔ͔ࢼͯ͠ "String" 2012 Time.now $stdout
3. Queue irb Queue deque.rb
exercise deque.rbΛ૿ͨ͠ΒͲ͏ͳΔ? irb Queue deque.rb deque.rb deque.rb
4. Drip A stream based storage
4.1 Drip as Queue
4.2 Drip as KVS
4.3 Browse Drip
4.4 write_if_latest https://gist.github.com/seki/1383222 Clojure like STM https://gist.github.com/seki/4492047 Mutable Distributed Queue
N ew !