Softwr

Mobile Development · head to head

Apache Cordova vs CockroachDB

Apache Cordova logo

Apache Cordova

Mobile Development

Open source framework for wrapping HTML, CSS and JavaScript apps as mobile apps

From
Free
Free plan
Yes
CockroachDB logo

CockroachDB

Databases

The cloud-native distributed SQL database

From
Free
Free plan
Yes

The short version

  • CockroachDB is a cloud-native distributed SQL database.
  • Apache Cordova is free; CockroachDB starts at $0.057/mo.
  • Only Apache Cordova lists targets iOS, Android and Electron; only CockroachDB lists distributed SQL.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where CockroachDB falls short: basic and Standard tiers limited to AWS and GCP (select regions only).

How do Apache Cordova and CockroachDB differ?

Apache Cordova and CockroachDB differ on pricing model (Open-source against Freemium), platforms and category (Mobile Development against Databases). Only the attributes on which Apache Cordova and CockroachDB actually diverge.

Attributes where Apache Cordova and CockroachDB differ
AttributeApache CordovaCockroachDB
Pricing modelOpen-sourceFreemium
PlatformsiOS, Android, Windows, macOS, LinuxAWS, GCP, Azure
CategoryMobile DevelopmentDatabases
Founded20082015

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 6 appear only for Apache Cordova and 20 only for CockroachDB. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Apache Cordova

  • Single JavaScript API for device functions
  • Plugin system managed from the command line
  • Targets iOS, Android and Electron
  • HTML, CSS and JavaScript app code
  • Apache 2.0 open source licence
  • Platform feature support documentation

Only in CockroachDB

  • Distributed SQL
  • Automatic Sharding
  • Multi-region Replication
  • Geo-partitioning
  • ACID Transactions
  • Horizontal Scaling
  • Survivability
  • PostgreSQL Compatibility

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; CockroachDB for distributed SQL database for scalable applications. The jobs each tool is most often brought in to do.

Apache Cordova

  • Wrapping an existing web app as a mobile appnot CockroachDB
  • Single codebase for iOS and Androidnot CockroachDB
  • Prototyping mobile apps with web skillsnot CockroachDB
  • Accessing device features from JavaScript through pluginsnot CockroachDB

CockroachDB

  • Distributed SQL database for scalable applicationsnot Apache Cordova
  • Multi-region deployment and failovernot Apache Cordova

Where do Apache Cordova and CockroachDB fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. CockroachDB's: basic and Standard tiers limited to AWS and GCP (select regions only). Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache Cordova

  • Apps render in a web view, so UI is not native by default
  • No built-in UI component library or hosted build service
  • Adobe's PhoneGap Build cloud service was discontinued in 2020
  • Many platforms listed in older versions, such as BlackBerry and Tizen, are no longer supported

CockroachDB

  • Basic and Standard tiers limited to AWS and GCP (select regions only)
  • Azure support restricted to Advanced tier only
  • Basic tier limited to 50 million RUs and 10 GiB storage per month
  • Advanced tier starts at $0.60/hour for 4 vCPUs minimum
  • 3 TiB maximum storage on Basic and Standard tiers, 10 TiB per node on Advanced

How much do Apache Cordova and CockroachDB cost?

Apache Cordova is free to use; CockroachDB has a free plan, with paid plans from $0.057/mo. Plan by plan below, from each vendor's own pricing page.

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

CockroachDB

Free
  • Standard$0.057/vcpu-hour
  • Mission Critical$0.162/vcpu-hour

Which should you pick?

Choose Apache Cordova if

  • You need single javascript api for device functions.
  • You want to start without paying.
  • You work on iOS, Android, Windows, macOS, Linux.
  • You also want plugin system managed from the command line.

Choose CockroachDB if

  • You need distributed sql.
  • You want to start without paying.
  • You work on AWS, GCP, Azure.
  • You also want automatic sharding.

Questions people ask

Is Apache Cordova or CockroachDB better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; CockroachDB fits distributed SQL database for scalable applications. Apache Cordova starts at Free and CockroachDB at Free.
Which is cheaper, Apache Cordova or CockroachDB?
Apache Cordova starts at Free and CockroachDB at Free.
Does Apache Cordova or CockroachDB run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. CockroachDB runs on AWS, GCP, Azure.
Can I use Apache Cordova for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache Cordova best used for?
Apache Cordova is most often used for wrapping an existing web app as a mobile app, single codebase for ios and android, prototyping mobile apps with web skills, accessing device features from javascript through plugins. Of those, wrapping an existing web app as a mobile app and single codebase for ios and android are not what CockroachDB is typically brought in for.
What can Apache Cordova do that CockroachDB cannot?
Apache Cordova covers Single JavaScript API for device functions, Plugin system managed from the command line, Targets iOS, Android and Electron, HTML, CSS and JavaScript app code. CockroachDB covers Distributed SQL, Automatic Sharding, Multi-region Replication, Geo-partitioning.

Answered from the vendors’ own pages

Apache Cordova: Is Apache Cordova free?

Yes. The project describes itself as free and open source under the Apache License 2.0, maintained by the Apache Software Foundation.

Source
CockroachDB: What does the free Basic tier include?

The Basic tier is free and includes 50 million RUs and 10 GiB storage per month, with a maximum compute of 30K RU/sec. No credit card is required to start.

Source
Apache Cordova: How is Cordova related to PhoneGap?

Nitobi Software developed PhoneGap in 2008 and Adobe acquired Nitobi in October 2011. The code was contributed to Apache and renamed Cordova.

Source
CockroachDB: How much do the paid tiers cost?

Standard tier starts at $0.18 per hour for 2 vCPUs, and Advanced tier starts at $0.60 per hour for 4 vCPUs. Both tiers support additional resources with higher costs for increased compute and storage.

Source
Apache Cordova: Which platforms does Cordova support?

As of version 11, iOS, Android, Windows 8.1, Windows Phone 8.1, Windows 10 and Electron are listed on Wikipedia. The project site has a page of per-platform feature support.

Source
CockroachDB: What are the storage limits for each tier?

Basic plan supports up to 3 TiB storage, Standard tier up to 3 TiB, and Advanced tier up to 10 TiB per node with unlimited total storage.

Source
CockroachDB: Can I get trial credits before paying?

Yes, new users can try CockroachDB free with $400 in credits. The Basic and Standard plans do not require a credit card to start.

Source
CockroachDB: Do legacy contracts have different pricing?

Customers with annual or multi-year contracts entered before December 1, 2024 can view legacy pricing terms on a separate page, which apply until their contract renewal date.

Source
Share

Related pages

Other head to heads