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
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
Data Hubグループ 紹介資料
sansan33
PRO
0
2.9k
Standards et agents IA : un tour d’horizon de MCP, A2A, ADK et plus encore
glaforge
0
170
Rebirth of Software Craftsmanship in the AI Era
lemiorhan
PRO
4
2k
AIを共同作業者にして書籍を執筆する方法 / How to Write a Book with AI as a Co-Creator
ama_ch
2
130
No Types Needed, Just Callable Method Check
dak2
1
1.2k
こんなアーキテクチャ図はいやだ / Anti-pattern in AWS Architecture Diagrams
naospon
1
450
20260423_執筆の工夫と裏側 技術書の企画から刊行まで / From the planning to the publication of technical book
nash_efp
3
400
AzureのIaC管理からログ調査まで、随所に役立つSkillsとCustom-Instructions / Boosting IaC and Log Analysis with Skills
aeonpeople
0
230
Hacobu Tech Deck
hacobu
PRO
0
110
Do Vibe Coding ao LLM em Produção para Busca Agêntica - TDC 2026 - Summit IA - São Paulo
jpbonson
3
120
Shipping AI Agents — Lessons from Production
vvatanabe
0
240
AI와 협업하는 조직으로의 여정
arawn
0
420
Featured
See All Featured
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
180
Faster Mobile Websites
deanohume
310
31k
Navigating the moral maze — ethical principles for Al-driven product design
skipperchong
2
340
Mind Mapping
helmedeiros
PRO
1
150
ラッコキーワード サービス紹介資料
rakko
1
3.1M
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
140
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
190
How GitHub (no longer) Works
holman
316
150k
What's in a price? How to price your products and services
michaelherold
247
13k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Skip the Path - Find Your Career Trail
mkilby
1
110
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
130
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