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
マイクロサービス化を切り戻してモノリスで開発しているお話 およびその後
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Masakazu Yahagi
June 06, 2023
Programming
3k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
マイクロサービス化を切り戻してモノリスで開発しているお話 およびその後
Masakazu Yahagi
June 06, 2023
Transcript
18 slides
STORES 株式会社 ◦◦株式会社 御中 2022年 7⽉ マイクロサービス化を切り戻してモノリスで 開発しているお話 とその後について 2023.6.7
@ みんなの経験から学ぶ、マイクロサービスLT⼤会
自己紹介 2 01 02 03 04 05 06 ⽮作 優和
STORES 株式会社 SRE サーバーサイドエンジニアとして⼊社し、その後 マイクロサービス化や、各種機能開発業務を経て 現在はSREとして従事 趣味: 船に乗ってルアーを使う釣りが好きです。
STORESについて 私が関わっているのは主にここ お店のデジタルを まるっとサポート。
お話すること ・STORES 予約でのマイクロサービス化について ・なぜ切り戻したのか ・その後
STORES 予約でのマイクロサービス化について オーナーさん向け 予約者さん向け
オーナーさん向け 予約者さん向け こちらで利⽤しているAPI群を マイクロサービスとして切り出し STORES 予約でのマイクロサービス化について
当時⽬指していたアーキテクチャ
この部分にどんどん切り出していく予定だった 当時⽬指していたアーキテクチャ
• マイクロサービス化の作業由来の不具合が多発し、 サービスの信頼性を損ねていると判断した • まだまだ機能の拡充を優先したかった なぜ切り戻したのか
不具合を多発させてしまった要因として考えられること • サービスとして切り出すスコープが曖昧だった • 進め⽅がよくなかった
サービスとして切り出すスコープが曖昧だった 予約者画⾯向けに作られている api/v2という領域をターゲットにしていた • 漠然とここをターゲットにしていたのがよくなかった • 予約という広⼤なドメインが⾃然とターゲットに含まれてしまい、何をどこまで切り 出したらいいのかが不明瞭に • 予約者画⾯以外から利⽤されている箇所も移植する必要性が⽣じ、ダブルメン
テ状態に陥っていた
機能開発とマイクロサービス化を分断した状態で進めてしまった 進め⽅がよくなかった • どこまで切り出したか/どんな変更を加えたのか をお互いが認識し⾟い状態になっ てしまっていた • 機能開発による変更の追従もれや歴史的経緯の汲み取り漏れによるデグレが 多発 ◦
歴史的経緯を把握しているメンバーが機能開発側に偏っていた
ここまでは2021年のお話 https://product.st.inc/entry/2021/12/16/ 155624 ここまでの内容はこちらの記事でもう少し詳しく触れています
その後
今まで
その後(鋭意開発中)
その後(近未来予想)
モノリスで開発していると思っていましたが、 STORES 予約そのものが1つのサービスになりそうです。
More Decks by Masakazu Yahagi
See All by Masakazu Yahagi
SESを抜け出し 自社開発で生きるために必要だったこと
myahagi
0
110
Other Decks in Programming
See All in Programming
AI時代のシニアエンジニアとは
yosuke_furukawa
PRO
15
11k
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
170
Spec-driven Development with AI
simas
PRO
0
2.3k
AI駆動開発4年目の現在地(『あなたはFDEになるべきか?』イベント資料)
kumaiu
0
590
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
140
AI Augmentation Techniques with Liberty
ivargrimstad
1
450
TS 7.0 で baseUrl が使えなくなった今、パスエイリアスをどうするか
bicstone
2
600
Rails初心者がパスキーを実装してみて大変だったこと
ktombow
0
170
AWS CDKを理解するために公式の定義を深掘って解説してみる / Understanding AWS CDK by Digging into Its Official Definition
akihisaikeda
3
300
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.7k
Materialが消えた日 〜真っ白なFlutterキャンバスにRenderObjectで絵を描く〜
umigishiaoi
0
160
Seven New Principles of Software Engineering
yegor256
0
480
Featured
See All Featured
Exploring anti-patterns in Rails
aemeredith
4
560
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
60k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.9k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
460
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.6k
Building AI with AI
inesmontani
PRO
1
1.4k
Large-scale JavaScript Application Architecture
addyosmani
516
110k
The Invisible Side of Design
smashingmag
301
52k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
570
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
1
240
[SF Ruby Conf 2025] Rails X
palkan
3
1.5k
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k