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
910
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
Generate a rust client code by OpenAPI Generator
matsu7874
0
170
ざっと理解するRust 2024 Edition
matsu7874
0
180
プリントデバッグを失敗させないテクニック
matsu7874
0
180
社外を巻き込んだ勉強会を定期開催するコツ
matsu7874
0
150
our test strategy on actix-web app
matsu7874
0
1.3k
roadmap to rust 2024
matsu7874
0
1.9k
Rust tutorial for Pythonista
matsu7874
2
1.1k
Mock testing with mockall
matsu7874
0
300
Write Postgres Extensions with Rust!
matsu7874
0
610
Other Decks in Programming
See All in Programming
What we keep in mind when migrating from Serverless Framework to AWS CDK and AWS SAM
kasacchiful
1
130
Scala におけるコンパイラエラーとの付き合い方
chencmd
1
150
Modular Monolith Go Server with GraphQL Federation + gRPC
110y
1
550
私のEbitengineの第一歩
qt_luigi
0
410
Rustではじめる負荷試験
skanehira
5
1.1k
労務ドメインを快適に開発する方法 / How to Comfortably Develop in the Labor Domain
yuki21
1
250
Polars を Kaggle コンペで使ってみた(LMSYS Chatbot Arena)
kohecchi
1
360
Mastering AsyncSequence - 使う・作る・他のデザインパターン(クロージャ、Delegate など)から移行する
treastrain
3
1.3k
Rubyのobject_id
qnighy
6
1.3k
Go Code Generation at newmo / 2024-08-27 #newmo_layerx_go
genkey6
0
510
フロントエンドカンファレンス北海道2024 『小規模サイトでも使えるVite 〜HTMLコーディングをよりスマートに〜』長谷川広武(ハム)
h2ham
1
2.5k
TypeScriptで 負荷テストを書こう 〜k6のシングルバイナリの秘密〜
dora1998
7
2.8k
Featured
See All Featured
A designer walks into a library…
pauljervisheath
201
24k
Build The Right Thing And Hit Your Dates
maggiecrowley
29
2.2k
Being A Developer After 40
akosma
82
580k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
25
1.3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
157
15k
Fashionably flexible responsive web design (full day workshop)
malarkey
400
65k
Thoughts on Productivity
jonyablonski
65
4.2k
What’s in a name? Adding method to the madness
productmarketing
PRO
21
3k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.2k
How GitHub (no longer) Works
holman
309
140k
Happy Clients
brianwarren
96
6.6k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
22
1.7k
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શྗ࠾༻த ΦϯϘʔσΟϯά͕ΜΓ·͢ʂ ·ͱΊ