Need advice about which tool to choose?Ask the StackShare community!

Azure Cosmos DB

418
785
+ 1
127
Cloud Firestore

512
666
+ 1
96
Add tool

Azure Cosmos DB vs Cloud Firestore: What are the differences?

What is Azure Cosmos DB? A fully-managed, globally distributed NoSQL database service. Azure DocumentDB is a fully managed NoSQL database service built for fast and predictable performance, high availability, elastic scaling, global distribution, and ease of development.

What is Cloud Firestore? A New Document Database for Apps. Cloud Firestore is a NoSQL document database that lets you easily store, sync, and query data for your mobile and web apps - at global scale.

Azure Cosmos DB and Cloud Firestore can be primarily classified as "NoSQL Database as a Service" tools.

Some of the features offered by Azure Cosmos DB are:

  • Fully managed with 99.99% Availability SLA
  • Elastically and highly scalable (both throughput and storage)
  • Predictable low latency: <10ms @ P99 reads and <15ms @ P99 fully-indexed writes

On the other hand, Cloud Firestore provides the following key features:

  • Documents and collections with powerful querying
  • iOS, Android, and Web SDKs with offline data access
  • Real-time data synchronization

"Best-of-breed NoSQL features" is the primary reason why developers consider Azure Cosmos DB over the competitors, whereas "Easy to use" was stated as the key factor in picking Cloud Firestore.

ReWrite, Whale 🐳, and FetchyFox are some of the popular companies that use Cloud Firestore, whereas Azure Cosmos DB is used by Microsoft, Rumble, and Property With Potential. Cloud Firestore has a broader approval, being mentioned in 34 company stacks & 32 developers stacks; compared to Azure Cosmos DB, which is listed in 24 company stacks and 23 developer stacks.

Advice on Azure Cosmos DB and Cloud Firestore

We are building a social media app, where users will post images, like their post, and make friends based on their interest. We are currently using Cloud Firestore and Firebase Realtime Database. We are looking for another database like Amazon DynamoDB; how much this decision can be efficient in terms of pricing and overhead?

See more
Replies (1)
William Frank
Data Science and Engineering at GeistM · | 2 upvotes · 37.8K views
Recommends

Hi, Akash,

I wouldn't make this decision without lots more information. Cloud Firestore has a much richer metamodel (document-oriented) than Dynamo (key-value), and Dynamo seems to be particularly restrictive. That is why it is so fast. There are many needs in most applications to get lightning access to the members of a set, one set at a time. Dynamo DB is a great choice. But, social media applications generally need to be able to make long traverses across a graph. While you can make almost any metamodel act like another one, with your own custom layers on top of it, or just by writing a lot more code, it's a long way around to do that with simple key-value sets. It's hard enough to traverse across networks of collections in a document-oriented database. So, if you are moving, I think a graph-oriented database like Amazon Neptune, or, if you might want built-in reasoning, Allegro or Ontotext, would take the least programming, which is where the most cost and bugs can be avoided. Also, managed systems are also less costly in terms of people's time and system errors. It's easier to measure the costs of managed systems, so they are often seen as more costly.

See more
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Azure Cosmos DB
Pros of Cloud Firestore
  • 27
    Best-of-breed NoSQL features
  • 20
    High scalability
  • 15
    Globally distributed
  • 14
    Automatic indexing over flexible json data model
  • 10
    Tunable consistency
  • 10
    Always on with 99.99% availability sla
  • 7
    Javascript language integrated transactions and queries
  • 6
    Predictable performance
  • 5
    High performance
  • 5
    Analytics Store
  • 2
    Ease of use
  • 2
    No Sql
  • 2
    Rapid Development
  • 2
    Auto Indexing
  • 13
    Easy to use
  • 13
    Cloud Storage
  • 10
    Easy setup
  • 10
    Realtime Database
  • 8
    Super fast
  • 6
    Authentication
  • 6
    Realtime listeners
  • 5
    Could Messaging
  • 4
    Google Analytics integration
  • 4
    Hosting
  • 3
    Crash Reporting
  • 3
    Performance Monitoring
  • 3
    Test Lab for Android
  • 3
    Sharing App via invites
  • 3
    Adwords, Admob integration
  • 2
    Dynamic Links (Deeplinking support)
  • 0
    Robust ALI

Sign up to add or upvote prosMake informed product decisions

Cons of Azure Cosmos DB
Cons of Cloud Firestore
  • 15
    Pricing
  • 3
    Poor No SQL query support
  • 6
    Doesn't support FullTextSearch natively

Sign up to add or upvote consMake informed product decisions

What is Azure Cosmos DB?

Azure DocumentDB is a fully managed NoSQL database service built for fast and predictable performance, high availability, elastic scaling, global distribution, and ease of development.

What is Cloud Firestore?

Cloud Firestore is a NoSQL document database that lets you easily store, sync, and query data for your mobile and web apps - at global scale.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Azure Cosmos DB?
What companies use Cloud Firestore?
See which teams inside your own company are using Azure Cosmos DB or Cloud Firestore.
Sign up for Private StackShareLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Azure Cosmos DB?
What tools integrate with Cloud Firestore?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Azure Cosmos DB and Cloud Firestore?
Azure SQL Database
It is the intelligent, scalable, cloud database service that provides the broadest SQL Server engine compatibility and up to a 212% return on investment. It is a database service that can quickly and efficiently scale to meet demand, is automatically highly available, and supports a variety of third party software.
MongoDB Atlas
MongoDB Atlas is a global cloud database service built and run by the team behind MongoDB. Enjoy the flexibility and scalability of a document database, with the ease and automation of a fully managed service on your preferred cloud.
MongoDB
MongoDB stores data in JSON-like documents that can vary in structure, offering a dynamic, flexible schema. MongoDB was also designed for high availability and scalability, with built-in replication and auto-sharding.
Neo4j
Neo4j stores data in nodes connected by directed, typed relationships with properties on both, also known as a Property Graph. It is a high performance graph store with all the features expected of a mature and robust database, like a friendly query language and ACID transactions.
MySQL
The MySQL software delivers a very fast, multi-threaded, multi-user, and robust SQL (Structured Query Language) database server. MySQL Server is intended for mission-critical, heavy-load production systems as well as for embedding into mass-deployed software.
See all alternatives