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
Hanamiを支える技術 2023 / Asakusa.rb Hanami 2023
Search
Akira Matsuda
October 15, 2023
Programming
2
560
Hanamiを支える技術 2023 / Asakusa.rb Hanami 2023
大江戸Ruby会議10のNinja Talk 「Hanamiを支える技術 2023」の発表スライド
http://regional.rubykaigi.org/oedo10
#oedo10
Akira Matsuda
October 15, 2023
Tweet
Share
More Decks by Akira Matsuda
See All by Akira Matsuda
初心者のためのRubyKaigi入門/RubyKaigi Introduction
a_matsuda
13
5.3k
Rails 7.1をn倍速くした話
a_matsuda
11
12k
RubyKaigi 2022 After Talk
a_matsuda
0
420
Coming Soon…💎 / coming soon
a_matsuda
12
7.9k
Rails Performance Issues and Solutions
a_matsuda
9
36k
Extending Rails for Real World App Development
a_matsuda
9
7.4k
A RubyKaigi Talk
a_matsuda
8
2.4k
Ginza Rails 1
a_matsuda
6
1.2k
Oedo 07
a_matsuda
8
940
Other Decks in Programming
See All in Programming
Beyond ORM
77web
11
1.5k
アクターシステムに頼らずEvent Sourcingする方法について
j5ik2o
6
650
生成AIでGitHubソースコード取得して仕様書を作成
shukob
0
590
DevFest - Serverless 101 with Google Cloud Functions
tunmise
0
130
Fibonacci Function Gallery - Part 1
philipschwarz
PRO
0
260
歴史と現在から考えるスケーラブルなソフトウェア開発のプラクティス
i10416
0
230
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
720
20241217 競争力強化とビジネス価値創出への挑戦:モノタロウのシステムモダナイズ、開発組織の進化と今後の展望
monotaro
PRO
0
200
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
340
Запуск 1С:УХ в крупном энтерпрайзе: мечта и реальность ПМа
lamodatech
0
850
20年もののレガシープロダクトに 0からPHPStanを入れるまで / phpcon2024
hirobe1999
0
960
各クラウドサービスにおける.NETの対応と見解
ymd65536
0
230
Featured
See All Featured
Making Projects Easy
brettharned
116
6k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Designing for Performance
lara
604
68k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
Keith and Marios Guide to Fast Websites
keithpitt
410
22k
RailsConf 2023
tenderlove
29
960
Making the Leap to Tech Lead
cromwellryan
133
9k
Why Our Code Smells
bkeepers
PRO
335
57k
Faster Mobile Websites
deanohume
305
30k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
191
16k
Raft: Consensus for Rubyists
vanstee
137
6.7k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
330
Transcript
)BOBNJΛࢧ͑Δ ٕज़ !B@NBUTVEBେߐށ3VCZձٞ
TFMG 🐼 RubyKaigi 🐼 Ruby 🐼 💎 🐼 Rails 🐼
WEB+DB PRESSͱࢲ 🐼 Asakusa.rb
3VCZ,BJHJ
3VCZ,BJHJ 🐼 https:/ /rubykaigi.org/2024/
3VCZ,BJHJ
3VCZ,BJHJ 🐼 σβΠφʔେืूதʂʂ
3VCZ
💎
⚡ 🐼 https:/ /github.com/kaminari/ kaminari
⚡
3BJMT
3BJMTͬͯΔਓʁ 🐼 ✋
3BJMTҎ֎ͷ3VCZͷϑϨʔϜϫʔΫͬͯΔ ਓʁ 🐼 ✋
3BJMT
8&# %#13&44ͱࢲ 🐼 Vol. 48 ಛू1ͷRubyฤ 🐼 Vol. 54 ͳΜ͔͍هࣄ
🐼 Vol. 58 Rails 3ಛू 🐼 Vol. 73 Rails 4ಛू 🐼 Vol. 100 ײಈͷ100߸ه೦ΤοηΠ 🐼 Vol. 111 Rails 6ಛू 🐼 Vol. 120 20पه೦اը
"TBLVTBSC
ʹઃཱ
ࠓͰ"TBLVTBSCઃཱपʂ 🐼 👏
"TBLVTBSCԿΛ͍ͬͯΔͷ͔ʁ
.FFUVQ 🐼 ຖि 🐼 ຊ͕736ճ
Ҭ3VCZձٞ 🐼 ʰେߐށRubyձٞʱ 🐼 ϝϯόʔͨͪͷੜ׆ൃදձ 🐼 1ʙ2ʹ1ճ͙Β͍ 🐼 ࠓճ͕10ճ
ͦΕҎ֎ʹຖͬͯΔେࣄͳΠϕϯτ
ͦΕҎ֎ʹຖͬͯΔେࣄͳΠϕϯτ 🐼 ৽ձ 🐼 Ֆݟ
৽ձ 🐼 ͷॳΊʹͪΐͬͱߴ͓͍͍ͯ͘͠ ͷΛ৯ΔΠϕϯτ
ࠓ༽ͷؙম͖
Ֆݟ 🐼 🌸ͷ࣌ظʹɺ۱ాͷͬΓʹே͔ Βू·ͬͯҿΉΠϕϯτ 🐼 20094݄Ҏ߱ຖ։࠵
"TBLVTBSC)BOBNJͷྺ࢙ 🐼 2009: 2009/03/29 http:/ /atnd.org/events/466 🐼 2010: 2010/03/27 http:/
/tweetvite.com/event/asakusarb_hanami2010 🐼 2011: 2011/04/02 http:/ /partake.in/events/382d18dc-88e1-4732-8b92-f9d26 ff e7e4a 🐼 2012: 2012/04/14 http:/ /qwik.jp/asakusarb/hack153.html 🐼 2013: 2013/03/30 https:/ /asakusarb.doorkeeper.jp/events/3362 🐼 2014: 2014/03/29 https:/ /connpass.com/event/5664/ 🐼 2015: 2015/04/04 https:/ /peatix.com/event/82419 🐼 2016: 2016/03/26 https:/ /asakusarb.esa.io/posts/9 🐼 2017: 2017/04/02 https:/ /asakusarb.esa.io/posts/823 🐼 2018: 2018/03/24 https:/ /asakusarb.esa.io/posts/875 🐼 2019: 2019/03/30 https:/ /techplay.jp/event/724321 🐼 2020: 2020/03/30 https:/ /atnd.org/events/112150 🐼 2021: ͳ͠ 🐼 2022: ͳ͠ 🐼 2023: 2023/03/21: https:/ /asakusarb.esa.io/posts/1137
աڈͷ༷ࢠ
ࠓͷຊ
)BOBNJͷઃܭͱ࣮
)BOBNJͷجຊཁ݅ 🐼 🐼 ࡩ͕ຬ։ʹͳΔΑΓͪΐͬͱલ͙Β͍ͷ࣌ظ 🐼 ே͔Β࢝ΊΔ(͡Όͳ͍ͱॴ͕औΕͳ͍) 🐼 ·ͰμϥμϥҿΉ 🐼
ͨ·ʹӍ͕߱Δ
🐼 օ͞ΜɺͰҿΉͷ͖Ͱ͢ΑͶʁ
)BOBNJͷجຊཁ݅ 🐼 🐼 ࡩ͕ຬ։ʹͳΔΑΓͪΐͬͱલ͙Β͍ͷ࣌ظ 🐼 ே͔Β࢝ΊΔ(͡Όͳ͍ͱॴ͕औΕͳ͍) 🐼 ·ͰμϥμϥҿΉ 🐼
ͨ·ʹӍ͕߱Δ
ͭ·Γɺ 🐼 ͕͍࣌ؒ 🐼 פ͍ʂ
T🍺🍶H
ञ७ถɺᗎͳΒͳ͓ྑ͠
🍶
♨
🔌
🔥
None
ٯڥͩʂʂ
͍ͯ͏͔
੍ͩͬʂʂ
੍ 🐼 "Constraints are liberating" (DHH)
੍ϑϨʔϜϫʔΫ
ʮ)BOBNJϑϨʔϜϫʔΫʯ
ʮ)BOBNJϑϨʔϜϫʔΫʯ 🐼 ՐΛΘͣʹɺ12͙࣌ؒΒ͍Ϳͬଓ͚ ͰɺͰᗎΛҿΉٕज़
ඍົͳϥΠϯ
ΧηοτίϯϩɺΞτυΞ༻ͷόʔφʔྨ 🐼 🙅
)BOBNJΛࢧ͑Δٕज़ᶃ
ੜੴփ
ԽֶతΞϓϩʔν 🐼 ੜੴփ + ਫ => ♨
ܞଳ͓͔Μث
"TBLVTBSCՖݟͰ͜ͷٕज़͕ಋೖ͞Εͨͷ ɺʙ͝Ζ
%FNP
͜ͷΞϓϩʔνͷ 🐼 ਫ͕ҰॠͰಅͯ͠͠·͏ 🐼 Ԡ͕͔ؒ͠ଓ͔ͳ͍ 🐼 ࡉ͔͍Թཧ͕Ͱ͖ͳ͍
)BOBNJΛࢧ͑Δٕज़ᶄ
ిௐཧͱͯ͠ͷᗎ͚
Թௐཧث"OPWB 🐼 քʹֵ໋͕ىͬͨͭ͜ 🐼 ຊञͷ🍶0.5୯ҐͰͷԹίϯτ ϩʔϧ͕Մೳʹͳͬͨ 🐼 ҰൠՈఉͰ࣭ͷอͨΕͨᗎΛ͚ͭΔ ʹɺ͜ͷ্ͳ͍σόΠε
"TBLVTBSCͷΠϕϯτͳͲͰʙ ͝Ζ͔ΒΘΕ͡Ίͨ
"OPWB 🐼 ͔Μ͚͢ΛΘͣͱಉͷΞτϓο τ͕ग़ͤΔ 🐼 ܞଳੑʹ༏ΕΔ 🐼 ͍ͭͰʹௐཧͰ͖Δ
"OPWB 🐼 ͜ΕΛHanamiϑϨʔϜϫʔΫʹಋೖ ͢ΕͰ🍶͕ವΊΔͷͰʂʁ
)BOBNJΛࢧ͑Δٕज़ᶅ
ిݯ
ཁ݅ 🐼 Ͱ🍶Λిௐཧ͍ͨ͠
ࡂ࣌༻ͷϙʔλϒϧόοςϦʔ
͜͏͍͏ͭ
"OPWBΛͭͳ͛ͯεΠονΦϯʂ
ͱ͜Ζ͕ɺ
ҰॠͰిݯམͪΔ
ࣦഊ
Կނ͔ʁ
"OPWBͷܽ 🐼 ΊͬͪΌిؾ৯͏ 🐼 1000W͙Β͍ඞཁ 🐼 ສԁΫϥεͷϙʔλϒϧόοςϦʔ ͷిྗͰͥΜͥΜແཧ
͖ͬ͞ͷ"OLFS1PXFS)PVTFͷεϖο Ϋ
͖ͬ͞ͷ"OLFS1PXFS)PVTFͷ߹ 🐼 100W͕max
ͬͱফඅిྗͰ͓౬Λ͔ͤΔσόΠε ͳ͍ͷ͔ʁ
ͱɺࢥ͍ͬͯͨͱ͜Ζɺʹಥٹੈ ओ͕ొʂ
)BOBNJΛࢧ͑Δٕज़ᶆ
ञᗎثͷΜ͑ԣஸ /#& 🐼 https:/ /www.ginzado.ne.jp/ ~mitsutani/cooking_coner/ nbe-1.html
ͷΜ͑ԣஸͷεϖοΫ
ͷΜ͑ԣஸͷεϖοΫ 🐼 ͓౬Λ100℃·Ͱ͔͢͜ͱͰ͖ͳ͘ ͯɺ࠷େ60℃·Ͱɺͱ͍͏🍶ʹಛԽ͠ ͨΨδΣοτ 🐼 ফඅిྗͨͬͨͷ200Wʂ
8ͷిྗ 🐼 ͖ͬ͞ͷPower House 200Ͱແཧ 🐼 Ͱɺ͏ͪΐͬͱ͔ͪΒͮΑ͍όο ςϦʔΛങ͍͍͚͑ͩ
)BOBNJΛࢧ͑Δٕज़ᶇ
🔋 🐼 Battery is found in me!
͕࣋ͬͯΔͭ͜Ε
"OLFS1PSUBCMF1PXFS4UBUJPO 🐼 https:/ /www.ankerjapan.com/ collections/powerhouse/ products/a1751
"OLFS1PSUBCMF1PXFS4UBUJPOͷε ϖοΫ
͜ΕͳΒిྗָʑΫϦΞʂ
͔͠͠ɺॏ͍ʂ
͔͠͠ɺॏ͍ʂ
)BOBNJͰɺ͜ͷΫϥεͷ🔋͕جՔಇ 🐼 @tagomoris ϝϯόʔ͕ͬͱڧྗͳ ͭΛ࣋ࢀ
ϞϦε🔋
͞Βʹॏ͍ʂ
🔋ΜΓ 🐼 ͷΜ͑ԣஸͰ🍶͕͚ͭΕΔ 🐼 ͍ͭͰʹɺࡂ࣌ʹ҆৺Ͱ͖Δ 🐼 εϚϗͱ͔ύιίϯ͕ॆిͰ͖Δ
ͨͩ͠ɺΧδϡΞϧʹ࣋ͪา͘ʹॏ͗͢Δ 🐼 ࠊ͕ͿͬյΕͦ͏ͳ༧ײ……
)BOBNJΛࢧ͑Δٕज़ᶈ
ᗎʹͨ͠Β͓͍͍͠७ถञ
%FNP
)BOBNJΛࢧ͑Δٕज़ᶉ
Ϛοτ
ॳϖϥϖϥͷϒϧʔγʔτΛ໘ʹෑ͍ ͯͨ 🐼 ఈྫྷ͕͍͑͢͝ʂ
ͦ͜ͰΞτυΞ༻ͷϚοτΛಋೖ 🐼 ໘͔Βͷྫྷ͑ΛશʹγϟοτΞ τͰ͖ͯɺΊͬͪΌշదʹͳͬͨ 🐼 ΞτυΞ༻͍͢͝
)BOBNJΛࢧ͑Δٕज़ᶊ
🍕
ϖοΫ࠷ߴ 🐼 ઙΤϦΞ࠷ڧͷϐβ 🐼 ిͨ͠Β·Ͱಧ͚ͯ͘ΕΔ
)BOBNJΛࢧ͑Δٕज़ᶋ
͏ʹ
'VUVSF8PSLT
ͬͱফඅిྗͰ♨͍ͨ͠ 🐼 γΨʔιέοτ(12V or 24V)Λ͏ͭ ͱ͔
͋Δ͍ൃిʁ 🐼 ଠཅޫ 🐼 ۱ాͷਫྗ 🐼 ϞϦε͞ΜʹνϟϦϯίΛ૨͕ͤΔ 🐼 ͍ͬͨΜ͍ͯ͠·͑6Wఔʹ͓͑͞ΒΕΔ 🐼
ϒʔτετϥοϓ༻ͷ౬͚ͩຐ๏ළ͔ͳʹ͔Ͱ࣋ͬ ͯ͘ΕɺͦΜͳ͍͢͝όοςϦʔෆཁʁͳͷ͔ʁ
·ͱΊ 🐼 AsakusaͷHanamiϑϨʔϜϫʔΫͩ
·ͱΊ 🐼 य़ʹͳͬͨΒͰವ͏ͥʂ
FOE