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
480
[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
RWC 2024 DICOM & ISO/IEC 2022
m_seki
0
340
ERB, ancient and future
m_seki
3
830
ERB Hacks
m_seki
1
1.4k
わりこまれるはなし
m_seki
0
760
ぼくのかんがえたさいきょうのけいやくによるプログラミング
m_seki
1
1.1k
Learn Ractor
m_seki
1
2.5k
How many copies did you buy the first print?
m_seki
1
700
Create my own search engine.
m_seki
1
5.2k
Rinda in the real-world embedded systems.
m_seki
0
410
Other Decks in Programming
See All in Programming
第3回関東Kaggler会_AtCoderはKaggleの役に立つ
chettub
3
1.2k
Django NinjaによるAPI開発の効率化とリプレースの実践
kashewnuts
1
290
GoとPHPのインターフェイスの違い
shimabox
2
210
TCAを用いたAmebaのリアーキテクチャ
dazy
0
220
仕様変更に耐えるための"今の"DRY原則を考える
mkmk884
9
3.2k
ABEMA iOS 大規模プロジェクトにおける段階的な技術刷新 / ABEMA iOS Technology Upgrade
akkyie
1
240
たのしいSocketのしくみ / Socket Under a Microscope
coe401_
8
1.4k
Drawing Heighway’s Dragon- Recursive Function Rewrite- From Imperative Style in Pascal 64 To Functional Style in Scala 3
philipschwarz
PRO
0
150
Generating OpenAPI schema from serializers throughout the Rails stack - Kyobashi.rb #5
envek
1
420
15分で学ぶDuckDBの可愛い使い方 DuckDBの最近の更新
notrogue
3
820
From the Wild into the Clouds - Laravel Meetup Talk
neverything
0
180
推しメソッドsource_locationのしくみを探る - はじめてRubyのコードを読んでみた
nobu09
2
350
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7.1k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
46
2.4k
Producing Creativity
orderedlist
PRO
344
40k
Speed Design
sergeychernyshev
27
810
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
How STYLIGHT went responsive
nonsquared
99
5.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
233
17k
A designer walks into a library…
pauljervisheath
205
24k
What's in a price? How to price your products and services
michaelherold
244
12k
Git: the NoSQL Database
bkeepers
PRO
428
65k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
134
33k
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 !