APIs · head to head
PubNub vs Vitess

PubNub
APIs
Realtime communication platform for chat, IoT, and live data apps
- From
- Free
- Free plan
- Yes

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.
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.
SourceVitess: 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.
SourcePubNub: 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.
SourceVitess: 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.
SourcePubNub: 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.
SourceVitess: 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.
SourceVitess: 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.
SourceVitess: 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.
SourceRelated pages
Other head to heads
- PubNub vs Pusher
- PubNub vs Ably
- PubNub vs Liveblocks
- PubNub vs Novu
- PubNub vs Courier
- PubNub vs Svix
- PubNub vs Yapily
- PubNub vs Lithic
- PubNub vs MX Technologies
- PubNub vs Increase
- PubNub vs Solaris
- PubNub vs Token.io
- PubNub vs Appwrite
- PubNub vs Bruno
- PubNub vs Marqeta
- PubNub vs Temenos Transact
- PubNub vs Apidog
- PubNub vs Microsoft Azure API Management
- PubNub vs Amazon Aurora
- PubNub vs CockroachDB
- PubNub vs TiDB
- PubNub vs YugabyteDB
- PubNub vs SingleStore
- PubNub vs Readyset
- PubNub vs MySQL
- PubNub vs NATS
- PubNub vs Microsoft Access
- PubNub vs ClickHouse
- PubNub vs PostgreSQL
- PubNub vs RabbitMQ
- PubNub vs Google Cloud SQL
- PubNub vs MotherDuck
- PubNub vs Presto
- PubNub vs TIBCO Enterprise Message Service
- PubNub vs VerneMQ
- PubNub vs Xata
- Vitess vs Pusher
- Vitess vs Ably
- Vitess vs Liveblocks
- Vitess vs Novu
- Vitess vs Courier
- Vitess vs Svix
- Vitess vs Yapily
- Vitess vs Lithic
- Vitess vs MX Technologies
- Vitess vs Increase
- Vitess vs Solaris
- Vitess vs Token.io
- Vitess vs Appwrite
- Vitess vs Bruno
- Vitess vs Marqeta
- Vitess vs Temenos Transact
- Vitess vs Apidog
- Vitess vs Microsoft Azure API Management
- Vitess vs Amazon Aurora
- Vitess vs CockroachDB
- Vitess vs TiDB
- Vitess vs YugabyteDB
- Vitess vs SingleStore
- Vitess vs Readyset
- Vitess vs MySQL
- Vitess vs NATS
- Vitess vs Microsoft Access
- Vitess vs ClickHouse
- Vitess vs PostgreSQL
- Vitess vs RabbitMQ
- Vitess vs Google Cloud SQL
- Vitess vs MotherDuck
- Vitess vs Presto
- Vitess vs TIBCO Enterprise Message Service
- Vitess vs VerneMQ
- Vitess vs Xata
