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
マイクロサービスとモノリスとKBR
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
yuki21
July 31, 2020
Technology
62
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
マイクロサービスとモノリスとKBR
5分間社内LT資料
yuki21
July 31, 2020
More Decks by yuki21
See All by yuki21
労務ドメインを快適に開発する方法 / How to Comfortably Develop in the Labor Domain
yuki21
1
500
GitHubのコマンドパレット使ってますか?
yuki21
0
1.7k
キャッシュを利用してRailsアプリの処理を高速化する
yuki21
0
130
Next.js & ElectronでTodoアプリを作る
yuki21
0
750
gRPCを完璧に理解する
yuki21
0
59
RSpec -基本の基-
yuki21
0
63
Committeeを導入してみた
yuki21
0
170
ActiveModelSerializersについて
yuki21
0
49
脆弱性について
yuki21
0
180
Other Decks in Technology
See All in Technology
Rustuna: Rustによる高速なOptuna実装
pfn
PRO
0
190
Code for Security プロジェクト紹介 2026年10月
yu23ki14
0
110
Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
1
580
Temporal 最高!でも改めて「日付」について調べたら人類の負債すぎる件
riyaamemiya
0
150
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
3
1.1k
その Valkey 使いこなしていますか?
onk
PRO
5
1.5k
Benchmarking Disaggregated Serving on vLLM + Dynamo with a Real Coding-Agent Workload
nttcom
1
190
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
PHPカンファレンス関西の招待状 / Invitation to PHP Conference Kansai
ykanoh
0
130
Classmethod Company Deck
satoshi7
1
690
分析の民主化を支えるメタデータ整備の実践
kakehashi
PRO
4
1.4k
AIカンパニーへの転換を支えた、エンジニアの仕事の再定義
kworkdev
PRO
2
1.2k
Featured
See All Featured
Music & Morning Musume
bryan
48
7.4k
Navigating Team Friction
lara
192
16k
How STYLIGHT went responsive
nonsquared
100
6.3k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
320
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
730
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
550
Claude Code のすすめ
schroneko
67
230k
Faster Mobile Websites
deanohume
310
32k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Transcript
マイクロサービスとモノリスとKBR Kobayashi Yuta
今⽇話すことについて マイクロサービスとは モノリスについて それぞれの⽐較 Kitchen Brothersの今後とマイクロサービス
マイクロサービスってよく聞く⾔葉だけど、つまりはどうい うこと? 正確な定義は存在していませんが、基本的には複数のサービスを組み合わせてシステムを構成 する⼿法のことを⾔います。 それぞれのサービスは独⽴しているため、単独でデプロイが可能であり、もしサービスがダウ ンしても他のサービスやシステム全体への影響を最⼩限に留めます。
モノリス(⼀枚岩)とは 従来のUI・ビジネスロジック・DBが単⼀のサービスで構成されているシステムのことを⾔い ます。 いずれかのみを修正した場合でも全て同時にデプロイする必要があり、密結合なため各々が⼤ きく影響を受けます。
モノリスとマイクロサービスの⽐較 出典: https://www.redhat.com/ja/topics/microservices/what-are-microservices
マイクロサービスとモノリスの⽐較2 特徴 モノリス マイクロサービス サービスの規模 ⼤ ⼩ 単独デプロイ 不可能 可能
耐障害性 劣 優 技術の⾃由度 低 ⾼ 実装の難易度 低 ⾼
マイクロサービスとモノリスの⽐較3 複雑度の低いサービスでは、マイクロサービス化することによって⽣産性が低下する恐れがあります。 出典: https://martinfowler.com/bliki/MicroservicePremium.html
KBRのこれからとマイクロサービス フロントエンドをRailsからReact Next.js へと移⾏を開始しましたが、これだけではマイクロ サービス化したとは⾔えません。 ですが、これまでモノリシックのお⼿本のようなサービスから、UIとビジネスロジック・DB が分割され、マイクロサービスアーキテクチャを採⽤しやすい状況に⼀歩進んだと⾔えます。 今後は、マイクロサービス化を⽬指していくのではなく、適材適所で採⽤して⾏くことが⼤事 になると思います。
ご静聴ありがとうございました 参考 James Lewis/Martin Fowlerの"Microservices"⽇本語訳 http://kimitok.hateblo.jp/entry/2014/11/09/211820 MicroservicePremium https://martinfowler.com/bliki/MicroservicePremium.html 「マイクロサービス」のメリットをざっくり⾔うと「変化に対応しやすい」こと── ただしファウラー⽒は
使い過ぎ を警告 https://knowledge.sakura.ad.jp/3377/ マイクロサービスとは https://www.redhat.com/ja/topics/microservices/what-are-microservices