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
Building frontend development environment and w...
Search
Hayato Koriyama
July 03, 2019
Programming
2
1.5k
Building frontend development environment and web performance monitoring
Hayato Koriyama
July 03, 2019
Tweet
Share
More Decks by Hayato Koriyama
See All by Hayato Koriyama
Migration to BrowserWindow in Electron
nekobato
3
820
Mobile Animation Tuning
nekobato
1
710
P2P Netfwork with Node.js
nekobato
1
740
Electron年報
nekobato
0
820
Other Decks in Programming
See All in Programming
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
190
JavaScriptツール群「UnJS」を5分で一気に駆け巡る!
k1tikurisu
8
1.3k
functionalなアプローチで動的要素を排除する
ryopeko
1
920
Spring gRPC について / About Spring gRPC
mackey0225
0
170
shadcn/uiを使ってReactでの開発を加速させよう!
lef237
0
390
Simple組み合わせ村から大都会Railsにやってきた俺は / Coming to Rails from the Simple
moznion
3
3.7k
富山発の個人開発サービスで日本中の学校の業務を改善した話
krpk1900
3
300
Moscow Python Meetup №97. Константин Крестников (Техлид команды GigaChain (SberDevices)). GigaChain: Новые инструменты для разработки агентов на примере агента техподдержки
moscowdjango
PRO
0
100
[Fin-JAWS 第38回 ~re:Invent 2024 金融re:Cap~]FaultInjectionServiceアップデート@pre:Invent2024
shintaro_fukatsu
0
340
2,500万ユーザーを支えるSREチームの6年間のスクラムのカイゼン
honmarkhunt
6
4.2k
動作確認やテストで漏れがちな観点3選
starfish719
5
860
カンファレンス動画鑑賞会のススメ / Osaka.swift #1
hironytic
0
200
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.3k
Become a Pro
speakerdeck
PRO
26
5.1k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.2k
Docker and Python
trallard
43
3.2k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.2k
Raft: Consensus for Rubyists
vanstee
137
6.7k
A Modern Web Designer's Workflow
chriscoyier
693
190k
Optimizing for Happiness
mojombo
376
70k
Bash Introduction
62gerente
610
210k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
11
900
A Tale of Four Properties
chriscoyier
157
23k
Transcript
1 Building frontend development environment and web performance monitoring フロントエンド開発環境の構築とパフォーマンス監視
Mercari x Merpay Frontend Tech Talk vol.2
2 (Hayato Koriyama) Mercari JP Web Platform DevOps @nekobato
3 What is Mercari JP Web DevOps Agenda Why Web
DevOps? Building & Monitoring 02 03 01
4 What is Web DevOps? --
5 Mercari JP Web Re-architecture DevOps Members
6 Mercari JP Web Re-architecture Project Frontend + α (Backend
+ SET) Recent Mercari JP Web Team New technical stack
7 Mercari JP Web Re-architecture Project ViewDev (Frontend) + Backend
+ DevOps SSR Frontend GraphQL Server SSR Backend Server Session Server microservices Web Gateway New web team
8 ↓Frontend Engineer ↓UI Designer ↓BlockChain Engineer ↓Frontend Engineer Web
DevOps
9 Mercari JP Web Frontend Stack
10 Mercari JP Web DevOps Stack microservice platform
11 Why DevOps?
12 Developers working on... - Develop features - Make local
development environments - Configure error tracking - Configure logging system - Configure performance monitoring - Maintenance CircleCI jobs - Make deploy pipeline - …and so on
13 Why DevOps? To focus on development
14 Web Re-architecture DevOps
15 Web Re-architecture DevOps
16 Frontend DevOps Toolset E2E Performance Monitoring Frontend Error Tracking
Build Development Environment
17 In CircleCI, workflow add a comment to each Pull
Request DevTools
18 Storybook static files per Pull Request https://[ internal Website
]/[Repository name]/[Pull Request Number]/storybook AWS S3 Push Commit Build Storybook Upload Assets
19 Bundle Analyzer per Pull Request
20 Bundle Analyzer per Pull Request https://[ internal Website ]/[Repository
name]/[Pull Request Number]/analyze/server https://[ internal Website ]/[Repository name]/[Pull Request Number]/analyze/client AWS S3 Push Commit Build Storybook Upload Assets
21 Check Modules License
22 Check Vulnerability
23 Monitoring
24 Calibreapp
25 Calibreapp - First Meaningful Paint - Speed Index Alert
threshold: 20% slower than recent Mercari JP Web (measured at 2019-02-18) https://timkadlec.com/2014/01/fast-enough/ SLI/SLO
26 Alert from the outlier Calibreapp
27 Calibreapp - Caused from the new feature - Our
network incident - Issues on Calibreapp This alert is...
28 Calibreapp - Snapshot per hour - Extract median of
recent 14 snapshots - Alert if the median exceeds the threshold Extract median of recent 14 snapshots
29 Calibreapp Carousel...
30 Sentry Error tracking service
31 Sentry - Sentry ⇔ JIRA Issue Link - Slack
alert notification - An issue is first seen - An issue is seen more than N times in 1m
32 Sentry workflow 1. Sentry notification 2. On-call member create
a ticket 3. Assign a member to ticket
33 Support & Knowledge for after release - On-call training
for members - Describe Design Doc
34 Conclusion microservice platform