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
RealtimeDB.Firebase.ebisu
Search
1amageek
October 21, 2016
Technology
1
950
RealtimeDB.Firebase.ebisu
Firebase RealtimeDBを利用の考察
1amageek
October 21, 2016
Tweet
Share
More Decks by 1amageek
See All by 1amageek
Firebase Growth Hack
1amageek
1
780
FirebaseSummit2018報告会
1amageek
2
1.2k
Firestore Database Design
1amageek
18
89k
Growth Product
1amageek
2
3.9k
Client Side Join
1amageek
1
2.4k
動き出したクックパッドのCtoCビジネス
1amageek
10
5.6k
人を評価する立場になってやった事
1amageek
7
4k
Firebase Developer Day
1amageek
1
210
RealtimeDatabaseDesign.firebase.yebisu.pdf
1amageek
0
160
Other Decks in Technology
See All in Technology
第4回 関東Kaggler会 [Training LLMs with Limited VRAM]
tascj
12
1.7k
[OCI Skill Mapping] AWSユーザーのためのOCI(2025年8月20日開催)
oracle4engineer
PRO
2
140
AIドリブンのソフトウェア開発 - うまいやり方とまずいやり方
okdt
PRO
9
580
EKS Pod Identity における推移的な session tags
z63d
1
200
広島発!スタートアップ開発の裏側
tsankyo
0
240
Figma + Storybook + PlaywrightのMCPを使ったフロントエンド開発
yug1224
8
1.5k
アジャイルテストで高品質のスプリントレビューを
takesection
0
110
TypeScript入門
recruitengineers
PRO
12
2.9k
見てわかるテスト駆動開発
recruitengineers
PRO
4
310
KiroでGameDay開催してみよう(準備編)
yuuuuuuu168
1
130
認知戦の理解と、市民としての対抗策
hogehuga
0
320
実践アプリケーション設計 ③ドメイン駆動設計
recruitengineers
PRO
1
180
Featured
See All Featured
Designing Experiences People Love
moore
142
24k
Building Adaptive Systems
keathley
43
2.7k
Building an army of robots
kneath
306
46k
Thoughts on Productivity
jonyablonski
69
4.8k
Fantastic passwords and where to find them - at NoRuKo
philnash
51
3.4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
890
A Modern Web Designer's Workflow
chriscoyier
695
190k
Being A Developer After 40
akosma
90
590k
Making the Leap to Tech Lead
cromwellryan
134
9.5k
Reflections from 52 weeks, 52 projects
jeffersonlam
351
21k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
18
1.1k
Designing for Performance
lara
610
69k
Transcript
Timers inc RealtimeDB.Firebase.ebisu nori Oct 2016 @1amageek ! Hello. Firebase.ebisu
"
Timers inc Why Firebase?
Timers inc Why Firebase? Speed up the development cycle
Timers inc REST API ❌ %FWFMPQNFOU *OGSB 4FSWFSSFRVJSFE %BUBCBTF
Timers inc Serverless
Timers inc Create Valuable Service
Timers inc
Timers inc Next Generation Database Auto Sync
Timers inc Auto Sync /PIUUQSFRVFTU 0CTFSWJOH &WFOUESJWFO 3FBMUJNF
Timers inc vs
Timers inc 'BTU 'SJFOEMZ 'SFF .BOZVTFST 0OMZEBUBCBTF 4FSWFSSFRVJSFE 'BTU 'SJFOEMZ
'SFF .BOZVTFST 5PUBMQMBUGPSN 4FSWFSMFTT ✔ ✔
Timers inc Timers’ case ϢʔβʔͷߦಈΛ௨͢Δػೳ
Timers inc "VUIFOUJDBUJPO 4DIFNFMFTT *TTVFT 1FSGPSNBODF .JHSBUJPO -PHHJOH 4FDVSJUZ
Timers inc "VUIFOUJDBUJPO 4DIFNFMFTT 1FSGPSNBODF .JHSBUJPO -PHHJOH 4FDVSJUZ طଘͷγεςϜ͔ΒͷҠߦ ηΩϡΞͳڥ࡞ΕΔ͔
ࣗ༝͕ߴ͍͜ͱɺ։ൃͷ෯Λ͛Δ͕ όάΛੜΈ͍͢ ࣮༻ʹରԠͰ͖Δͷ͔ɺੑೳྼԽ͠ͳ͍͔ ࣗࣾαʔϏεͰͳ͍͕ɺͲͷΑ͏ʹ-PHΛ நग़͢Δ͔ αʔϏεͷਐԽʹ߹Θͤͯॊೈʹ ରԠͰ͖Δ͔
Timers inc $VTUPN"VUIFOUJDBUJPO4ZTUFN "VUIFOUJDBUJPO Server Client Server Client Token Token
FirebaseToken Firebase FirebaseToken #FGPSF "GUFS
Timers inc 3FBMUJNF%BUBCBTF3VMFT 4FDVSJUZ data $00 Auth data $01 data
$02 Read : Write Read Write
Timers inc 4PMVUJPO-JCSBSZ4BMBEB 4DIFNFMFTT nori Oct 2016 @1amageek https://github.com/1amageek/Salada
Timers inc 3FBMUJNF%BUBCBTF 1FSGPSNBODF T
Timers inc 0CTFSWF -PHHJOH FIRDatabase .database() .reference() .child(“YOUR_REFERENCE_KEY”) .observe(.childAdded, with:
{ (snapshot) in log(snapshot) })
Timers inc 0CTFSWF .JHSBUJPO let ref: FIRDatabaseReference = FIRDatabase.database().reference() let
ref_A: FIRDatabaseReference = ref.child("YOUR_REFERENCE_KEY_A”) let ref_B: FIRDatabaseReference = ref.child(“YOUR_REFERENCE_KEY_B”) ref_A.observeSingleEvent(of: .value, with: { (snapshot) in ref_B.setValue(snapshot.value) })
Timers inc Thank you $