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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
Transcript
14 slides
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 最高!
ありがとうございました
Other Decks in Programming
See All in Programming
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
110
クラウドエージェントは、 何がそんなに便利なのか / what makes cloud agents so useful
rkaga
5
860
AIがコードを書いてくれる時代、我々は何を確かめるのか
yosuke_furukawa
PRO
13
5.9k
小さなアプリを作って公開するまで
onozaty
0
170
学びを記事・スライド・Xへ高速展開する― AI-assisted Learning Loopで回すコンテンツ生成術
ochtum
0
210
우리의 Nitro Modules는 당신의 Turbo Modules보다 아름답다
l2hyunwoo
0
260
SODA - FACT BOOK(JP)
sodainc
1
40k
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.7k
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
1.2k
高橋メソッドでCVE解説シリーズ 〜CVE-2026-112816〜
hakkadaikon
0
260
S3 TablesのIcebergデータに、AIエージェントからアクセスしてみた / 20261016developersio2026joetsu-accessing-iceberg-in-s3tables-via-agent
kasacchiful
PRO
0
310
Coding with AI: How to trust the storyteller (AWS Community Day Adria, Ljubljana 2026)
slobodan
0
140
Featured
See All Featured
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Discover your Explorer Soul
emna__ayadi
2
1.3k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
530
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
From π to Pie charts
rasagy
1
450
4 Signs Your Business is Dying
shpigford
187
23k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
460
Git: the NoSQL Database
bkeepers
PRO
433
67k
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
570
Amusing Abliteration
ianozsvald
1
390