Databases · head to head
Dragonfly vs PubNub

Dragonfly
Databases
High-performance Redis-compatible in-memory datastore with 25x better throughput
- 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
- Dragonfly is a modern in-memory data store.
- Free plans on both; paid from $36/mo and $98/mo.
- Only Dragonfly lists redis API compatibility; only PubNub lists pub/sub messaging.
- Where Dragonfly falls short: flex tier starting at $36/month may be underpriced, requiring careful usage monitoring.
- Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.
How do Dragonfly and PubNub differ?
Dragonfly and PubNub differ on pricing model, platforms and category (Databases against APIs). Only the attributes on which Dragonfly and PubNub actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Not yet recorded: founded for Dragonfly.
Which features does each one have?
They share no listed features; 8 appear only for Dragonfly 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 Dragonfly
- Redis API compatibility
- Thread-per-core architecture
- High-performance caching
- Memory efficiency
- Real-time leaderboards
- Message queue support
- ML feature serving
- Cloud deployment
Only in PubNub
- Pub/sub messaging
- Presence tracking
- Message persistence
- Serverless Functions
- File sharing
- Encryption and access controls
What is each one used for?
Dragonfly is most often brought in for high-throughput caching for web applications; PubNub for building realtime chat applications. The jobs each tool is most often brought in to do.
Dragonfly
- High-throughput caching for web applicationsnot PubNub
- Real-time leaderboards and rankingsnot PubNub
- Message queue and event processingnot PubNub
- ML model feature serving at millisecond latenciesnot PubNub
- Gaming session state and player data storagenot PubNub
PubNub
- Building realtime chat applicationsnot Dragonfly
- Streaming live IoT sensor datanot Dragonfly
- Adding presence indicators to collaborative appsnot Dragonfly
- Running edge logic with serverless Functions on realtime eventsnot Dragonfly
Where do Dragonfly and PubNub fall short?
Dragonfly's most cited limit: flex tier starting at $36/month may be underpriced, requiring careful usage monitoring. 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.
Dragonfly
- Flex tier starting at $36/month may be underpriced, requiring careful usage monitoring
- Business tier $2,000/month represents significant jump in cost
- Limited to in-memory storage, not suitable for cold data or archival
- Bring-your-own-cloud requirement on Business tier adds operational complexity
- Cloud availability dependent on AWS/GCP/Azure uptime
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 Dragonfly and PubNub cost?
Dragonfly has a free plan, with paid plans from $36/mo; PubNub has a free plan, with paid plans from $98/mo. Plan by plan below, from each vendor's own pricing page.
Dragonfly
Free- Free TierFree
- 100 cloud credits for new signups
- Equivalent to free trial
- Business$2,000/mo
- Starting price for enterprise offering
- Bring-your-own-cloud deployment
- Auto-scaling with custom SLAs
- EnterpriseOn request
- Custom pricing
- Any-cloud deployment
- Custom instances and sizing
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 Dragonfly if
- You need redis api compatibility.
- You want to start without paying.
- You work on Web, AWS, GCP, Azure.
- You also want thread-per-core architecture.
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 Dragonfly or PubNub better?
- It depends on the job. Dragonfly fits high-throughput caching for web applications; PubNub fits building realtime chat applications. Dragonfly starts at Free and PubNub at Free.
- Which is cheaper, Dragonfly or PubNub?
- Dragonfly starts at Free and PubNub at Free.
- Does Dragonfly or PubNub run on more platforms?
- Dragonfly runs on Web, AWS, GCP, Azure. PubNub runs on Web, iOS, Android, API.
- Can I use Dragonfly for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Dragonfly best used for?
- Dragonfly is most often used for high-throughput caching for web applications, real-time leaderboards and rankings, message queue and event processing, ml model feature serving at millisecond latencies. Of those, high-throughput caching for web applications and real-time leaderboards and rankings are not what PubNub is typically brought in for.
- What can Dragonfly do that PubNub cannot?
- Dragonfly covers Redis API compatibility, Thread-per-core architecture, High-performance caching, Memory efficiency. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.
Answered from the vendors’ own pages
Dragonfly: How much faster is Dragonfly than Redis?
Dragonfly achieves 3.97M queries per second compared to Redis's 718K QPS, representing a 25x improvement. Memory efficiency is also 30% better.
SourcePubNub: 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.
SourceDragonfly: Can I migrate from Redis to Dragonfly without code changes?
Yes. Dragonfly maintains full API compatibility with Redis and Memcached, allowing drop-in replacement with minimal to no code modifications.
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.
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.
SourceRelated pages
Other head to heads
- Dragonfly vs Redis
- Dragonfly vs Valkey
- Dragonfly vs Amazon ElastiCache
- Dragonfly vs Upstash
- Dragonfly vs Memcached
- Dragonfly vs Readyset
- Dragonfly vs SAP HANA
- Dragonfly vs SingleStore
- Dragonfly vs Apache Druid
- Dragonfly vs TiDB
- Dragonfly vs ScyllaDB
- Dragonfly vs QuestDB
- Dragonfly vs StarRocks
- Dragonfly vs Aiven
- Dragonfly vs Meilisearch
- Dragonfly vs Apache Airflow
- Dragonfly vs Apache Pulsar
- Dragonfly vs Cassandra
- Dragonfly vs Pusher
- Dragonfly vs Ably
- Dragonfly vs Liveblocks
- Dragonfly vs Novu
- Dragonfly vs Courier
- Dragonfly vs Svix
- Dragonfly vs Yapily
- Dragonfly vs Lithic
- Dragonfly vs MX Technologies
- Dragonfly vs Increase
- Dragonfly vs Solaris
- Dragonfly vs Token.io
- Dragonfly vs Appwrite
- Dragonfly vs Bruno
- Dragonfly vs Marqeta
- Dragonfly vs Temenos Transact
- Dragonfly vs Apidog
- Dragonfly vs Microsoft Azure API Management
- PubNub vs Redis
- PubNub vs Valkey
- PubNub vs Amazon ElastiCache
- PubNub vs Upstash
- PubNub vs Memcached
- PubNub vs Readyset
- PubNub vs SAP HANA
- PubNub vs SingleStore
- PubNub vs Apache Druid
- PubNub vs TiDB
- PubNub vs ScyllaDB
- PubNub vs QuestDB
- PubNub vs StarRocks
- PubNub vs Aiven
- PubNub vs Meilisearch
- PubNub vs Apache Airflow
- PubNub vs Apache Pulsar
- PubNub vs Cassandra
- 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
