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.5k
Asakusa.rbに一年間通ったらこうなった
大江戸Ruby会議03の話
MATSUMOTO Katsuyoshi
March 16, 2013
Tweet
Share
More Decks by MATSUMOTO Katsuyoshi
See All by MATSUMOTO Katsuyoshi
(私的)RubyKaigi の歩き方
katsyoshi
0
440
Building Ruby Native Extension using Ruby
katsyoshi
0
1.5k
ちいさなクラウド業者やってみた
katsyoshi
0
160
fluentdとxlsx
katsyoshi
0
110
mikutterとJubatusとfluentd
katsyoshi
0
11k
ZFSでNASやってはまったこと
katsyoshi
0
1.9k
mikutterとJubatusで遊んでみた
katsyoshi
0
560
BeagleBoard-xM向けに td-agent-armhf.debをつ くってみた
katsyoshi
0
780
Other Decks in Programming
See All in Programming
Implementing Design Systems in Swift
seyfoyun
1
440
Anthropic Cookbook のおすすめレシピ
schroneko
7
1.1k
SIMD Parallel Programming with the Vector API
josepaumard
0
220
Snowflakeで眠ったデータを起こそう!
estie
0
140
PostmanでAPIの動作確認が楽になった話
h455h1
0
180
雑に思考を整理する技術と効能
konifar
63
30k
Site Reliability Engineering for GMO
pyama86
8
1.1k
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
970
"config" ってなんだ? / What is "config"?
okashoi
0
250
try! Swift Tokyo 初参加報告LT
hinakko2
0
230
TCAとKMPを用いた新規動画配信アプリ 「ABEMA Live」の設計
tomu28
2
120
Elm 0.19.0 Changes
bkuhlmann
0
500
Featured
See All Featured
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Designing on Purpose - Digital PM Summit 2013
jponch
111
6.5k
The Cost Of JavaScript in 2023
addyosmani
20
3.9k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
358
22k
Side Projects
sachag
451
41k
Gamification - CAS2011
davidbonilla
77
4.6k
Learning to Love Humans: Emotional Interface Design
aarron
267
39k
Docker and Python
trallard
35
2.7k
Optimising Largest Contentful Paint
csswizardry
12
2.4k
Product Roadmaps are Hard
iamctodd
45
9.7k
GraphQLとの向き合い方2022年版
quramy
33
12k
The Cult of Friendly URLs
andyhume
74
5.7k
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༵