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
POI: Proof of Identity
katsyoshi
0
68
Ruby in Ruby - Building an AOT Compiler with Ruby
katsyoshi
0
280
(私的)RubyKaigi の歩き方
katsyoshi
0
1.5k
Building Ruby Native Extension using Ruby
katsyoshi
0
2k
ちいさなクラウド業者やってみた
katsyoshi
0
190
fluentdとxlsx
katsyoshi
0
150
mikutterとJubatusとfluentd
katsyoshi
0
11k
ZFSでNASやってはまったこと
katsyoshi
0
2k
mikutterとJubatusで遊んでみた
katsyoshi
0
620
Other Decks in Programming
See All in Programming
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
280
理論と実務のギャップを超える
eycjur
0
180
はじめてのDSPy - 言語モデルを『プロンプト』ではなく『プログラミング』するための仕組み
masahiro_nishimi
4
14k
When Dependencies Fail: Building Antifragile Applications in a Fragile World
selcukusta
0
110
SwiftDataを使って10万件のデータを読み書きする
akidon0000
0
240
Writing Better Go: Lessons from 10 Code Reviews
konradreiche
3
6.5k
Ktorで簡単AIアプリケーション
tsukakei
0
100
スマホから Youtube Shortsを見られないようにする
lemolatoon
27
34k
3年ぶりにコードを書いた元CTOが Claude Codeと30分でMVPを作った話
maikokojima
0
630
SODA - FACT BOOK(JP)
sodainc
1
8.7k
kiroとCodexで最高のSpec駆動開発を!!数時間で web3ネイティブなミニゲームを作ってみたよ!
mashharuki
0
900
Server Side Kotlin Meetup vol.16: 内部動作を理解して ハイパフォーマンスなサーバサイド Kotlin アプリケーションを書こう
ternbusty
3
240
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
246
12k
How to Think Like a Performance Engineer
csswizardry
27
2.1k
The Cost Of JavaScript in 2023
addyosmani
55
9.1k
Optimising Largest Contentful Paint
csswizardry
37
3.5k
Designing for Performance
lara
610
69k
The World Runs on Bad Software
bkeepers
PRO
72
11k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Stop Working from a Prison Cell
hatefulcrawdad
272
21k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
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༵