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
2019/12/5 Cloud Firestore でチャットを作る
Search
Satoru Nakamatsu
December 10, 2019
Programming
510
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
2019/12/5 Cloud Firestore でチャットを作る
Satoru Nakamatsu
December 10, 2019
Other Decks in Programming
See All in Programming
カツオ、ご期待ください
suneo3476
0
190
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
2
650
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
Simple Storage Service(S3) is not simple
iwatsukayura
0
290
R8 の設定見直しでアプリサイズ削減
andpad
0
220
Workers Cache を知る
syumai
0
370
When benchmarks go bad - what I learned from measuring performance wrong
hollycummins
0
220
golang-bob.pdf
iwatsukayura
0
130
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
380
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
Featured
See All Featured
The Curse of the Amulet
leimatthew05
3
16k
How to make the Groovebox
asonas
2
2.5k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.6k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Collaborative Software Design: How to facilitate domain modelling decisions
baasie
1
340
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
Bash Introduction
62gerente
615
220k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
890
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
740
Building the Perfect Custom Keyboard
takai
2
910
Ruling the World: When Life Gets Gamed
codingconduct
0
400
Transcript
Cloud Firestore で チャットを作る
自己紹介 中松悟 37歳 ハンズ8年目のエンジニア 忘年会の景品:すずめ雀 普段の仕事でやっていること ・Xen ・Solaris ・CentOS 6/7 ・Apache ・Nginx
・MySQL ・Python ・Django ・AngularJS ・jQuery ・Emacs ・PyCharm ・Ansible ・Git ・GitLab ・CI / CD Pipeline ・Docker ・Google Cloud ・App Engine ・Cloud Functions ・Cloud SQL ・Firebase ・Cloud Messaging ・Cloud Firestore ・Google Maps API ・YouTube API ・Google OAuth ・Google Search Console API ・PayPal API ・Plesk
Agenda 1. Google Cloud のデータベースサービス 2. Cloud Firestore チャットのデモ 3.
Cloud Firestore あれこれ 4. まとめ
Google Cloud のデータベースサー ビス
リレーショナルか?非リレーショナルか? リレーショナル ・Cloud Spanner ・Cloud SQL 非リレーション ・Cloud Bigtable ・Cloud
Firestore ・Firebase Realtime Database ・Cloud Memorystore https://cloud.google.com/products/databases/?hl=ja
Cloud Firestore チャットのデモ
デモ https://nakamatsu-1545886624829.firebaseapp.com/ すみません、 Safari 動きません。
公式 SDK フロントエンド ・Android ・iOS ・JavaScript ・Unity バックエンド ・Node.js ・Java
・Python ・Go
セキュリティ ルール Cloud Firestore セキュリティ ルール ユーザデータベースのアクセスを構築するには、 Cloud Firestore セキュリティ
ルールを適用した Firebase Authentication を使用してください。(オ フィシャル引用) https://firebase.google.com/docs/firestore/security/get-started ?hl=ja
料金 無料割り当て 保存データ:1GiB ドキュメントの読み取り: 50,000/日 ドキュメントの書き込み: 20,000/日 ドキュメントの削除:20,000/日 ネットワーク(下り): 10GiB/月
無料割り当て超過分の料金 保存データ:$0.115/GiB/月 ドキュメントの読み取り: 100,000あたり$0.038 ドキュメントの書き込み: 100,000あたり$0.115 ドキュメントの削除:100,000あたり$0.013 ネットワーク(下り): GiBあたり$0.01
クレヨン リクエストBOX の場合 念のために隠す
まとめ ・Google Cloud には様々なデータベースサービスがある ・Cloud Firestore を使えば簡単にチャットが作れる ・WebSocket ってなんですか? ・オフラインにも対応してる
・無料割り当てがあるので、導入する時に上司を説得しやすい
Cloud Firestore 最高!
ありがとうございました