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
Fastly Meetup #2 LT
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
tjun
April 16, 2019
Technology
5.9k
0
Share
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
18k
CloudNative環境におけるトラブルシューティングガイド / CloudNative Days Tokyo 2023
tjun
6
2.5k
2023-12-07 SRE Talk クラウドと長く付き合う
tjun
0
250
インシデント対応を改善しよう/2024 TechFeed Experts Night 17
tjun
1
530
メルペイにおけるマイクロサービス運用の苦労と改善 / CloudNative Days Tokyo2020
tjun
16
4.6k
Incident Response / infra study 3
tjun
3
3.6k
絶え間なく変化するメルカリ・メルペイにおけるSREの組織と成長 / SRE Next 2020
tjun
6
20k
メルペイのマイクロサービスとCloud Native / CloudNative Days Kansai2019
tjun
22
23k
メルペイを支えるGKEとCloud Spanner / 2019 Google Cloud Architect Night 1
tjun
1
2.5k
Other Decks in Technology
See All in Technology
I ran an automated simulation of fake news spread using OpenClaw.
zzzzico
0
110
GitHub Advanced Security × Defender for Cloudで開発とSecOpsのサイロを超える: コードとクラウドをつなぐ、開発プラットフォームのセキュリティ
yuriemori
1
120
AIエージェント勉強会第3回 エージェンティックAIの時代がやってきた
ymiya55
0
200
SSoT(Single Source of Truth)で「壊して再生」する設計
kawauso
2
410
OpenClaw初心者向けセミナー / OpenClaw Beginner Seminar
cmhiranofumio
0
170
タスク管理も1on1も、もう「管理」じゃない - KiroとBedrock AgentCoreで変わった“判断の仕事”
yusukeshimizu
0
160
20260323_データ分析基盤でGeminiを使う話
1210yuichi0
0
210
Cortex Codeでデータの仕事を全部Agenticにやりきろう!
gappy50
0
100
CloudFrontのHost Header転送設定でパケットの中身はどう変わるのか?
nagisa53
1
240
第26回FA設備技術勉強会 - Claude/Claude_codeでデータ分析 -
happysamurai294
0
320
開発チームとQAエンジニアの新しい協業モデル -年末調整開発チームで実践する【QAリード施策】-
kaomi_wombat
0
290
昔話で振り返るAWSの歩み ~S3誕生から20年、クラウドはどう進化したのか~
nrinetcom
PRO
0
130
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.8k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
122
21k
Faster Mobile Websites
deanohume
310
31k
Statistics for Hackers
jakevdp
799
230k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
35
2.4k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.8k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
94
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.6k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
440
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
260
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
320
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.1k
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