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
Asakusa.rbに一年間通ったらこうなった
Search
MATSUMOTO Katsuyoshi
March 16, 2013
Programming
1
2.7k
Asakusa.rbに一年間通ったらこうなった
大江戸Ruby会議03の話
MATSUMOTO Katsuyoshi
March 16, 2013
Tweet
Share
More Decks by MATSUMOTO Katsuyoshi
See All by MATSUMOTO Katsuyoshi
Ruby in Ruby - Building an AOT Compiler with Ruby
katsyoshi
0
210
(私的)RubyKaigi の歩き方
katsyoshi
0
1.3k
Building Ruby Native Extension using Ruby
katsyoshi
0
2k
ちいさなクラウド業者やってみた
katsyoshi
0
180
fluentdとxlsx
katsyoshi
0
140
mikutterとJubatusとfluentd
katsyoshi
0
11k
ZFSでNASやってはまったこと
katsyoshi
0
2k
mikutterとJubatusで遊んでみた
katsyoshi
0
600
BeagleBoard-xM向けに td-agent-armhf.debをつ くってみた
katsyoshi
0
820
Other Decks in Programming
See All in Programming
状態と共に暮らす:ステートフルへの挑戦
ypresto
2
790
「影響が少ない」を自分の目でみてみる
o0h
PRO
2
1.2k
Vibe Coding の話をしよう
schroneko
12
2.9k
Strategic Design (DDD)for the Frontend @DDD Meetup Stuttgart
manfredsteyer
PRO
0
170
AIコーディングの理想と現実
tomohisa
29
34k
On-the-fly Suggestions of Rewriting Method Deprecations
ohbarye
1
3.4k
Memory API : Patterns, Performance et Cas d'Utilisation
josepaumard
0
140
Dissecting and Reconstructing Ruby Syntactic Structures
ydah
1
840
監視 やばい
syossan27
11
10k
MCP調べてみました! / Exploring MCP
uhzz
2
2.3k
Unlock the Potential of Swift Code Generation
rockname
0
270
note の Elasticsearch 更新系を支える技術
tchov
0
150
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5.3k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Why You Should Never Use an ORM
jnunemaker
PRO
55
9.3k
Designing for humans not robots
tammielis
252
25k
Rails Girls Zürich Keynote
gr2m
94
13k
Adopting Sorbet at Scale
ufuk
76
9.3k
Building Flexible Design Systems
yeseniaperezcruz
329
38k
Building a Scalable Design System with Sketch
lauravandoore
462
33k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
45
9.5k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Transcript
Asakusa.rbʹҰؒ ௨ͬͨΒ͜͏ͳͬͨ katsyoshi 20133݄16༵
who am i • katsyoshi • mikutter • fav.rb, mikutter-fluentd,
mikutter-jubatus.. • fluentd • fluent-plugin-serialport • fluent-plugin-axslx 20133݄16༵
Asakusa.rb • ࢀՃͯ͠Έ͔ͨͬͨ • ԕ͍ • ্ͷ͋ͨΓͰಇ͘͜ͱʹͳͬͨͷͰ ࢀՃͨ͠ 20133݄16༵
Rubyͱͷ͖߹͍ • 2008͙Β͍ • ϐοέϧຊ • ͍ίϨ͍͍ 20133݄16༵
mikutterͱʁ • ѱ;͚͟ʢ*ެࣜΑΓʣ • RubyͰॻ͔ΕͨGUI TwitterΫϥΠΞϯ τ • Gtk2͕αϙʔτ͞ΕͯͨΒͲ͜Ͱ ಈͣ͘
* http://mikutter.hachune.net/faq 20133݄16༵
( ^o^)MacͰmikutterىಈͰ͖ͨ ʢ ˘⊖˘ʣɻo(ͯΑɺͳΜͰMacͰmikutterى ಈͰ͖ͨΜͩ…ʁ) |@toshi_a| ᵎ(☋` )ᵊࡾ ( ◠!
◠ )☛ ͳΜͰ࡞ऀ͕Ͱ͖ͳ͍ͷʹ͓લ͕ Ͱ͖ΔΜͩΑফͤ ‧㜐▒░(’ω’)░▒㜐‧͏Θ͋͋͋ ͋͋͋ 20133݄16༵
mikutterͷ͍͍ͱ͜Ζ • RubyͰॻ͔ΕͯΔ • ϓϥάΠϯͰ֦ுՄೳ • TLอଘɼϝʔϧૹ৴‥ • mikutterڥ •
ݎ࿚ • 40ؒ20000;͊΅࣮͑ͨ(*) *https://twitter.com/toshi_a/status/231628802462199808 20133݄16༵
mikutterͷͩΊͳͱ͜Ζ • ςετ͕ͳ͍ • README͕͓ͯ͘ΕͯΔ • ෆ҆ఆʢׂΓͱͶʣ • | ʄΘʄʣʻͦ͏Ͱͳ͍Α
• Ruby-2.0.0-p0ະରԠ 20133݄16༵
Ͳ͏ͬͯ͏͔͢͝ͷʁ • ͱΓ͋͑ͣgtk2ͱcairoΛΠϯετʔϧ • ޙbundlerͰԿͱ͔͠·͠ΐ͏ 20133݄16༵
Ͳ͏ͬͯ͏͔͢͝ͷʁ • git clone git://toshia.dip.jp/mikutter.git • cd mikutter • git
checkout develop • bundle install • bundle exec ruby mikutter.rb 20133݄16༵
mikutter-plugins • fav.rb • ಛఆͷΩʔϫʔυϢʔβ͕TLʹݱ ΕͨΒ;͊΅;͊΅ • mikutter-jubatus • ;͊΅Λֶशͯ͠TLʹݱΕ͍ͨͭʔ
ͱΛஅͯ͠;͊΅;͊΅ 20133݄16༵
mikutterͱfluentd • mikutter-fluentdͰmikutterʹྲྀΕͯ͘Δ πΠʔτΛfluentdʹྲྀ͢ • mikutterͰى͖ͯΔΠϕϯτ • fluent-plugin-twitterͯͷ͋ΔΑ 20133݄16༵
fluentd • ϩάऩूΤʔδΣϯτ • Log everything in JSON • pluggable
• S3, mongodb, Hadoop‥ • td-agent 20133݄16༵
td-agent.deb for BeagleBoard • td-agentΛBeagleBoardʢARMʣUbuntuʹ Ҡ২ • ެ։͞ΕͯΔεΫϦϓτΛݩʹ࡞ • https://github.com/treasure-data/td-agent
20133݄16༵
มߋ • build script • make-init-deb.sh, make-deb.sh • DISTS=’lucid precise’
-> ‘precise’ • ARCHITECTURES='i386 amd64' -> ‘armhf’ 20133݄16༵
มߋ • build script • debian/rules • -Vdist:Depends="$(shell (lsb_release -a
2>/dev/null | grep -q 'Ubuntu\|squeeze') && echo libyaml-0-2 || echo libyaml-0-1)" -> "libyaml-0-2" • debian/source/format • 3.0 (quilt) -> 1.0 • library • jemalloc-2.2.5 -> jemalloc-3.0.0 20133݄16༵
Πϯετʔϧ • dpkg -i td-agent_1.1.11-1_armhf.deb 20133݄16༵
10 20 100 10 20 100 ϕϯνϚʔΫ • ੑೳධՁ •
ࡹ͚Δ • CPU 20133݄16༵
͓ΘΓ 20133݄16༵