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
microservices化に向けて
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Hiroaki Ninomiya
July 22, 2015
Technology
170
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
microservices化に向けて
Shinjuku.rb #27 LT
https://shinjukurb.doorkeeper.jp/events/28104
Hiroaki Ninomiya
July 22, 2015
More Decks by Hiroaki Ninomiya
See All by Hiroaki Ninomiya
スタートアップとは何か?アジャイル文脈で何が大変なのか? #shibuyagile
treby
0
280
渋谷アジャイルコミュニティへの想い #shibuyagile
treby
0
1.6k
久々にコードを書いてOmniauthでハマった話
treby
0
1.1k
IM@Study活動紹介
treby
1
650
全ての雑用を、生まれる前に消し去りたい
treby
0
640
Webエンジニアからデータエンジニアへ転向している話 #pronama
treby
0
440
Rails 6.0の気になった新機能 #shuuumai
treby
1
790
Shinjuku.rbの移り変わりについて、あるいは大規模カンファレンスの知見を募集したい話 #tqrk13
treby
1
200
EMの悩みにフォーカスする #em_izakaya
treby
0
630
Other Decks in Technology
See All in Technology
AI Agent 時代のデータ基盤: ClickHouse で実現する 超高速分析とコスト削減の両立
jozono
0
210
公共分野での生成AI活用
toru_kubota
1
290
In-Context Learning再入門。ICLの勾配降下的解釈の研究動向を追ってみる。
dai08srhg
1
690
[JAWS Festa 2026]一番いい仕事は、請求書に現れない / jawsfesta2026
sh_fk2
2
340
Sizing, Benchmarking and Performance Tuning Apache Flink Clusters
rmetzger
0
130
基本から分かる!AWSセキュリティ運用の考え方と任せ方
cmusudakeisuke
1
450
The future of architectural work
ufried
0
180
公共システムAdventCalendar2026
toru_kubota
0
280
Lint の層を組み直した話
bengo4com
3
320
Building Audio Plugin Ecosystem for Android in 2026
atsushieno
2
160
AIがGISを代替する日:〜すべてをAIが創る時代に、私たちがFOSS4Gに関わる意味〜
lehupa
1
210
超⼩型・多⾔語検索モデル Bekko Embedding
hotchpotch
1
120
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
How to Think Like a Performance Engineer
csswizardry
28
2.9k
Unsuck your backbone
ammeep
672
58k
Bash Introduction
62gerente
615
220k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
560
GitHub's CSS Performance
jonrohan
1033
470k
The Invisible Side of Design
smashingmag
301
52k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
Mobile First: as difficult as doing things right
swwweet
225
10k
Music & Morning Musume
bryan
48
7.5k
AI: The stuff that nobody shows you
jnunemaker
PRO
10
1.3k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
310
Transcript
microservices化に向けて 2015/7/22 スペースマーケット 二宮啓聡
自己紹介 • 二宮啓聡 ◦ 株式会社スペースマーケット所属 ◦ http://blog.spacemarket.com/author/treby/ • 今日の内容 ◦
モノリシックなシステムをmicroservices化していく上でど うするか、というご相談的な内容です。
None
サービスのフェーズ • 2014年4月 サービスリリース • 2015年2月 アプリ開発開始 • 2015年6月 アプリリリース
2014年4月 サービスイン MySQL Rails App
2015年2月 アプリ開発開始 MySQL Rails App ElasticSearch
2015年6月 アプリリリース MySQL Rails App (Web) ElasticSearch Rails App (API)
2015年6月 アプリリリース MySQL Rails App (Web) ElasticSearch Rails App (App)
イマココ
向かいたい方向性 MySQL Rails App (Web) ElasticSearch Rails App (App)
向かいたい方向性 MySQL Rails App (Web) ElasticSearch Rails App (App) ……WebでActiveRecordべったりな部分をどうしようか
現状の問題点 • 別のシステムから同じDBを参照 ◦ シンプルに内部APIで通信する構成にしたい ◦ 何を使えば良いか
いくつか検討 • 独自ライブラリ ◦ CookPadのGarageのようなもの • ActiveResource ◦ https://github.com/rails/activeresource •
→既存コードを極力使いまわせるようにしたい ◦ ActiveRecordと同じような使い方ができるもの
現状の問題点 • カジュアルにviewなどからQueryが発行されい ている ◦ 1リクエストあたりのAPI通信量が読めない ◦ ボトルネックに確実になる…… • →事業的なPDCAとあわせてコードのリファクタリング
◦ concerns ◦ helper
まとめ • 今から直面しそうな問題をちょっと共有してみま した。 ◦ モノリシックなシステムからmicroservices化していく上で の流れ ◦ 解決したらまた共有させてください