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
FirestoreからAlloyDBにサービス無停止で移行した話
Search
株式会社ビットキー / Bitkey Inc.
PRO
August 03, 2023
Technology
640
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
FirestoreからAlloyDBにサービス無停止で移行した話
Google Cloud主催のAlloyDB Case Study Meetupにて発表
株式会社ビットキー / Bitkey Inc.
PRO
August 03, 2023
More Decks by 株式会社ビットキー / Bitkey Inc.
See All by 株式会社ビットキー / Bitkey Inc.
10年後、Engineering 行為を剥奪されるとして、わたしたちは、どう、何を創ればいいだろうか。 / If Engineering Is Taken Away in 10 Years, How and What Should We Create?
bitkey
PRO
1
200
Flutter × BLE Centralを自前Pluginで実装する設計パターン - MethodChannel / EventChannelで作る双方向ブリッジの実践 / Building Custom Flutter BLE Central Plugins: Bidirectional Bridging with Method & Event Channels
bitkey
PRO
0
470
Swift&Xcodeのバージョンアップにまつわる怖かった思い出 / Scary Memories of Swift and Xcode Updates
bitkey
PRO
0
240
iOS/Androidの二刀流エンジニアがFlutter & TypeScriptへ越境後の現在地 - Flutterがメインになって見えた景色と現在の醍醐味 / Dual-Platform Mobile Engineer Shifts to Flutter & TypeScript - The View and Real Thrill of Going Flutter-First
bitkey
PRO
0
660
個人開発で育てる「大規模設計の苗床」 - AI時代の1人開発から始める業務への知識接続 / The Seedbed for Large-Scale Design - From AI-Era Solo Projects to Professional Knowledge
bitkey
PRO
1
590
失敗を経て、Harness Engineering で 大切にしたいことを考える / Learning from Failure: What Matters in Harness Engineering
bitkey
PRO
1
660
AI Adaptable なテストを整える工夫 / Ways to Make Your Tests AI-Adaptable
bitkey
PRO
3
400
人が担う「価値」とは?これからの「QA」とは / Human Value and the Future of Quality Assurance
bitkey
PRO
0
370
キャリア25年目にしてTypeScript に出会うまで - 「型」を通じて振り返るプログラミング言語遍歴 / Meeting TypeScript After 25 Years in Tech - Looking Back at My Programming Language Journey Through "Types"
bitkey
PRO
2
580
Other Decks in Technology
See All in Technology
ストレスなくAIと付き合いたい!こんなときどうしてる?
namiki64
4
610
AI駆動で「他アプリの音を加工できる」アプリを作った
satomasahiro2005
0
170
オントロジーって 結局なにもの? AI エージェントに「意味」を渡す知識設計の話
greenmidori
0
230
PagerDuty Tech Hub-鳴らすけれど、人は動かない
ezaki
0
180
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
740
サブエージェントと Claude Mods で作る独自 Advisor ツールの話
kenichiodo
2
170
AI導入は済んだ。次は統制を作り替える番だ_AI×開発組織 Summit 2026
techtekt
PRO
0
360
S3 Filesで挑む! 八戸せんべい汁の食べ頃問題
usanchuu
0
120
実践! SRE × AI - ABEMA における AIOps -
tetsuya28
8
3.1k
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
340
AI時代のPRレビューにどう向き合うか?
kairim0
1
240
USB PDを使ってスマホを労わりたい
raspython3
0
180
Featured
See All Featured
How to Ace a Technical Interview
jacobian
280
24k
Art, The Web, and Tiny UX
lynnandtonic
304
22k
Color Theory Basics | Prateek | Gurzu
gurzu
1
490
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
25
2.1k
New Earth Scene 8
popppiees
4
2.7k
Rebuilding a faster, lazier Slack
samanthasiow
85
9.7k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
520
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
A Tale of Four Properties
chriscoyier
163
24k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
630
Transcript
© 2 0 23 Bitkey Inc. 'JSFTUPSF͔Β"MMPZ%#ʹ αʔϏεແఀࢭͰҠߦͨ͠ גࣜձࣾϏοτΩʔ 71PG5FDIOPMPHZ
നయ "MMPZ%#$BTF4UVEZ.FFUVQ
© 2 0 23 Bitkey Inc. നయ 5BLBOPSJ4IJSBLJ 2 2018
8 GCP Firebase Web Firestore AlloyDB
© 2 0 23 Bitkey Inc. 0VUMJOF Ҡߦͷഎܠ
"MMPZ%#Λ࠾༻ͨ͠ཧ༝ ͲͷΑ͏ʹҠߦ͔ͨ͠ ݁Ռ 3
© 2 0 23 Bitkey Inc. Ҡߦͷഎܠ 4
© 2 0 23 Bitkey Inc. 5 © 2 0
23 Bitkey Inc.
© 2 0 23 Bitkey Inc. 6 ➢ ➢
➢ ࣄલʹݤΛ͢͜ͱ͕؆୯ʹͰ͖Ε ͜ΕΒΛશͯղܾͰ͖Δɻ
© 2 0 23 Bitkey Inc. ͳͥɺ'JSFTUPSFͩͬͨͷ͔ ͳͥɺͦΕ͚ͩͩͱ͘͠ͳ͍ͬͯͬͨͷ͔ 7
© 2 0 23 Bitkey Inc. Firestore OK 8
© 2 0 23 Bitkey Inc. 9 RDBMS NewSQL
© 2 0 23 Bitkey Inc. "MMPZ%#Λ࠾༻ͨ͠ཧ༝ 1 0
© 2 0 23 Bitkey Inc. AlloyDBΛ࠾༻ͨ͠ཧ༝ 1 1 AlloyDB
β / Cloud SQL / Cloud Spanner ͜ͷ3ͭΛൺֱ
© 2 0 23 Bitkey Inc. AlloyDBΛ࠾༻ͨ͠ཧ༝ 1 2 ➢
Cloud SQL PostgreSQL ➢ ➢ ➢ GA Cloud SQL
© 2 0 23 Bitkey Inc. AlloyDBΛ࠾༻ͨ͠ཧ༝ 1 3 ➢
DB ➢ Cloud SQL ➢ ➢ ➢ Spanner Spannerͱൺͯ
© 2 0 23 Bitkey Inc. ͲͷΑ͏ʹҠߦ͔ͨ͠ 1 4
© 2 0 23 Bitkey Inc. 1 5 ίϨΫγϣϯ୯ҐͷҠߦܭըʹͨ͠ ܭըॳظ
AlloyDB͕·ͩβͩͬͨͨΊ Firestore͔ΒCloud SQLʹҠߦ AlloyDBͷGAޙ Cloud SQL ͯ͢AlloyDBʹҠߦ Ҏ߱… Firestore͔ΒAlloyDBͷҠߦΛܧଓ 1 . Firestore 2 . 3 . 4 .
© 2 0 23 Bitkey Inc. 1 6 Cloud SQL͔ΒAlloyDB
؆୯͔ͭɺ៉ྷʹྃʂ Database Migration Service DB AlloyDB
© 2 0 23 Bitkey Inc. 1 7 Firestore͔ΒAlloyDB มߋͷಉظΛ։࢝ͨ͠ޙɺطଘΛҠߦ͢Δͱ͍͏ॱ൪Ͱ࿙ΕΛͳͨ͘͠
© 2 0 23 Bitkey Inc. 1 8 ϦΞϧλΠϜಉظʹ͍ͭͯ Firestore
AlloyDB ➢ ➢ ➢ ➢ 'JSFTUPSF͕มߋ͞ΕΔͱ"MMPZ%#ʹ ಉظ͞ΕΔΑ͏ʹɻ
© 2 0 23 Bitkey Inc. 1 9 طଘσʔλͷϚΠάϨʔγϣϯʹ͍ͭͯ Firestore
AlloyDB γϯϓϧ͕ͩྔ͕ଟ͍ͷͰɺ ్தͰதஅͯ͠࠶։Ͱ͖ΔΑ͏ʹɻ
© 2 0 23 Bitkey Inc. 2 0 ิɿϚΠάϨʔγϣϯະ࣮ࢪͷظؒͷϦΞϧλΠϜಉظʹ͍ͭͯ update
delete
© 2 0 23 Bitkey Inc. 2 1 ͜͜·ͰͰ'JSFTUPSFͱ"MMPZ%#ͷͲͪΒ͔ΒͰɺ ৗʹಉͷใΛऔΓग़ͤΔঢ়ଶʹͳͬͨɻ
Firestore AlloyDB Firestore AlloyDB
© 2 0 23 Bitkey Inc. ৼΓฦͬͯΈͯ 2 2
© 2 0 23 Bitkey Inc. 2 3 ͔ͬͨ͜͠ͱ ➢
➢ ➢ EFMFUFJOTFSUͦΕΒఆͷͨΊͷࣄલTFMFDUͱ͍ͬͨແବڐ༰ ಉظΛܦ༝͠ͳ͘ͳΕૣ͘ͳΔͨΊɺҠߦظؒதݶఆͷͱ͍͏ׂΓΓ
© 2 0 23 Bitkey Inc. 2 4 ➢ ➢
➢ ➢ ྑ͔ͬͨ͜ͱ
© 2 0 23 Bitkey Inc. 2 5 AlloyDB
None