Softwr

Databases · head to head

Google App Engine vs Vitess

Google App Engine logo

Google App Engine

Databases

Google Cloud platform for deploying web apps without managing servers

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

  • Vitess is free; Google App Engine starts at $0.05/mo.
  • Only Google App Engine lists standard environment; only Vitess lists horizontal Sharding.
  • Where Google App Engine falls short: google Cloud Run suits most new container workloads better, so App Engine adds little for greenfield projects.
  • Where Vitess falls short: VTGate scatter queries without sharding key incur significant performance penalties.

How do Google App Engine and Vitess differ?

Google App Engine and Vitess differ on platforms. Only the attributes on which Google App Engine and Vitess actually diverge.

Attributes where Google App Engine and Vitess differ
AttributeGoogle App EngineVitess
PlatformsWeb, APILinux, macOS, Self-hosted

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

Not yet recorded: pricing model for Vitess, category for Google App Engine, founded for Google App Engine.

Which features does each one have?

They share no listed features; 5 appear only for Google App Engine 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 Google App Engine

  • Standard environment
  • Flexible environment
  • Automatic scaling
  • Traffic splitting
  • Managed services

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?

Google App Engine is most often brought in for A small web app or API that fits inside the daily free tier; Vitess for transaction processing. The jobs each tool is most often brought in to do.

Google App Engine

  • A small web app or API that fits inside the daily free tiernot Vitess
  • An existing App Engine codebase that needs to keep runningnot Vitess
  • A team wanting simple deploys without Kubernetesnot Vitess
  • Background services scaled to zero between requestsnot Vitess

Vitess

  • Transaction processingnot Google App Engine
  • Data storagenot Google App Engine
  • Application backendnot Google App Engine
  • Reportingnot Google App Engine
  • Data analyticsnot Google App Engine

Where do Google App Engine and Vitess fall short?

Google App Engine's most cited limit: google Cloud Run suits most new container workloads better, so App Engine adds little for greenfield projects. 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.

Google App Engine

  • Google Cloud Run suits most new container workloads better, so App Engine adds little for greenfield projects
  • The standard environment runs in language sandboxes with version and library limits that constrain what code can do
  • The flexible environment has no free tier and cannot scale to zero, so idle apps still incur charges
  • Some bundled services, such as the Search API, are legacy features with their own small free allowances
  • Apps are tightly bound to App Engine APIs, which makes moving off it to another cloud harder

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 Google App Engine and Vitess cost?

Google App Engine has a free plan, with paid plans from $0.05/mo; Vitess is free to use. Plan by plan below, from each vendor's own pricing page.

Google App Engine

Free
  • Standard environment$0.05/hour
    • F1 instances free for 28 hours per day per project
    • B1 instances free for 9 hours per day per project
    • Then $0.05 per instance hour for F1 and B1
  • Flexible environment$0.0526/hour
    • $0.0526 per vCPU hour
    • $0.0071 per GB of memory hour
    • No free tier

Vitess

Free
  • Open source (Apache-2.0)Free

Which should you pick?

Choose Google App Engine if

  • You need standard environment.
  • You want to start without paying.
  • You work on Web, API.
  • You also want flexible environment.

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 Google App Engine or Vitess better?
It depends on the job. Google App Engine fits a small web app or API that fits inside the daily free tier; Vitess fits transaction processing. Google App Engine starts at Free and Vitess at Free.
Which is cheaper, Google App Engine or Vitess?
Google App Engine starts at Free and Vitess at Free.
Does Google App Engine or Vitess run on more platforms?
Google App Engine runs on Web, API. Vitess runs on Linux, macOS, Self-hosted.
Can I use Google App Engine for free?
Both have a free tier, so you can try either at no cost before committing.
What is Google App Engine best used for?
Google App Engine is most often used for a small web app or api that fits inside the daily free tier, an existing app engine codebase that needs to keep running, a team wanting simple deploys without kubernetes, background services scaled to zero between requests. Of those, a small web app or api that fits inside the daily free tier and an existing app engine codebase that needs to keep running are not what Vitess is typically brought in for.
What can Google App Engine do that Vitess cannot?
Google App Engine covers Standard environment, Flexible environment, Automatic scaling, Traffic splitting. Vitess covers Horizontal Sharding, Connection Pooling, Query Routing, Online Schema Changes.

Answered from the vendors’ own pages

Google App Engine: Is App Engine free?

Standard has a daily free tier per project. The flexible environment has none.

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
Google App Engine: How is it billed?

Standard by instance hour by class, flexible by vCPU and memory hour.

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
Google App Engine: App Engine or Cloud Run?

Cloud Run suits most new container workloads. App Engine suits existing apps and simple deployments.

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