Softwr

Mobile Development · head to head

Apache Cordova vs Vitess

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
Vitess logo

Vitess

Databases

Scalable database clustering system for horizontal scaling of MySQL

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Apache Cordova lists targets iOS, Android and Electron; only Vitess lists horizontal Sharding.
  • Where Apache Cordova falls short: apps render in a web view, so UI is not native by default.
  • Where Vitess falls short: VTGate scatter queries without sharding key incur significant performance penalties.

How do Apache Cordova and Vitess differ?

Apache Cordova and Vitess differ on platforms, category (Mobile Development against Databases) and year founded (2008 against 2010). Only the attributes on which Apache Cordova and Vitess actually diverge.

Attributes where Apache Cordova and Vitess differ
AttributeApache CordovaVitess
PlatformsiOS, Android, Windows, macOS, LinuxLinux, macOS, Self-hosted
CategoryMobile DevelopmentDatabases
Founded20082010

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

Not yet recorded: pricing model for Vitess.

Which features does each one have?

They share no listed features; 6 appear only for Apache Cordova and 15 only for Vitess. 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 Vitess

  • Horizontal Sharding
  • Connection Pooling
  • Query Routing
  • Online Schema Changes
  • Shard Management
  • Replication Management
  • Automated Failover
  • MySQL

What is each one used for?

Apache Cordova is most often brought in for wrapping an existing web app as a mobile app; Vitess for transaction processing. The jobs each tool is most often brought in to do.

Apache Cordova

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

Vitess

  • Transaction processingnot Apache Cordova
  • Data storagenot Apache Cordova
  • Application backendnot Apache Cordova
  • Reportingnot Apache Cordova
  • Data analyticsnot Apache Cordova

Where do Apache Cordova and Vitess fall short?

Apache Cordova's most cited limit: apps render in a web view, so UI is not native by default. Vitess's: VTGate scatter queries without sharding key incur significant performance penalties. 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

Vitess

  • VTGate scatter queries without sharding key incur significant performance penalties
  • Foreign key constraints not enforced across shards, requiring application-level integrity handling
  • Single primary per keyspace limits multi-region write capabilities
  • Distributed transactions without proper sharding key routing suffer performance degradation

How much do Apache Cordova and Vitess cost?

Apache Cordova is free to use; Vitess is free to use. Plan by plan below, from each vendor's own pricing page.

Apache Cordova

Free

No published plan breakdown. See the Apache Cordova review.

Vitess

Free
  • Open source (Apache-2.0)Free

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 Vitess if

  • You need horizontal sharding.
  • You want to start without paying.
  • You work on Linux, macOS, Self-hosted.
  • You also want connection pooling.

Questions people ask

Is Apache Cordova or Vitess better?
It depends on the job. Apache Cordova fits wrapping an existing web app as a mobile app; Vitess fits transaction processing. Apache Cordova starts at Free and Vitess at Free.
Which is cheaper, Apache Cordova or Vitess?
Apache Cordova starts at Free and Vitess at Free.
Does Apache Cordova or Vitess run on more platforms?
Apache Cordova runs on iOS, Android, Windows, macOS, Linux. Vitess runs on Linux, macOS, Self-hosted.
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 Vitess is typically brought in for.
What can Apache Cordova do that Vitess 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. Vitess covers Horizontal Sharding, Connection Pooling, Query Routing, Online Schema Changes.

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
Vitess: Is Vitess free to use?

Yes. Vitess is completely free and open source under the Apache 2.0 license. It is a graduated CNCF project with no licensing costs or pricing tiers.

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
Vitess: What databases does Vitess support?

Vitess supports MySQL and MariaDB as backend databases. It acts as a middleware layer that adds sharding and orchestration capabilities on top of these databases.

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
Vitess: Does Vitess require Kubernetes to run?

No. Vitess can run on Kubernetes using the Vitess Operator, but it can also be deployed on traditional infrastructure. Kubernetes integration is optional and provides additional automation benefits.

Source
Vitess: How does Vitess handle cross-shard transactions?

Vitess supports distributed transactions across shards, but they require queries to be routed through the sharding key. Transactions without a proper sharding key can result in slower performance.

Source
Vitess: Does Vitess enforce foreign key constraints?

Vitess does not enforce foreign key constraints across shards by default. Referential integrity must be managed at the application layer, though per-database support can be enabled with limitations.

Source
Share

Related pages

Other head to heads