Databases · head to head
Amazon ElastiCache vs PubNub

Amazon ElastiCache
Databases
AWS managed in-memory cache for Valkey, Redis OSS and Memcached
- From
- On request
- Free plan
- No

PubNub
APIs
Realtime communication platform for chat, IoT, and live data apps
- From
- Free
- Free plan
- Yes
The short version
- Amazon ElastiCache is an AWS managed in-memory caching service compatible.
- PubNub has a free plan, then $98/mo; Amazon ElastiCache starts at $0.084/mo.
- Only Amazon ElastiCache lists valkey, Redis OSS and Memcached engines; only PubNub lists pub/sub messaging.
- Where Amazon ElastiCache falls short: runs only inside AWS, so it is not usable on premises or in other clouds.
- Where PubNub falls short: free plan storage history is limited to 7 days, which is short for apps needing longer message retention.
How do Amazon ElastiCache and PubNub differ?
Amazon ElastiCache and PubNub differ on starting price (On request against Free), pricing model (Usage-based against Freemium) and free tier (No against Yes). Only the attributes on which Amazon ElastiCache and PubNub actually diverge.
| Attribute | Amazon ElastiCache | PubNub |
|---|---|---|
| Starting price | On request | Free |
| Pricing model | Usage-based | Freemium |
| Free tier | No | Yes |
| Platforms | Web | Web, iOS, Android, API |
| Category | Databases | APIs |
Not yet recorded: founded for Amazon ElastiCache.
Which features does each one have?
They share no listed features; 8 appear only for Amazon ElastiCache 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 Amazon ElastiCache
- Valkey, Redis OSS and Memcached engines
- Serverless caching
- Global Datastore cross-Region replication
- Durability options
- Semantic and prompt caching for AI workloads
- Encryption at rest and in transit
- IAM access control and VPC isolation
- Reserved nodes and Savings Plans
Only in PubNub
- Pub/sub messaging
- Presence tracking
- Message persistence
- Serverless Functions
- File sharing
- Encryption and access controls
What is each one used for?
Amazon ElastiCache is most often brought in for session and page caching for web apps; PubNub for building realtime chat applications. The jobs each tool is most often brought in to do.
Amazon ElastiCache
- Session and page caching for web appsnot PubNub
- Leaderboards using sorted setsnot PubNub
- Caching LLM prompts and semantic resultsnot PubNub
- Reducing load on primary databasesnot PubNub
PubNub
- Building realtime chat applicationsnot Amazon ElastiCache
- Streaming live IoT sensor datanot Amazon ElastiCache
- Adding presence indicators to collaborative appsnot Amazon ElastiCache
- Running edge logic with serverless Functions on realtime eventsnot Amazon ElastiCache
Where do Amazon ElastiCache and PubNub fall short?
Amazon ElastiCache's most cited limit: runs only inside AWS, so it is not usable on premises or in other clouds. 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.
Amazon ElastiCache
- Runs only inside AWS, so it is not usable on premises or in other clouds
- Partial hours are billed as full hours for on-demand nodes
- Redis OSS Extended Support carries an 80% premium in years 1 and 2
- Reserved node discounts are not available with Serverless
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 Amazon ElastiCache and PubNub cost?
Amazon ElastiCache starts at $0.084/mo; PubNub has a free plan, with paid plans from $98/mo. Plan by plan below, from each vendor's own pricing page.
Amazon ElastiCache
On request- Serverless Valkey data storage (per GB-hour)$0.084/hour
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 Amazon ElastiCache if
- You need valkey, redis oss and memcached engines.
- You also want serverless caching.
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 Amazon ElastiCache or PubNub better?
- It depends on the job. Amazon ElastiCache fits session and page caching for web apps; PubNub fits building realtime chat applications. Amazon ElastiCache starts at On request and PubNub at Free.
- Which is cheaper, Amazon ElastiCache or PubNub?
- PubNub has a free tier; the other does not. Paid plans start at On request for Amazon ElastiCache and Free for PubNub.
- Does Amazon ElastiCache or PubNub run on more platforms?
- Amazon ElastiCache runs on Web. PubNub runs on Web, iOS, Android, API.
- Can I use PubNub for free?
- Yes. PubNub has a free tier, so you can try it without paying. Amazon ElastiCache starts at On request.
- What is Amazon ElastiCache best used for?
- Amazon ElastiCache is most often used for session and page caching for web apps, leaderboards using sorted sets, caching llm prompts and semantic results, reducing load on primary databases. Of those, session and page caching for web apps and leaderboards using sorted sets are not what PubNub is typically brought in for.
- What can Amazon ElastiCache do that PubNub cannot?
- Amazon ElastiCache covers Valkey, Redis OSS and Memcached engines, Serverless caching, Global Datastore cross-Region replication, Durability options. PubNub covers Pub/sub messaging, Presence tracking, Message persistence, Serverless Functions.
Answered from the vendors’ own pages
Amazon ElastiCache: Which engines does ElastiCache support?
It supports Valkey, Redis OSS and Memcached.
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.
SourceAmazon ElastiCache: How is ElastiCache priced?
Options are on-demand nodes billed per node-hour, serverless billed by GB-hours of data and ECPUs, Database Savings Plans, and reserved nodes with 1 or 3 year terms. There is no minimum fee for on-demand or serverless.
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.
SourceAmazon ElastiCache: Is there a free tier?
For accounts created before 15 July 2025, 750 hours a month of cache.t3.micro for up to 12 months. Newer accounts choose a Free or Paid Plan that includes 100 dollars in credits.
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.
SourceAmazon ElastiCache: When did it launch?
ElastiCache launched on 22 August 2011 with Memcached, adding Redis in September 2013.
SourceRelated pages
More on Amazon ElastiCache
Other head to heads
- Amazon ElastiCache vs Valkey
- Amazon ElastiCache vs Memcached
- Amazon ElastiCache vs Redis
- Amazon ElastiCache vs Dragonfly
- Amazon ElastiCache vs Apache Ignite
- Amazon ElastiCache vs Exasol
- Amazon ElastiCache vs Readyset
- Amazon ElastiCache vs SAP HANA
- Amazon ElastiCache vs SingleStore
- Amazon ElastiCache vs PlanetScale
- Amazon ElastiCache vs Neon
- Amazon ElastiCache vs Aiven
- Amazon ElastiCache vs Couchbase
- Amazon ElastiCache vs Elasticsearch
- Amazon ElastiCache vs RabbitMQ
- Amazon ElastiCache vs Azure Cosmos DB
- Amazon ElastiCache vs Grist
- Amazon ElastiCache vs Apache Kafka
- Amazon ElastiCache vs Pusher
- Amazon ElastiCache vs Ably
- Amazon ElastiCache vs Liveblocks
- Amazon ElastiCache vs Novu
- Amazon ElastiCache vs Courier
- Amazon ElastiCache vs Svix
- Amazon ElastiCache vs Yapily
- Amazon ElastiCache vs Lithic
- Amazon ElastiCache vs MX Technologies
- Amazon ElastiCache vs Increase
- Amazon ElastiCache vs Solaris
- Amazon ElastiCache vs Token.io
- Amazon ElastiCache vs Appwrite
- Amazon ElastiCache vs Bruno
- Amazon ElastiCache vs Marqeta
- Amazon ElastiCache vs Temenos Transact
- Amazon ElastiCache vs Apidog
- Amazon ElastiCache vs Microsoft Azure API Management
- PubNub vs Valkey
- PubNub vs Memcached
- PubNub vs Redis
- PubNub vs Dragonfly
- PubNub vs Apache Ignite
- PubNub vs Exasol
- PubNub vs Readyset
- PubNub vs SAP HANA
- PubNub vs SingleStore
- PubNub vs PlanetScale
- PubNub vs Neon
- PubNub vs Aiven
- PubNub vs Couchbase
- PubNub vs Elasticsearch
- PubNub vs RabbitMQ
- PubNub vs Azure Cosmos DB
- PubNub vs Grist
- PubNub vs Apache Kafka
- 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
