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
FirestoreからAlloyDBにサービス無停止で移行した話
Search
株式会社ビットキー / Bitkey Inc.
PRO
August 03, 2023
Technology
0
560
FirestoreからAlloyDBにサービス無停止で移行した話
Google Cloud主催のAlloyDB Case Study Meetupにて発表
株式会社ビットキー / Bitkey Inc.
PRO
August 03, 2023
Tweet
Share
More Decks by 株式会社ビットキー / Bitkey Inc.
See All by 株式会社ビットキー / Bitkey Inc.
待つ、歩く、そして祈る -モバイルアプリの厄介なテスト奮闘記-/Wait, Walk, and Pray -The Troublesome Struggle of Mobile App Testing-
bitkey
PRO
1
23
見栄えと使いやすさの先にある 特別感 をデザインする / Designing a Sense of Specialness Beyond Aesthetics and Usability
bitkey
PRO
0
74
フレームワーク探しはもう終わり! チームに「ジャストフィット」するワークショップの作り方 / No More Framework Searching: How to Build a 'Just-Fit' Workshop for Your Team
bitkey
PRO
0
58
一次体験を起点にしたUX改善の取り組み / Direct Experience Driven UX Improvements
bitkey
PRO
0
250
ユーザー体験は細部に宿る -ウィジェットQAの挑戦と気づき- / UX is in the details: Challenges and Learnings from Widget QA
bitkey
PRO
0
100
ハードウェアとソフトウェアをつなぐ全てを内製している企業の E2E テストの作り方 / How to create E2E tests for a company that builds everything connecting hardware and software in-house
bitkey
PRO
1
290
チームビルドのためのワークショップ設計/Workshop design for team building
bitkey
PRO
0
72
「職種に名前が付く、ということ」 / When a Role Gets a Name
bitkey
PRO
0
37
ゼロから始めるEnabling SRE〜Datadogへの戸惑いや敬遠を無くすためにやったこと〜
bitkey
PRO
0
36
Other Decks in Technology
See All in Technology
CREが作る自己解決サイクルSlackワークフローに組み込んだAIによる社内ヘルプデスク改革 #cre_meetup
bengo4com
0
240
フレームワークを意識させないワークショップづくり
keigosuda
0
240
「魔法少女まどか☆マギカ Magia Exedra」の多様なバトルの開発を柔軟かつ効率的に実現するためのPure C#とUnityの分離について
gree_tech
PRO
0
240
React19.2のuseEffectEventを追う
maguroalternative
2
590
Introdução a Service Mesh usando o Istio
aeciopires
1
280
CNCFの視点で捉えるPlatform Engineering - 最新動向と展望 / Platform Engineering from the CNCF Perspective
hhiroshell
0
120
LLMプロダクトの信頼性を上げるには?LLM Observabilityによる、対話型音声AIアプリケーションの安定運用
ivry_presentationmaterials
0
750
映像エッジAIにおけるNode-RED活用事例
emirmatsui
0
130
AI時代におけるデータの重要性 ~データマネジメントの第一歩~
ryoichi_ota
0
710
AI AgentをLangflowでサクッと作って、1日働かせてみた!
yano13
1
120
会社を支える Pythonという言語戦略 ~なぜPythonを主要言語にしているのか?~
curekoshimizu
1
270
初めてのDatabricks Apps開発
taka_aki
1
230
Featured
See All Featured
Mobile First: as difficult as doing things right
swwweet
225
10k
Site-Speed That Sticks
csswizardry
13
920
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
52
5.7k
Building Better People: How to give real-time feedback that sticks.
wjessup
369
20k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
Rebuilding a faster, lazier Slack
samanthasiow
84
9.2k
Building a Modern Day E-commerce SEO Strategy
aleyda
44
7.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Context Engineering - Making Every Token Count
addyosmani
7
280
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.7k
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