Databases · head to head
Apache Doris vs PubNub

Apache Doris
Databases
MPP analytical database with a MySQL wire protocol and sub-second aggregation on wide tables
- From
- Free
- Free plan
- Yes

PubNub
APIs
Realtime communication platform for chat, IoT, and live data apps
- From
- Free
- Free plan
- Yes
The short version
- Apache Doris is free; PubNub starts at $98/mo.
- Only Apache Doris lists MySQL wire protocol; only PubNub lists pub/sub messaging.
- Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.
- Prices and features on this page were last checked on 20 November 2026.
How do Apache Doris and PubNub differ?
Apache Doris and PubNub differ on pricing model, platforms and category (Databases against APIs). Only the attributes on which Apache Doris and PubNub actually diverge.
| Attribute | Apache Doris | PubNub |
|---|---|---|
| Pricing model | Open source, no licence fee | Freemium |
| Platforms | Linux, Self-hosted | Web, iOS, Android, API |
| Category | Databases | APIs |
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for Apache Doris.
Which features does each one have?
They share no listed features; 8 appear only for Apache Doris and 6 only for PubNub. 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 Doris
- MySQL wire protocol
- Aggregate and unique key models
- Materialised views
- Multi-catalogue federation
- Routine load from Kafka
- Compute storage separation
- Inverted indexes
- Workload groups
Only in PubNub
- Pub/sub messaging
- Presence tracking
- Message persistence
- Serverless Functions
- File sharing
- Encryption and access controls
What is each one used for?
PubNub is most often brought in for building realtime chat applications. The jobs each tool is most often brought in to do.
Apache Doris
- A team whose MySQL read replica can no longer serve reporting queries and wants an OLAP engine its existing drivers already speaknot PubNub
- A real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent usersnot PubNub
- An ad or ecommerce platform that needs updates and deletes on analytical tables, which append-only OLAP engines handle badlynot PubNub
- A data team that wants one SQL endpoint over both internal tables and existing Hive or Iceberg tables in the lakenot PubNub
PubNub
- Building realtime chat applicationsnot Apache Doris
- Streaming live IoT sensor datanot Apache Doris
- Adding presence indicators to collaborative appsnot Apache Doris
- Running edge logic with serverless Functions on realtime eventsnot Apache Doris
Where do Apache Doris and PubNub 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. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Apache Doris
- Two competing commercial vendors, VeloDB and SelectDB, were founded by overlapping core contributors, which makes the long-term governance and roadmap of the project harder to predict than a single-sponsor project
- A large share of design discussion, issue reports and documentation detail originates in Chinese, so teams that do not read it get a thinner picture of known problems and workarounds
- Operating a cluster means managing frontend and backend node roles, tablet balancing and compaction tuning, and compaction backlogs under heavy upsert load are a recurring production complaint
- The MySQL protocol compatibility is at the wire level, not full MySQL semantics, so queries and functions still need porting and the familiarity can mislead
- Managed cloud availability outside China and major clouds is limited compared with ClickHouse or Snowflake, so many Western adopters end up self-hosting whether they wanted to or not
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
How much do Apache Doris and PubNub cost?
Apache Doris is free to use; PubNub has a free plan, with paid plans from $98/mo. Plan by plan below, from each vendor's own pricing page.
Apache Doris
Free- Apache DorisFree
- Apache 2.0 licence with no usage restrictions
- All engine features included
- Community support via mailing list and Slack
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
Which should you pick?
Choose Apache Doris if
- You need mysql wire protocol.
- You want to start without paying.
- You work on Linux, Self-hosted.
- You also want aggregate and unique key models.
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.
Questions people ask
- Is Apache Doris or PubNub better?
- Neither clearly leads. Apache Doris starts at Free and PubNub at Free, and user ratings are close enough to be indistinguishable. Choose on capability and platform support.
- Which is cheaper, Apache Doris or PubNub?
- Apache Doris starts at Free and PubNub at Free.
- Does Apache Doris or PubNub run on more platforms?
- Apache Doris runs on Linux, Self-hosted. PubNub runs on Web, iOS, Android, API.
- Can I use Apache Doris for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Apache Doris best used for?
- Apache Doris is most often used for a team whose mysql read replica can no longer serve reporting queries and wants an olap engine its existing drivers already speak, a real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent users, an ad or ecommerce platform that needs updates and deletes on analytical tables, which append-only olap engines handle badly, a data team that wants one sql endpoint over both internal tables and existing hive or iceberg tables in the lake. Of those, a team whose mysql read replica can no longer serve reporting queries and wants an olap engine its existing drivers already speak and a real-time dashboard backend needing sub-second aggregation over billions of rows with hundreds of concurrent users are not what PubNub is typically brought in for.
- What can Apache Doris do that PubNub cannot?
- Apache Doris covers MySQL wire protocol, Aggregate and unique key models, Materialised views, Multi-catalogue federation. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.
Answered from the vendors’ own pages
Apache Doris: Is Apache Doris really free?
Yes, it is Apache 2.0 with no usage restrictions. The commercial products are managed services from VeloDB and SelectDB.
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.
SourceApache Doris: Can I use my MySQL tools with it?
Yes, it implements the MySQL wire protocol, so clients and BI connectors attach without a new driver, though SQL semantics differ.
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.
SourceApache Doris: How does it compare with ClickHouse?
Doris handles updates and high concurrency more comfortably; ClickHouse is generally faster on raw single-query scan throughput and has far wider Western support.
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.
SourceApache Doris: Who maintains it?
The Apache Software Foundation project, with most committers employed by VeloDB or SelectDB.
Related pages
More on Apache Doris
Other head to heads
- Apache Doris vs StarRocks
- Apache Doris vs ClickHouse
- Apache Doris vs Tinybird
- Apache Doris vs DuckDB
- Apache Doris vs Firebolt
- Apache Doris vs Amazon Redshift
- Apache Doris vs TiDB
- Apache Doris vs Trino
- Apache Doris vs Solace PubSub+
- Apache Doris vs BigQuery
- Apache Doris vs Dragonfly
- Apache Doris vs Dremio
- Apache Doris vs TimescaleDB
- Apache Doris vs Apache Spark
- Apache Doris vs ArangoDB
- Apache Doris vs MariaDB
- Apache Doris vs Materialize
- Apache Doris vs Oracle Database
- Apache Doris vs Pusher
- Apache Doris vs Ably
- Apache Doris vs Liveblocks
- Apache Doris vs Svix
- Apache Doris vs Yapily
- Apache Doris vs Lithic
- Apache Doris vs MX Technologies
- Apache Doris vs Increase
- Apache Doris vs Solaris
- Apache Doris vs Token.io
- Apache Doris vs Moov
- Apache Doris vs Skaleet
- Apache Doris vs Salt Edge
- Apache Doris vs Stoplight
- Apache Doris vs Hasura
- Apache Doris vs PocketBase
- Apache Doris vs Temenos Transact
- Apache Doris vs Gravitee
- PubNub vs StarRocks
- PubNub vs ClickHouse
- PubNub vs Tinybird
- PubNub vs DuckDB
- PubNub vs Firebolt
- PubNub vs Amazon Redshift
- PubNub vs TiDB
- PubNub vs Trino
- PubNub vs Solace PubSub+
- PubNub vs BigQuery
- PubNub vs Dragonfly
- PubNub vs Dremio
- PubNub vs TimescaleDB
- PubNub vs Apache Spark
- PubNub vs ArangoDB
- PubNub vs MariaDB
- PubNub vs Materialize
- PubNub vs Oracle Database
- PubNub vs Pusher
- PubNub vs Ably
- PubNub vs Liveblocks
- 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 Moov
- PubNub vs Skaleet
- PubNub vs Salt Edge
- PubNub vs Stoplight
- PubNub vs Hasura
- PubNub vs PocketBase
- PubNub vs Temenos Transact
- PubNub vs Gravitee
