Softwr

Databases · head to head

Apache Pulsar vs PubNub

Apache Pulsar logo

Apache Pulsar

Databases

Cloud-native messaging and streaming with separated storage

From
Free
Free plan
Yes
PubNub logo

PubNub

APIs

Realtime communication platform for chat, IoT, and live data apps

From
Free
Free plan
Yes

The short version

  • Apache Pulsar is free; PubNub starts at $98/mo.
  • Only Apache Pulsar lists separated storage; only PubNub lists pub/sub messaging.
  • Where Apache Pulsar falls short: more components than Kafka: brokers, BookKeeper and ZooKeeper each need operating.
  • Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.

How do Apache Pulsar and PubNub differ?

Apache Pulsar and PubNub differ on pricing model, platforms and category (Databases against APIs). Only the attributes on which Apache Pulsar and PubNub actually diverge.

Attributes where Apache Pulsar and PubNub differ
AttributeApache PulsarPubNub
Pricing modelOpen source, no licence feeFreemium
PlatformsLinux, Self-hostedWeb, iOS, Android, API
CategoryDatabasesAPIs

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

Not yet recorded: founded for Apache Pulsar.

Which features does each one have?

They share no listed features; 4 appear only for Apache Pulsar 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 Pulsar

  • Separated storage
  • Queuing and streaming
  • Built-in multi-tenancy
  • Geo-replication

Only in PubNub

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

What is each one used for?

Apache Pulsar is most often brought in for multi-tenant messaging where isolation between teams is a requirement; PubNub for building realtime chat applications. The jobs each tool is most often brought in to do.

Apache Pulsar

  • Platforms needing both work queues and replayable streams without running two systemsnot PubNub
  • Multi-tenant messaging where isolation between teams is a requirementnot PubNub
  • Deployments where storage and traffic grow at genuinely different ratesnot PubNub

PubNub

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

Where do Apache Pulsar and PubNub fall short?

Apache Pulsar's most cited limit: more components than Kafka: brokers, BookKeeper and ZooKeeper each need operating. PubNub's: 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 Pulsar

  • More components than Kafka: brokers, BookKeeper and ZooKeeper each need operating
  • Correspondingly harder to run well, and the expertise is rarer than Kafka expertise
  • A much smaller ecosystem of connectors, tooling and hiring pool than Kafka
  • The architectural advantages only pay off at a scale most deployments never reach

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

Apache Pulsar 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 Pulsar

Free
  • Apache PulsarFree
    • Full functionality
    • No usage limits
    • Community support

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

  • You need separated storage.
  • You want to start without paying.
  • You work on Linux, Self-hosted.
  • You also want queuing and streaming.

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 Pulsar or PubNub better?
It depends on the job. Apache Pulsar fits platforms needing both work queues and replayable streams without running two systems; PubNub fits building realtime chat applications. Apache Pulsar starts at Free and PubNub at Free.
Which is cheaper, Apache Pulsar or PubNub?
Apache Pulsar starts at Free and PubNub at Free.
Does Apache Pulsar or PubNub run on more platforms?
Apache Pulsar runs on Linux, Self-hosted. PubNub runs on Web, iOS, Android, API.
Can I use Apache Pulsar for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache Pulsar best used for?
Apache Pulsar is most often used for platforms needing both work queues and replayable streams without running two systems, multi-tenant messaging where isolation between teams is a requirement, deployments where storage and traffic grow at genuinely different rates. Of those, platforms needing both work queues and replayable streams without running two systems and multi-tenant messaging where isolation between teams is a requirement are not what PubNub is typically brought in for.
What can Apache Pulsar do that PubNub cannot?
Apache Pulsar covers Separated storage, Queuing and streaming, Built-in multi-tenancy, Geo-replication. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.

Answered from the vendors’ own pages

Apache Pulsar: Is Apache Pulsar free?

Yes, open source under the Apache Software Foundation.

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
Apache Pulsar: Pulsar or Kafka?

Pulsar separates storage from compute and covers queuing and streaming in one system. Kafka has a far larger ecosystem and hiring pool. Most teams should have a specific reason before choosing Pulsar.

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
Apache Pulsar: Why does separated storage matter?

Brokers hold no data, so adding or replacing one requires no rebalancing, and storage can grow without adding serving capacity.

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
Share

Related pages

Other head to heads