Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Fastly Meetup #2 LT
Search
tjun
April 16, 2019
Technology
5.9k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Fastly Meetup #2 LT
- Fastly monitoring at merpay
- Fastlyで404をキャッシュしてハマった話
tjun
April 16, 2019
More Decks by tjun
See All by tjun
SREとしてスタッフエンジニアを目指す / SRE Kaigi 2025
tjun
17
19k
CloudNative環境におけるトラブルシューティングガイド / CloudNative Days Tokyo 2023
tjun
6
2.6k
2023-12-07 SRE Talk クラウドと長く付き合う
tjun
0
270
インシデント対応を改善しよう/2024 TechFeed Experts Night 17
tjun
1
570
メルペイにおけるマイクロサービス運用の苦労と改善 / CloudNative Days Tokyo2020
tjun
16
4.7k
Incident Response / infra study 3
tjun
3
3.8k
絶え間なく変化するメルカリ・メルペイにおけるSREの組織と成長 / SRE Next 2020
tjun
6
21k
メルペイのマイクロサービスとCloud Native / CloudNative Days Kansai2019
tjun
22
23k
メルペイを支えるGKEとCloud Spanner / 2019 Google Cloud Architect Night 1
tjun
1
2.6k
Other Decks in Technology
See All in Technology
AIによるクリエイティブ生成を行う上での試行錯誤
plaidtech
PRO
0
160
Goodbye ShellScript, Hello File-based App
shunsock
0
310
AI 時代のスタートアップエコシステ厶から考究する技術的負債との向き合い方
m3m0r7
PRO
3
2.3k
AI時代、データエンジニアが一番おもろい
genshun9
0
670
越境するなら専門用語を使うな高校校歌 / If you wanna cross border, you shouldn't use jargon
vtryo
0
150
現場で役立つ技術負債の効果的な返済方法
masuda220
PRO
9
4.6k
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
230
【技術的負債conf】事業成長に伴う技術的負債の説明責任とAIによるモニタリング、認知的負債について
i35_267
3
1.8k
技術的負債から考える、AI時代のエンジニアリング投資 — ビズリーチの技術的負債と向き合った経験から、変更し続けられるソフトウェアを考える/ technical-debt-con2026
visional_engineering_and_design
4
3.2k
ソフトウェアDNAとクラウドエージェントのススメ
cloudace
0
120
Cloudflare Workers 向けアプリを C# で構築する ~WASM Native AOT への道~
nenonaninu
1
490
Minecraft JavaのMODをSwiftで作る
1mash0
0
180
Featured
See All Featured
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
990
The Anti-SEO Checklist Checklist. Pubcon Cyber Week
ryanjones
0
250
Building an army of robots
kneath
307
46k
Optimising Largest Contentful Paint
csswizardry
37
4k
A designer walks into a library…
pauljervisheath
211
25k
Breaking role norms: Why Content Design is so much more than writing copy - Taylor Woolridge
uxyall
1
410
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
1
910
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.3k
Amusing Abliteration
ianozsvald
1
310
The agentic SEO stack - context over prompts
schlessera
0
940
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
Making the Leap to Tech Lead
cromwellryan
135
10k
Transcript
@tjun merpay SRE team
日本最大のフリマアプリを提供する株式会社メ ルカリのグループ会社である株式会社メルペイ が運営するスマホ決済サービスです。 使わなくなったものをメルカリで売って得た売上 金や、銀行口座からチャージしたお金を、「メル カリ」やお店でのお支払いにご利用頂けます。 現在は iD決済とコード決済に対応しています。
3 Clients Merpay Gateway ServiceA ServiceB ServiceC GKE (Kubernetes) Fastly
Ingress
Fastly Integration (METRIC COLLECTION) in Datadog https://docs.datadoghq.com/integrations/fastly/ Metrics example: -
latency - cache hit rate - Request count - status
Log streaming: Google BigQuery https://docs.fastly.com/guides/streaming-logs/log-streaming-google-bigquery We sometimes run queries with
status_code, response_time, host, path, timestamp to detect errors, slow endpoints. Query example SELECT * FROM `project.fastly.default` WHERE host = "example.com" AND response_time >= 10000 AND timestamp > "2019-03-30 02:00:00" LIMIT 1000
Next step: We want to try Fastly Integration (LOG COLLECTION)
in Datadog https://docs.datadoghq.com/integrations/fastly/
@tjun merpay SRE team で が キャッシュされてしまった話
8 Clients Merpay Gateway ServiceA ServiceB ServiceC GKE (Kubernetes) Fastly
Ingress
9 Merpay Gateway GKE (Kubernetes) namespaceA nginx replica set pods
nodejs Service nginx nodejs nginx nodejs
10 Fastly nginx new replica set pods nodejs ... nginx
nodejs nginx nodejs nginx pods nodejs nginx nodejs nginx nodejs old replica set Client
11 Fastly nginx new replica set pods nodejs Service nginx
nodejs nginx nodejs nginx pods nodejs nginx nodejs nginx nodejs old replica set Client
• Do not host images on node.js microservices • Do
not cache 404 on this endpoit
まとめ 404 responseもキャッシュされるので気をつけましょう! We hiring!! Fastly使ってサービス作りたいSREを募集しています
14