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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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.7k
絶え間なく変化するメルカリ・メルペイにおける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利用の線を引いてみた / Where We Drew the Line on AI in Hands-on Training
honyanya
1
440
APIセキュリティを組織で実現するには~注力する点と設計・実装に入れたい対策~
riiimparm
2
720
ブラウザで変わるID連携(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
350
あなたの知らないバージョン命名規則
sat
PRO
2
850
Introduction to Sansan for Engineers / エンジニア向け会社紹介
sansan33
PRO
6
77k
Digital Credentials API × OpenID4VP ブラウザ完結型本人確認の実装知見(OAuth/OIDC Numa (Immersion) Workshop 2026)
oidfj
PRO
0
340
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
20k
Distributed Transactions Under Fire: Building a Zero-Oversell Flash Sale Platform with Amazon Aurora DSQL
yama3133
1
110
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
54k
Oracle AI Databaseデータベース・サービス: BaseDB/ExaDB-Dの可用性
oracle4engineer
PRO
1
960
ハッカソンで入賞した話 @ Findy LT
asari194617
0
1.5k
IHV like なユースケースへのOpenID Connect 関連仕様の適用事例
optim
0
360
Featured
See All Featured
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
120
120k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
49
10k
Believing is Seeing
oripsolob
1
200
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
390
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
560
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.4k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
300
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
630
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.6k
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