Softwr

Databases · head to head

OpenSearch vs PubNub

OpenSearch logo

OpenSearch

Databases

Open-source search and analytics suite forked from Elasticsearch

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

  • OpenSearch is free; PubNub starts at $98/mo.
  • Only OpenSearch lists full-text search; only PubNub lists pub/sub messaging.
  • Where OpenSearch falls short: diverged from Elasticsearch since 7.10, so clients, plugins and features no longer map one to one.
  • Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.

How do OpenSearch and PubNub differ?

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

Attributes where OpenSearch and PubNub differ
AttributeOpenSearchPubNub
Pricing modelOpen source, no licence fee; managed services billed separatelyFreemium
PlatformsLinux, Self-hostedWeb, iOS, Android, API
CategoryDatabasesAPIs
Founded20212010

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

Which features does each one have?

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

  • Full-text search
  • OpenSearch Dashboards
  • Log analytics
  • Vector search

Only in PubNub

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

What is each one used for?

OpenSearch is most often brought in for log and observability storage where an Apache-2.0 licence is a requirement; PubNub for building realtime chat applications. The jobs each tool is most often brought in to do.

OpenSearch

  • Log and observability storage where an Apache-2.0 licence is a requirementnot PubNub
  • Replacing Elasticsearch after the licence change without changing architecturenot PubNub
  • Search plus analytics on one cluster rather than two systemsnot PubNub

PubNub

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

Where do OpenSearch and PubNub fall short?

OpenSearch's most cited limit: diverged from Elasticsearch since 7.10, so clients, plugins and features no longer map one to one. 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.

OpenSearch

  • Diverged from Elasticsearch since 7.10, so clients, plugins and features no longer map one to one
  • Operationally heavy in the way Elasticsearch is: cluster sizing, shard strategy and JVM tuning are ongoing work
  • Smaller ecosystem of third-party tooling than Elasticsearch, which most integrations still target first
  • Overkill for plain application search, where a dedicated search engine is far simpler

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

OpenSearch 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.

OpenSearch

Free
  • OpenSearchFree
    • Full functionality
    • Self-hosted
    • No usage limits

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

  • You need full-text search.
  • You want to start without paying.
  • You work on Linux, Self-hosted.
  • You also want opensearch dashboards.

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 OpenSearch or PubNub better?
It depends on the job. OpenSearch fits log and observability storage where an Apache-2.0 licence is a requirement; PubNub fits building realtime chat applications. OpenSearch starts at Free and PubNub at Free.
Which is cheaper, OpenSearch or PubNub?
OpenSearch starts at Free and PubNub at Free.
Does OpenSearch or PubNub run on more platforms?
OpenSearch runs on Linux, Self-hosted. PubNub runs on Web, iOS, Android, API.
Can I use OpenSearch for free?
Both have a free tier, so you can try either at no cost before committing.
What is OpenSearch best used for?
OpenSearch is most often used for log and observability storage where an apache-2.0 licence is a requirement, replacing elasticsearch after the licence change without changing architecture, search plus analytics on one cluster rather than two systems. Of those, log and observability storage where an apache-2.0 licence is a requirement and replacing elasticsearch after the licence change without changing architecture are not what PubNub is typically brought in for.
What can OpenSearch do that PubNub cannot?
OpenSearch covers Full-text search, OpenSearch Dashboards, Log analytics, Vector search. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.

Answered from the vendors’ own pages

OpenSearch: Is OpenSearch free?

Yes, Apache 2.0 licensed under the Linux Foundation. Amazon OpenSearch Service is a paid managed option.

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
OpenSearch: Why does OpenSearch exist?

Elastic moved Elasticsearch off the Apache 2.0 licence in 2021. AWS forked the last Apache-licensed version, and the project now sits under the Linux Foundation.

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
OpenSearch: Is OpenSearch compatible with Elasticsearch?

It was at the 7.10 fork point. Both have developed independently since, so compatibility weakens with every release and should be verified for the features you use.

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