SlideShare a Scribd company logo
Realtime vs Cloud Firestore
Firebase Timeline
Founded - 2011
Acquired by
Google - 2014
Cloud firestore
launch - 2017
What are Realtime database and Cloud Firestore?
Realtime database
is a mature low-
latency DB of
Firebase.
Cloud Firestore is
a new DB product
of Firebase still in
Beta stage.
Advantages of Firebase Databases
Easy Data
Migration
No Extra
Knowledge
required
Validation on
various data
types
One-stop
tool
Easier to use
Advantages of Firebase Databases
Free usage
Rich Code
libraries
JSON data
structure
Fast
development
Easy
streaming
Differences Between Realtime and Cloud Firestore
Realtime database
Cloud Firestore
Data Model
It stores data as
one large JSON
Tree
It stores data in
the form of
documents which
are organised in
collections
Realtime database
Cloud Firestore
Real-time and Offline support
It provides offline
support for only
the Android and
iOs mobile
clients
It provides offline
support for
Android, iOS and
web clients as
well
Realtime database
Cloud Firestore
Querying
It provides deep
queries and
limited sorting
and filtering
functionality
It indexes
queries. Filter
and sort functions
can be combined
in single query.
Realtime database
Cloud Firestore
Transactions
Write command
works as
individual
operation and
transactions use
callback in native
SDK.
It batches
operations and
completes them
automatically.
Realtime database
Cloud Firestore
Performance and Reliability
It is more reliable
because it a
mature and
tested database.
It isn’t as reliable
being new but it
has better
performance
even in beta
stage.
Realtime database
Cloud Firestore
Scalability
It shards data
over 100,000
concurrent
connections.
It scales data
automatically and
sharding doesn’t
happen.
Realtime database
Cloud Firestore
Security
Only Firebase
database rules
apply here.
It has more
powerful security
which uses IAM.
Realtime database
Cloud Firestore
Security
It charges higher
prices. Prices
are charged for
bandwidth and
storage.
It charges Lower
price. Prices are
charged for
Read, write and
delete
operations.
For further queries, connect to us...
E-mail: sales@appinventiv.com
Phone: Ind- 0120-4174793, US- +1-646-585-0501
Or visit: https://appinventiv.com/

More Related Content

Realtime vs Cloud Firestore