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.6k
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
150
(私的)RubyKaigi の歩き方
katsyoshi
0
1.1k
Building Ruby Native Extension using Ruby
katsyoshi
0
1.9k
ちいさなクラウド業者やってみた
katsyoshi
0
170
fluentdとxlsx
katsyoshi
0
130
mikutterとJubatusとfluentd
katsyoshi
0
11k
ZFSでNASやってはまったこと
katsyoshi
0
2k
mikutterとJubatusで遊んでみた
katsyoshi
0
590
BeagleBoard-xM向けに td-agent-armhf.debをつ くってみた
katsyoshi
0
800
Other Decks in Programming
See All in Programming
testcontainers のススメ
sgash708
1
120
採用事例の少ないSvelteを選んだ理由と それを正解にするためにやっていること
oekazuma
2
1k
Webエンジニア主体のモバイルチームの 生産性を高く保つためにやったこと
igreenwood
0
330
ゆるやかにgolangci-lintのルールを強くする / Kyoto.go #56
utgwkk
1
370
開発者とQAの越境で自動テストが増える開発プロセスを実現する
92thunder
1
180
CSC305 Lecture 26
javiergs
PRO
0
140
Zoneless Testing
rainerhahnekamp
0
120
103 Early Hints
sugi_0000
1
220
命名をリントする
chiroruxx
1
390
rails stats で紐解く ANDPAD のイマを支える技術たち
andpad
1
290
Refactor your code - refactor yourself
xosofox
1
260
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
110
Featured
See All Featured
It's Worth the Effort
3n
183
28k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
5
440
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Automating Front-end Workflow
addyosmani
1366
200k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
The Invisible Side of Design
smashingmag
298
50k
Thoughts on Productivity
jonyablonski
67
4.4k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
95
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༵