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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
tjun
April 16, 2019
Technology
6k
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
20k
CloudNative環境におけるトラブルシューティングガイド / CloudNative Days Tokyo 2023
tjun
6
2.7k
2023-12-07 SRE Talk クラウドと長く付き合う
tjun
0
270
インシデント対応を改善しよう/2024 TechFeed Experts Night 17
tjun
1
590
メルペイにおけるマイクロサービス運用の苦労と改善 / 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
Snapshot Testing in Practice: Predictable and Reliable SwiftUI Views
fespinoza
0
220
スキマバイトという雇用形態は存在しないので、雇用期間1日のアルバイト契約を事業者とワーカーが結ぶ手続きを支えるのがタイミーなんです
akitoshiga
0
180
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3k
不可逆な意思決定を避けながら10億超の顧客データを AI Ready にするデータ基盤設計
baseballyama
1
320
Running Kotlin + Quarkus with Lambda
nealle
1
3k
今さら理解するウェブフォントver.2026
takanorip
3
710
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
430
AI時代のPRレビューにどう向き合うか?
kairim0
1
230
夫婦で子育てするための育児標準化
codmoninc
PRO
0
210
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
150
会社説明資料
persolserverworks
0
9.7k
アウトプット初心者、半年間のふりかえり
4o1sobblue
0
390
Featured
See All Featured
From π to Pie charts
rasagy
1
400
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
A better future with KSS
kneath
240
18k
Producing Creativity
orderedlist
PRO
348
41k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
470
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
930
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
530
Context Engineering - Making Every Token Count
addyosmani
9
1.2k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.5k
Writing Fast Ruby
sferik
630
63k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
300
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