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
actix-webを使った開発のハマリポイントを避けたい
Search
Kentaro Matsumoto
October 06, 2022
Programming
0
990
actix-webを使った開発のハマリポイントを避けたい
This slide was played on
https://estie.connpass.com/event/259713/
Kentaro Matsumoto
October 06, 2022
Tweet
Share
More Decks by Kentaro Matsumoto
See All by Kentaro Matsumoto
Marpを使って登壇資料を作る
matsu7874
0
360
Generate a rust client code by OpenAPI Generator
matsu7874
0
290
ざっと理解するRust 2024 Edition
matsu7874
0
600
プリントデバッグを失敗させないテクニック
matsu7874
1
290
社外を巻き込んだ勉強会を定期開催するコツ
matsu7874
0
160
our test strategy on actix-web app
matsu7874
0
1.4k
roadmap to rust 2024
matsu7874
0
2k
Rust tutorial for Pythonista
matsu7874
2
1.2k
Mock testing with mockall
matsu7874
0
330
Other Decks in Programming
See All in Programming
Symfony Mapper Component
soyuka
2
730
Semantic Kernelのネイティブプラグインで知識拡張をしてみる
tomokusaba
0
180
42 best practices for Symfony, a decade later
tucksaun
1
180
命名をリントする
chiroruxx
1
410
Haze - Real time background blurring
chrisbanes
1
510
責務を分離するための例外設計 - PHPカンファレンス 2024
kajitack
3
690
103 Early Hints
sugi_0000
1
230
Recoilを剥がしている話
kirik
5
6.7k
PSR-15 はあなたのための ものではない? - phpcon2024
myamagishi
0
110
useSyncExternalStoreを使いまくる
ssssota
6
1k
採用事例の少ないSvelteを選んだ理由と それを正解にするためにやっていること
oekazuma
2
1k
快速入門可觀測性
blueswen
0
350
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Building an army of robots
kneath
302
44k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
4 Signs Your Business is Dying
shpigford
181
21k
Put a Button on it: Removing Barriers to Going Fast.
kastner
59
3.6k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
26
1.5k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
247
1.3M
Building Better People: How to give real-time feedback that sticks.
wjessup
365
19k
A Tale of Four Properties
chriscoyier
157
23k
For a Future-Friendly Web
brad_frost
175
9.4k
Transcript
BDUJYXFCΛͬͨ։ൃͷϋϚϦϙΠϯτΛආ͚͍ͨ 3VTUɺԿΘ͔Βͳ͍
ࣗݾհ দຊ݈ଠ !NBUTV FTUJF4PGUXBSF&OHJOFFS ૣҴాେֶ࣏ܦࡁֶ෦ଔɻ ΑΓϑΥϧγΞגࣜձࣾʹͯ 8FCΤϯδχΞͱͯ͠ۈɻ ΑΓFTUJFʹࢀըɻ ʰ࣮ફ3VTUϓϩάϥϛϯάೖʱڞஶɻ
3VTUͰ8FC։ൃͲ͏Ͱ͔͢ʁ ʮίϯύΠϧ͑͞௨Εظ௨Γಈ͘ͷͰʜʜʯ
3VTUͰ8FC։ൃͲ͏Ͱ͔͢ʁ ʮίϯύΠϧ͑͞௨Εظ௨Γಈ͘ͷͰʜʜʯ ˢॻ͍ͯ͋Δ௨Γʹಈ͖·͢ ˞֎෦ͷϥΠϒϥϦͬͯͳ͍ؒظ௨Γʹಈ͍ͯ͘ΕΔΜͰ͚͢ͲͶ
actix-webΛͬͨ։ൃʹ׳Ε͍ͯͳ͍ͱ ͠ΐ͏ͳ͍ϛεͰϋϚͬͯ͠·͏͜ͱ͕͋Δ
WebΞϓϦͷͬ͘͟Γͱͨ͠ಈ͖Λ͓͞Β͍
ͬ͘͟Γ8FCΞϓϦͷࣄ • ϦΫΤετΛड͚औΔ • %#ʹΫΤϦΛൃߦͯ͠ • Λฦ͢
BDUJYXFCΛͬͯॻ͔ΕͨΞϓϦ͕͋Δ
݁߹ςετॻ͔Ε͍ͯΔ
UBTLΛొग़དྷΔΑ͏ʹ͍ͨͧ͠ʂ ݁ߏΔ͜ͱ͋ΔΑʂ • 63-ܾΊͯ • ΠϯλʔϑΣΠεʢΠϯϓοτɾΞτϓοτʣܾΊͯ • ܕॻ͍ͯ •
%#ܨ͍Ͱ • ςετʂ デモへ
ίϯύΠϧ͕௨ͬͯέΞϨεϛεͰظ௨Γͷಈ͖Λ͠ͳ͍έʔε͕༗Δ • 63-ΛUZQP͍ͯ͠·ͤΜ͔ • TFSWJDFొ࿙Ε͍ͯ·ͤΜ͔ʁ • ϦΫΤετϝιουਖ਼͍͠Ͱ͔͢ʁ • ύϥϝʔλͷܗࣜʢ+TPOɺ2VFSZɺ1BUIʣਖ਼͍͠Ͱ͔͢ʁ
• ύϥϝʔλͷ༰ਖ਼͍͠Ͱ͔͢ʁ
logΛݟΑ͏
ϩάΛݟΑ͏ • ϩΨʔΛઃఆ͠·͠ΐ͏ • FOW@MPHHFSͳΒ3645@-0(EFCVHDBSHPSVO • ςετผͷ࣮ߦϑΝΠϧͳͷͰϩΨʔͷॳظԽ͕ඞཁ
࠷ॳʹ࣮ߦ͞Εͨςετ͚ͩͰϩΨʔͷઃఆ͕Ͱ͖ΔΑ͏ʹڞ௨ؔԽ͢Δ https://docs.rs/env_logger/latest/env_logger/#capturing-logs-in-tests
• εςʔλείʔυΛݟΑ͏ • 3645@-0(EFCVHͰϩάΛݟΑ͏ • యܕϋϚΓϙΠϯτΛετοΫ͠Α͏ FTUJFશྗ࠾༻த ΦϯϘʔσΟϯά͕ΜΓ·͢ʂ ·ͱΊ