Softwr

APIs · head to head

PubNub vs Vitess

PubNub logo

PubNub

APIs

Realtime communication platform for chat, IoT, and live data 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

  • Vitess is free; PubNub starts at $98/mo.
  • Only PubNub lists pub/sub messaging; only Vitess lists horizontal Sharding.
  • Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.
  • Where Vitess falls short: VTGate scatter queries without sharding key incur significant performance penalties.

How do PubNub and Vitess differ?

PubNub and Vitess differ on platforms and category (APIs against Databases). Only the attributes on which PubNub and Vitess actually diverge.

Attributes where PubNub and Vitess differ
AttributePubNubVitess
PlatformsWeb, iOS, Android, APILinux, macOS, Self-hosted
CategoryAPIsDatabases

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

Not yet recorded: pricing model for Vitess.

Which features does each one have?

They share no listed features; 6 appear only for PubNub 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 PubNub

  • Pub/sub messaging
  • Presence tracking
  • Message persistence
  • Serverless Functions
  • File sharing
  • Encryption and access controls

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?

PubNub is most often brought in for building realtime chat applications; Vitess for transaction processing. The jobs each tool is most often brought in to do.

PubNub

  • Building realtime chat applicationsnot Vitess
  • Streaming live IoT sensor datanot Vitess
  • Adding presence indicators to collaborative appsnot Vitess
  • Running edge logic with serverless Functions on realtime eventsnot Vitess

Vitess

  • Transaction processingnot PubNub
  • Data storagenot PubNub
  • Application backendnot PubNub
  • Reportingnot PubNub
  • Data analyticsnot PubNub

Where do PubNub and Vitess fall short?

PubNub's most cited limit: free plan storage history is limited to 7 days, which is short for apps needing longer message retention. 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.

PubNub

  • Free plan storage history is limited to 7 days, which is short for apps needing longer message retention
  • MAU-based pricing means costs scale directly with user growth, which can be less predictable than flat message-based pricing
  • Pro-tier custom pricing above 50,000 MAU requires contacting sales rather than self-serve checkout

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 PubNub and Vitess cost?

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

PubNub

Free
  • FreeFree
    • Up to 200 MAU or 1M transactions
    • 1GB data storage (7 days)
    • 5 test Serverless Functions
  • Starter$98/mo
    • 1,000 MAU included
    • User management
    • Insights
  • ProOn request
    • Custom MAU packages
    • Volume discounts
    • Enterprise-scale configurations

Vitess

Free
  • Open source (Apache-2.0)Free

Which should you pick?

Choose PubNub if

  • You need pub/sub messaging.
  • You want to start without paying.
  • You work on Web, iOS, Android, API.
  • You also want presence tracking.

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 PubNub or Vitess better?
It depends on the job. PubNub fits building realtime chat applications; Vitess fits transaction processing. PubNub starts at Free and Vitess at Free.
Which is cheaper, PubNub or Vitess?
PubNub starts at Free and Vitess at Free.
Does PubNub or Vitess run on more platforms?
PubNub runs on Web, iOS, Android, API. Vitess runs on Linux, macOS, Self-hosted.
Can I use PubNub for free?
Both have a free tier, so you can try either at no cost before committing.
What is PubNub best used for?
PubNub is most often used for building realtime chat applications, streaming live iot sensor data, adding presence indicators to collaborative apps, running edge logic with serverless functions on realtime events. Of those, building realtime chat applications and streaming live iot sensor data are not what Vitess is typically brought in for.
What can PubNub do that Vitess cannot?
PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions. Vitess covers Horizontal Sharding, Connection Pooling, Query Routing, Online Schema Changes.

Answered from the vendors’ own pages

PubNub: What does PubNub cost?

PubNub offers a free plan for up to 200 MAU or 1 million transactions, a Starter plan at $98/month for 1,000 MAU, and custom Pro pricing for larger volumes, e.g. around $550/month for 10,000 MAU.

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
PubNub: Is there a free plan, and what are its limits?

Yes, the free plan supports up to 200 monthly active users or 1 million transactions, includes 1GB of data storage retained for 7 days, and requires no credit card.

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
PubNub: How is usage metered?

PubNub bills primarily by Monthly Active Users, defined as a unique user who connects at least once in a billing cycle; messages are bundled into MAU pricing with no separate per-message fees, and overage is billed proportionally.

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