Google Cloud Bangla session. I had given I talk. This is all about Google Firebase it's features and technical benefits. After a session, I had a small workshop so that people get realtime hands-on experiences
10. 10
• Build serverless apps with cloud functions
• Mobile-first, Realtime SDKs
• local data storage for offline-ready apps.
• Single-reginal solution
• Stores data as one large JSON tree.
• Hierarchical data is harder to organize at scale.
Realtime Database
Realtime Database
12. 12
• Serverless NoSQL document database
• ACID Transactions
• Automatic Scaling & Indexing
• Multi region replication
• Client libs provide live or offline synchronization
• Best for blog, wiki, or news or restaurant app.
Could Firestore
14. 14
• Depends on read, write & delete operations.
• Need to focus on apps architecture & design.
• Need analysis and prediction monitoring.
• Move on Realtime database when app all almost Realtime.
Database Costing Issue
$
15. 15
• Use pagination, caching and uses less network.
• Reginal base pull request minimize cost to global sync.
• Budget alert for monthly and app engine for daily basis.
• Use cloud function and clever math, so avoid to go every
time in database.
• Use listener methods to notify changes.
https://firebase.google.com/docs/firestore/pricing
Optimization Scopes
/
16. 16
• Develop Managed NodeJS backend without servers
• Low maintenance.
• Keeps your logic private and secure
• Easily ingrate able with GCP other services
Issues:
• Not only single instance, also be ready to execute in parallel
when scale up.
• Avoid global variable and temporary disk space.
Could Functions
Could Functions
18. 18
• Store media contents [ Other Google Drive ,Google Photos.]
• Strong user-based security
• Robust uploads and downloads
• Firebase SDK with mobile connectivity in mind
Could Storage
Could Storage
https://firebase.google.com/docs/storage
22. Hosting
Hosting
Deliver web app assets with speed and security.
• SSD-backed hosting
• Automatic provision with Free SSL certificates
• Cached on SSDs at CDN edge servers around the world
• Deploy with one command
• Show version history and roll back
https://firebase.google.com/products/hosting/22