When comparing CouchDB vs Google Firebase, the Slant community recommends CouchDB for most people. In the question“What are the best non-relational databases for web apps?” CouchDB is ranked 1st while Google Firebase is ranked 6th. The most important reason people chose CouchDB is:
CouchDB works very well even when the network is physically partitioned
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Works well between physical network partitions
CouchDB works very well even when the network is physically partitioned
Pro Available
CouchDB is considered an available DMS according to the ACP theory of database management. As such it allows every client to always read and write
Pro Useful for applications where versioning is important
CouchDB is mostly used in applications where a large amount of data needs to be accumulated and where data only changes rarely.
Pro Changes API
You can use the RESTful API to listen for changes in your database, which is something most databases can't do. It makes it really easy for clients to keep their view of data up-to-date.
Pro RESTful API
Since everything is stored as a JSON document and served over HTTP, it's perfectly suited for communicating with client-side javascript, with or without middleware.
Pro Flexible Pricing
The Blaze Plan is a pay-as-you-go plan, which is, you pay for what you use, without overhead or upfront costs.
Pro Straightforward hosting
Powered by Google's Cloud Platform, Firebase allows you to deploy static web pages or web applications with a nifty Node.js-based CLI Tool.
Pro Super fast CDN
All static website content is hosted on the Fastly CDN making your website really fast.
Pro More than just hosting web applications
In the core of Firebase allows you to do testing for Android apps, Analytics, Real-time Database, and many more. It's centered mostly for progressive web applications and mobile applications with real-time connectivity to your service.
Pro Almost free if you add Cloudflare in front (no bandwidth costs) and cache effectively
The built-in CDN is great too, but if you're concerned about bandwidth costs, using it with Cloudflare is an excellent option option.
Cons
Con Can only achieve consistency through replication and verification
Since CouchDB is considered an AP (Available, Partition-Tolerant database management system), it is not really consistent (not all clients can have the same view of the data consistently) and the only way to achieve some "eventual consistency" is through replication and verification of data.
Con Uncertain future
After a very promising start, development began to drag after major supporters like Canonical, Selenium and CouchOne either shut down or moved to other tools. Development has begun to pick up again.
Con Google blocks Access
Some Google services, software and cloud systems, are not available to certain countries. blocked access by google following USA Policies.
Con Linked to Google Cloud Platform
If you don't have a Google Account, you won't be able to access Google cloud services, including this one.
