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
ウォンテッドリーのインフラチームに加わってみて
Search
Kazuki Obata
November 20, 2024
Technology
0
14
ウォンテッドリーのインフラチームに加わってみて
Wantedly Tech Night 〜サービスを支えるインフラ/SRE技術〜
https://wantedly.connpass.com/event/332164/
Kazuki Obata
November 20, 2024
Tweet
Share
More Decks by Kazuki Obata
See All by Kazuki Obata
AWS CLI で気軽にコスト改善やってみた
donkomura
1
69
入門 KRR
donkomura
0
160
Other Decks in Technology
See All in Technology
Why App Signing Matters for Your Android Apps - Android Bangkok Conference 2024
akexorcist
0
120
[CV勉強会@関東 ECCV2024 読み会] オンラインマッピング x トラッキング MapTracker: Tracking with Strided Memory Fusion for Consistent Vector HD Mapping (Chen+, ECCV24)
abemii
0
220
IBC 2024 動画技術関連レポート / IBC 2024 Report
cyberagentdevelopers
PRO
0
110
フルカイテン株式会社 採用資料
fullkaiten
0
40k
強いチームと開発生産性
onk
PRO
33
11k
B2B SaaSから見た最近のC#/.NETの進化
sansantech
PRO
0
670
ハイパーパラメータチューニングって何をしているの
toridori_dev
0
140
サイバーセキュリティと認知バイアス:対策の隙を埋める心理学的アプローチ
shumei_ito
0
380
TypeScriptの次なる大進化なるか!? 条件型を返り値とする関数の型推論
uhyo
2
1.6k
rootlessコンテナのすゝめ - 研究室サーバーでもできる安全なコンテナ管理
kitsuya0828
3
380
ExaDB-D dbaascli で出来ること
oracle4engineer
PRO
0
3.8k
The Rise of LLMOps
asei
5
1.2k
Featured
See All Featured
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
4 Signs Your Business is Dying
shpigford
180
21k
A Tale of Four Properties
chriscoyier
156
23k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
27
4.3k
Building Applications with DynamoDB
mza
90
6.1k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
93
16k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Code Review Best Practice
trishagee
64
17k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Transcript
© 2024 Wantedly, Inc. ΥϯςουϦʔͷΠϯϑϥνʔϜ ʹՃΘͬͯΈͯ Wantedly Tech Night ʙαʔϏεΛࢧ͑ΔΠϯϑϥ/SREٕज़ʙ
Nov. 20 2024 - Kazuki Obata @donkomura
© 2024 Wantedly, Inc. ຊͷओ - ΥϯςουϦʔ Infra Squad ΛΔ
- ΥϯςουϦʔͷจԽɾงғؾΛײ͡Δ - VALUE ͱίϛϡχέʔγϣϯ - ۙ Join ͨ͠ࢲͷऔΓΈΛڞ༗ - ओʹ Observability ࢪࡦͷ͓
© 2024 Wantedly, Inc. ࣗݾհ ڊി थ (Obata Kazuki) @donkomura_
Wantedly, Inc. (2024/09 ~ ) ΠϯϑϥΤϯδχΞ #AWS #k8s #ࢄγεςϜ #storage #observability
© 2024 Wantedly, Inc. ࠓ͢͜ͱ - ֎ / ͔ΒݟͨΥϯςουϦʔ -
ೖࣾલޙͷ Wantedly - ଞʹͳ͍ັྗͱ՝ - จԽɾ৬ͷงғؾ - վળ͍ͨ͠ͱ͜Ζ - ೖࣾޙͷऔΓΈͱֶͼ - New Relic ͔Β Datadog ͷҠߦ
© 2024 Wantedly, Inc. ֎͔ΒݟͨΥϯςουϦʔ / ͔ΒݟͨΥϯςουϦʔ
© 2024 Wantedly, Inc. ೖࣾલʹݟ͍ͯͨ Wantedly - σβΠϯ͕͔͍͍ͬ͜ - KubernetesɾϚΠΫϩαʔϏε
- ϓϩμΫτج൫Λ EKS ʹҠߦ͠·ͨ͠ - ϚΠΫϩαʔϏεڞ௨ϥΠϒϥϦͰ “Governance through code” Λ࣮ݱ͢Δ - Go / Ruby - GoΛॻ͍ͯΈ͍ͨͱࢥ͍ͬͯΔֶੜ͞Μɻ͜ΕΛಡΊࠓ͙͢GoΛॻ͖ͨ͘ͳΔ ʢͣʂʣ#gocon ֶੜϒϩά·ͱΊ - ٕज़తʹઑͬͨूஂ ओ؍ଟΊͰ͢
© 2024 Wantedly, Inc. ೖࣾޙʹݟͨ Wantedly - ѻ͏ٕज़ɾͷ͕ଟذʹΘͨΔ - ͍͍ͷͦͷՁͳͲΛΑ͘આ໌্ͨ͠ͰऔΓೖΕ͍ͯ͘
- e.g. k8sɺSaaSɺϓϩάϥϛϯάݴޠɺCI/CD ύΠϓϥΠϯɺgRPC - ϚΠΫϩαʔϏε - Τϥʔௐٕࠪज़ελοΫ monolithic ͱҟͳΔ - ݸʑͷαʔϏεΠϯϑϥͷ͕ࣝඞཁʢΩϟονΞοϓʣ - Code Wins Arguments ❤ - ؾ͍ͨΒ͢ɾ՝ͱͯ͠·ͱΊΔจԽ - Team Geek ͷʮૉΒ͍͠νʔϜจԽΛ࡞Δʯʹ͍ۙ͠ - private ΄ͱΜͲͳ͍ Public ͳจԽ
© 2024 Wantedly, Inc. ଞʹͳ͍ັྗɾվળ͍ͨ͠ͱ͜Ζ - ັྗ - ѻ͏ٕज़ͷ෯͕͘ਂ͍ -
ϓϩδΣΫτͳͲͷॳಈ͕͍ - ෯͘ૉૣ͍ίϥϘϨʔγϣϯ - ΞϥʔτରԠͳͲͰҰ࣍ରԠ͕͍ɾૉૣ͘Ͱ͖Δڥ - վળ͍ͨ͠ͱ͜Ζ - ଐਓతͳͱ͜Ζ͋Δ - ՝ͷίϯςΩετ͕େ͖͍
© 2024 Wantedly, Inc. ۩ମྫ ೖࣾޙͷऔΓΈͱֶͼ
© 2024 Wantedly, Inc. New Relic ͔Β Datadog ͷҠߦ త
- Datadog ͱ New Relic Λซ༻ - ͍ͬͯΔػೳ΄΅ಉ͡ - ίετΛݮ͍ͨ͠ - New Relic ͱ Datadog Ͱඅ༻͕ೋॏʹൃੜ͍ͯ͠Δ - Observability ମݧΛू͢Δ - Datadog ʹ౷Ұ - Wantedly ʹͱͬͯ࠷దͳ Observability Λߟ͑Δ
© 2024 Wantedly, Inc. New Relic ͔Β Datadog ͷҠߦ -
தͰ APM ͷҠߦ͕େม - ظݶ·ͰʹඞͣऴΘΒ͍ͤͨ - ։ൃɾௐࠪͳͲ෯͘༻͍ΒΕ͍ͯΔͨΊ - ֤ॴͱີͳ࿈ܞ͕ඞཁ - ίʔυʹखΛՃ͑ͳ͚ΕͳΒͳ͍έʔε͕͋Δ - APMͱ - ΞϓϦέʔγϣϯͷϨΠςϯγ ΤϥʔΛࢹ͢ΔͨΊͷΈ - ࢄτϨʔγϯάΛ࣮ݱ͍ͯ͠Δ - ϦΫΤετશମͷύϑΥʔϚϯεΛՄࢹԽ ྫ: APM (Application Performance Monitoring) https://docs.datadoghq.com/ja/tracing/glossary/ τϨʔε εύϯ
© 2024 Wantedly, Inc. New Relic ͔Β Datadog ͷҠߦ 1.
Datadog APM ʹτϨʔεΛૹ৴ - OpenCensus with Datadog APM - OpenCensus ݱࡏ deprecated ͳαʔϏε - dd-trace 2. New Relic APM Λഇࢭ͢Δ - ϥΠϒϥϦͷܭ Λআ٫͢Δ - New Relic ͷτϨʔεͷૹ৴ΛΊΔ How
© 2024 Wantedly, Inc. New Relic ͔Β Datadog ͷҠߦ -
dd-trace-go ʹΑΔܭΛࢪ͢ ࣮ // τϨʔεΛ։࢝͢Δ tracer.Start( tracer.WithAgentAddr("host:port")), tracer.WithServiceName("wantedly"), tracer.WithEnv("production"), ) defer tracer.Stop() // εύϯΛੜ͢Δ span, ctx := tracer.StartSpanFromContext(ctx, operationName, tracer.ChildOf(sctx)) defer span.Finish()
© 2024 Wantedly, Inc. New Relic ͔Β Datadog ͷҠߦ -
New Relic ͷܭΛ֎͢ - εύϯͷੜΛΊΔ - τϨʔεΛ New Relic ʹૹ৴͠ͳ͍ - servicex ͷػೳͰ࣮ࢪ - NEWRELIC_ENABLED: 0 # εύϯͷੜΛΊΔ - nrtx := newrelic.FromContext(ctx) - defer newrelic.StartSegment(nrtx, segmentName).End() New Relic APM ͷഇࢭ
© 2024 Wantedly, Inc. New Relic ͔Β Datadog ͷҠߦ -
ಘͨͷɾֶͼ - ࢄτϨʔγϯάͷΈΛཧͰ͖ͨ - Datadog ౷Ұɾ։ൃऀؒͰମݧݟΛڞ༗Ͱ͖Δڥ - టष͘Ҡߦ͍ͯ͘͠ඞཁ͕͋Δ Code Wins Arguments, Get Things Done - plug-and-play ͳ࣮ʹͳ͍ͬͯΔͱخ͔ͬͨ͠ - Ͳ͜ʮྡͷνʔϜʯ One Team - ίϛϡχέʔγϣϯͷোน͕গͳ͍ - ՝ - Datadog ར༻ͷαϙʔτ - New Relic ͱମݧ͕ҟͳΔͨΊ։ൃऀ͚ͷαϙʔτΛ࣮ࢪ༧ఆ - Ͳ͜·ͰΞϓϦέʔγϣϯʹ࣮͢Δ͔ - Γ͗͢Δͱϝϯςφϯε͕େมʹͳΔ ֶͼͱࠓޙͷ՝
© 2024 Wantedly, Inc. ·ͱΊ
© 2024 Wantedly, Inc. ·ͱΊ ͨ͜͠ͱɺ͔͑ͨͬͨ͜ͱ - VALUE ͕͍ࠜͨձࣾ -
New Relic ഇࢭͷதͰײͨ͡ - ίϛϡχέʔγϣϯ͕͍ٞ͢͠ڥ - ૣ͘ಈ͚ΔɺΓ͖ΕΔ - ೖࣾޙͷऔΓΈͷҰྫΛհ - New Relic ഇࢭɾ Observability վળ - ·ͩ·ͩ໘ന͍՝͕ͨ͘͞Μ͋Δ - e.g. Observability ڧԽɺAWSڥཧɺϏϧυߴԽɺkubefork վળ