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
Rubykaigi2007 RubyとRuby on Railsの活用事例 - @nifty ...
Search
浜中 慶/ HAMANAKA, Kei
June 10, 2007
Technology
0
98
Rubykaigi2007 RubyとRuby on Railsの活用事例 - @nifty TimeLine β はいかにして作られたか -
Rubykaigi2007のスポンサーセッション。タイムライン共有CGMサービス「@nifty TimeLine β」でのRuby on Rails活用事例
浜中 慶/ HAMANAKA, Kei
June 10, 2007
Tweet
Share
More Decks by 浜中 慶/ HAMANAKA, Kei
See All by 浜中 慶/ HAMANAKA, Kei
[Red Hat Forum 2019] 5年後のクラウドへキャッチアップするには/ The Future of “Cloud” ~インフラ基盤の運用自動化を事例として~
khamanaka
0
82
[VMware EVOLVE] 運用作業の80%自動化を実現した「ニフクラ」の取り組みと目指す姿について/ Operation automation on NIFCLOUD
khamanaka
0
310
Amazon Dash Buttonで子育てハック
khamanaka
3
2.1k
スケールするプロダクトを支える組織マネジメント
khamanaka
6
3.5k
クラウドインフラ運用自動化
khamanaka
0
890
Rubykaigi2010 Cloud Management with Ruby
khamanaka
0
250
Rubykaigi2009 Ruby, Railsによる 「ケータイ」 ポータルの作り方!
khamanaka
0
240
Rubykaigi2008 Ruby, Railsによる ”ふつう”な ポータルサイトの作り方!
khamanaka
0
230
@nifty TimeLine βの作り方
khamanaka
0
90
Other Decks in Technology
See All in Technology
100 名超が参加した日経グループ横断の競技型 AWS 学習イベント「Nikkei Group AWS GameDay」の紹介/mediajaws202411
nikkei_engineer_recruiting
1
170
OCI 運用監視サービス 概要
oracle4engineer
PRO
0
4.8k
Incident Response Practices: Waroom's Features and Future Challenges
rrreeeyyy
0
160
OCI Security サービス 概要
oracle4engineer
PRO
0
6.5k
Can We Measure Developer Productivity?
ewolff
1
150
マルチモーダル / AI Agent / LLMOps 3つの技術トレンドで理解するLLMの今後の展望
hirosatogamo
37
12k
Security-JAWS【第35回】勉強会クラウドにおけるマルウェアやコンテンツ改ざんへの対策
4su_para
0
180
強いチームと開発生産性
onk
PRO
34
11k
[FOSS4G 2024 Japan LT] LLMを使ってGISデータ解析を自動化したい!
nssv
1
210
なぜ今 AI Agent なのか _近藤憲児
kenjikondobai
4
1.4k
社内で最大の技術的負債のリファクタリングに取り組んだお話し
kidooonn
1
550
ドメインの本質を掴む / Get the essence of the domain
sinsoku
2
150
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
94
13k
Fireside Chat
paigeccino
34
3k
4 Signs Your Business is Dying
shpigford
180
21k
It's Worth the Effort
3n
183
27k
Code Reviewing Like a Champion
maltzj
520
39k
Producing Creativity
orderedlist
PRO
341
39k
Building Flexible Design Systems
yeseniaperezcruz
327
38k
Being A Developer After 40
akosma
86
590k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
720
Teambox: Starting and Learning
jrom
133
8.8k
Visualization
eitanlees
145
15k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
860
Transcript
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. RubyͱRuby on
Railsͷ׆༻ࣄྫ - @nifty TimeLine β ͍͔ʹͯ͠࡞ΒΕ͔ͨ - χϑςΟגࣜձࣾ 2007/06/10 ຊ Ruby ձٞ 2007 εϙϯαʔηογϣϯ 1
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ࠓ͓͢Δ͜ͱ •
χϑςΟRailsͰͷ։ൃΛ͡Ί·ͨ͠ • ʮ@nifty TimeLine βʯ • Railsಋೖʹ͍ͨΔ·ͰͷετʔϦʔ • ։ൃελΠϧ • ʮ@nifty TimeLine βʯͷཪଆ 2
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ࣗݾհ •
ాʢ̎̕ʣ • தʢ̎̓ʣ • ळʢ̎̒ʣ • ॴଐɿχϑςΟʢגʣαʔϏεΫϦΤʔγϣϯ෦ ɹɹɹαʔϏεࢧԉνʔϜ • ۀɿϙʔλϧ/CGMαʔϏεͷاը/։ൃ 3
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. • ϙʔλϧαΠτͷ։ൃʢཁ݅ఆٛʗਐߦཧʣ
• ओʹࣗࣾCMSΛར༻ ओͳۀ༰ ాͷۀྫɿ 4
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. @nifty TimeLine
βͱ 5
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. @nifty TimeLine
β • @niftyϥϘ͔Ββ൛ͱͯ͠ϦϦʔε • αʔϏε։࢝ɿ20072݄28ʢਫʣ • ར༻ରऀɹɹɿશΠϯλʔωοτϢʔβʔ • ̧̡̪ɹɹɹɹɿhttp://timeline.nifty.com/ 6
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. αʔϏε֓ཁ •
λΠϜϥΠϯ࡞ػೳ • ୭ͰແྉͰλΠϜϥΠϯʢʹදʣ͕࡞Ε·͢ • ΞΫηείϯτϩʔϧػೳɹ • ࣗͱ༑ୡ͚͕ͩॻ͖ࠐΊΔλΠϜϥΠϯͳͲ • ϒϩάύʔπػೳ • ࣗͷϒϩάʹλΠϜϥΠϯΛʂ • Ϣʔβʔؒίϛϡχέʔγϣϯػೳ • ίϝϯτɺλάɺϒοΫϚʔΫ 7
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ͨͱ͑ @nifty
TimeLineͷྺ࢙ Rubyͷྺ࢙ɺ ͦͷଞɿ 8
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ϦϦʔεޙͷԠ •
SBM,weblogͰͷԠɹɹɹɹɹɹɹɹɹɹ →ͯϒɿ590users!ɹɹɹɹɹɹɹɹɹɹɹ ɹ ɹ ɹ ɹ ɹ ɹ ɹ →ʮχϑςΟΒ͘͠ͳ͍αʔϏεʯ ɹ→Geekͳํ͔ΒҰൠͷਓͷใͷྲྀΕ • ࢥ͍͔ͭͳ͔͍ͬͨํΛ͢ΔϢʔβʔ →ʮҿΈձʯλΠϜϥΠϯ →ΞεΩʔΞʔτΛ࡞ͬͨΓ • ϑΟʔυόοΫɺػೳཁ͕ଟ 9
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. TIME +
CGM ৽͍͠։ൃख๏ ৽͍͠ίϛϡχςΟ τϥΠΞϧͱͯ͠@nifty TimeLineΛ։ൃ ɹ Ruby + Ruby on Rails ͳͥ࡞ͬͨͷ͔ʁ 10
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ։ൃʹ͍ͭͯ ɹ
Ruby + Ruby on Rails 11
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ͳͥ Rails
ಋೖʹ͍ͨͬͨͷ͔ʁ • اըʗ։ൃҰମܕͷτϥΠΞϧ • ٕज़ܥࣾһͷٕज़ྗ্ • Web։ൃϓϥοτϑΥʔϜͷબఆ 12
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ࣮ࡍͷಋೖ·ͰͷಓͷΓ (1)
தʮ࠷ॳ͔Β࠷ޙ·ͰαʔϏε࡞Γ͍ͨʯ (2) த͕ NaClओ࠵ͷRailsηϛφʔΛड͚Δ (3)ʮRailsΓ·͠ΐ͏ʂʯͱۙ͘ʹ͍ͨळˍాʹ Λ͔͚Δ (4) NaCl͞Μͱि̍ݚमΛ̐ճΔ (5) ʮ͓ʁʯͱ͍͏͜ͱͰTimeLine (6) ݚमͰϓϩτ࡞ɺվमͯ͠ϦϦʔεʂ (7) Ͱ࣭ʹؾΛ͍·ͨ͠ʢ“χϑςΟ”ʣ 13
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ։ൃελΠϧ •
ຊۀͷ߹ؒ ΈΜͳຊۀΛ࣋ͪͳ͕Βɻ • ʮ༵Railsͷʯ ฐࣾϥϘϧʔϜʹͬͯ͜։ൃ • ΞδϟΠϧ։ൃ اըཁ݅ఆٛʹ࣌ؒΛ͔͚ͣʹͱΓ͋͑ͣ࡞ͬͯΈΔ →ʮΈΜͳͰ࡞ΕΔλΠϜϥΠϯʯॳͷاըʹೖͬͯͳɹ ɹ ɹ ɹ ɹ ɹɹ͔ͬͨ 14
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. γεςϜߏ ֤छσʔλʹ͍ͭͯ
15
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. 7% 8%
10% 11% 29% 35% NaCl͞Μ ຖि༵ͱ ௨ৗۀͷ ۭ͍ͨ࣌ؒ ্࢘ͷཧղ ·ͭͱ Ώ͖ͻΖ͞Μ Dave Thomas͞Μ TimeLineͳʹͰͰ͖͍ͯΔ͔ 16
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. αʔόߏ Apache2.0
+mod_proxy Apache2.0+FastCGI +Rails1.1.6 MySQL4 DBαʔό ※β൛ͷͨΊɺεϐʔυॏࢹͰ̍ผ్ίʔϧυελϯόΠ Railsαʔό Web/Proxyαʔό ʢFlash/blogpartsɺ੩తίϯςϯπʣ ×̎ ×̎ ×̍ FileServer LoadBalancer ιʔεʗը૾ ΩϟογϡϑΝΠϧ ͳͲΛڞ༗ 17
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ͦͷଞͷσʔλ •
ొϢʔβɿ3,000໊ • ొλΠϜϥΠϯɿ2,500݅ • ొهࣄɿ35,000݅ 18
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ͦͷଞͷσʔλ •
Controllersɿ12+6ʢཧऀػೳʣɺModelsɿ8ɺ Helpersɿ8ɺViewsɿ116ɺPluginsɿ7 • ιʔείʔυɿ8,000ߦʢviewΛআ͘ʣ • ͍ΘΏΔ ਓ݄Ͱࢉɿ̐ʙ̑ਓ݄͘Β͍ʁ • ࣾһ3໊ʴNaCl༷2໊ʴFlasher1໊ʴσβΠφʔ໊̎ͷɺ શһ݉ମ੍ ※্هαʔϏεϦϦʔε࣌ 19
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ෛՙରࡦ •
Ωϟογϡ(fragment caching) • ҰཡܥϖʔδΛத৺ʹɻ • DBνϡʔχϯά • BlogParts༻νϡʔχϯά • Proxyαʔόɺxmlͷpage caching 20
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ࠓޙͷల։ •
ϢʔβʔͷΛͰ͖Δ͚ͩૣ͘۩ݱԽ͢Δ • “ࣗΒ͠͞”ΛදݱͰ͖Δπʔϧʹ • ଞͷαʔϏεͱͷ࿈ܞࢹʹ 21
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ࠷ޙʹ •
χϑςΟɺRailsͰͷ։ൃΛ ࢝Ί·ͨ͠ʂ • ͠ػձ͕͋ΕɺҰॹʹ։ൃ͠·ͤΜ͔ʂʂʂ ʢਓࡐืूதʂʣ • ΒɺRailsͰͷ։ൃΛ ָ͠ΜͰ·͢ʂʂ 22
Copyright (c) 2007 NIFTY Corporation. Some Rights Reserved. ͝ਗ਼ௌ͋Γ͕ͱ͏ ͍͟͝·ͨ͠
23