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
130
(私的)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
580
BeagleBoard-xM向けに td-agent-armhf.debをつ くってみた
katsyoshi
0
800
Other Decks in Programming
See All in Programming
OnlineTestConf: Test Automation Friend or Foe
maaretp
0
110
Generative AI Use Cases JP (略称:GenU)奮闘記
hideg
1
290
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
910
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
170
距離関数を極める! / SESSIONS 2024
gam0022
0
280
subpath importsで始めるモック生活
10tera
0
300
Quine, Polyglot, 良いコード
qnighy
4
640
リアーキテクチャxDDD 1年間の取り組みと進化
hsawaji
1
220
エンジニアとして関わる要件と仕様(公開用)
murabayashi
0
280
ActiveSupport::Notifications supporting instrumentation of Rails apps with OpenTelemetry
ymtdzzz
1
230
Amazon Qを使ってIaCを触ろう!
maruto
0
400
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
The Language of Interfaces
destraynor
154
24k
The Cult of Friendly URLs
andyhume
78
6k
Scaling GitHub
holman
458
140k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.4k
Typedesign – Prime Four
hannesfritz
40
2.4k
Making the Leap to Tech Lead
cromwellryan
133
8.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
KATA
mclloyd
29
14k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
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༵