Softwr

APIs · head to head

Ably vs CockroachDB

Ably logo

Ably

APIs

Realtime data delivery platform for pub/sub messaging at scale

From
Free
Free plan
Yes
CockroachDB logo

CockroachDB

Databases

The cloud-native distributed SQL database

From
Free
Free plan
Yes

The short version

  • CockroachDB is a cloud-native distributed SQL database.
  • Free plans on both; paid from $29/mo and $0.057/mo.
  • Only Ably lists pub/sub messaging; only CockroachDB lists distributed SQL.
  • Where Ably falls short: the jump from Standard ($29/month) to Pro ($399/month) is steep for teams needing more than 10k connections but not full Pro capacity.
  • Where CockroachDB falls short: basic and Standard tiers limited to AWS and GCP (select regions only).

How do Ably and CockroachDB differ?

Ably and CockroachDB differ on platforms and category (APIs against Databases). Only the attributes on which Ably and CockroachDB actually diverge.

Attributes where Ably and CockroachDB differ
AttributeAblyCockroachDB
PlatformsWeb, iOS, Android, APIAWS, GCP, Azure
CategoryAPIsDatabases

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

Not yet recorded: founded for Ably.

Which features does each one have?

They share 1 listed feature; 5 appear only for Ably and 19 only for CockroachDB. 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 Ably

  • Pub/sub messaging
  • Presence
  • Message persistence
  • Multi-protocol support
  • Datadog integration

Only in CockroachDB

  • Distributed SQL
  • Automatic Sharding
  • Multi-region Replication
  • Geo-partitioning
  • ACID Transactions
  • Horizontal Scaling
  • Survivability
  • PostgreSQL Compatibility

Both cover

  • Encryption

What is each one used for?

Ably is most often brought in for building realtime chat or collaborative apps; CockroachDB for distributed SQL database for scalable applications. The jobs each tool is most often brought in to do.

Ably

  • Building realtime chat or collaborative appsnot CockroachDB
  • Delivering live data feeds like stock prices or sports scoresnot CockroachDB
  • Broadcasting notifications to many concurrent clientsnot CockroachDB
  • Running mission-critical realtime infrastructure with high uptime SLAsnot CockroachDB

CockroachDB

  • Distributed SQL database for scalable applicationsnot Ably
  • Multi-region deployment and failovernot Ably

Where do Ably and CockroachDB fall short?

Ably's most cited limit: 24/7 mission-critical support and 99.999% uptime SLAs are reserved for the custom-priced Enterprise tier. CockroachDB's: basic and Standard tiers limited to AWS and GCP (select regions only). Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Ably

  • Standard and Pro plans layer usage-based charges for messages, connection minutes, and data transfer on top of the base subscription, adding cost complexity
  • The jump from Standard ($29/month) to Pro ($399/month) is steep for teams needing more than 10k connections but not full Pro capacity
  • 24/7 mission-critical support and 99.999% uptime SLAs are reserved for the custom-priced Enterprise tier

CockroachDB

  • Basic and Standard tiers limited to AWS and GCP (select regions only)
  • Azure support restricted to Advanced tier only
  • Basic tier limited to 50 million RUs and 10 GiB storage per month
  • Advanced tier starts at $0.60/hour for 4 vCPUs minimum
  • 3 TiB maximum storage on Basic and Standard tiers, 10 TiB per node on Advanced

How much do Ably and CockroachDB cost?

Ably has a free plan, with paid plans from $29/mo; CockroachDB has a free plan, with paid plans from $0.057/mo. Plan by plan below, from each vendor's own pricing page.

Ably

Free
  • FreeFree
    • 200 concurrent connections
    • 500 messages/second
    • 6M messages/month
  • Standard$29/mo
    • 10k concurrent channels
    • 10k concurrent connections
    • 2.5k messages/second
  • Pro$399/mo
    • 50k concurrent channels
    • 50k concurrent connections
    • 10k messages/second

CockroachDB

Free
  • Standard$0.057/vcpu-hour
  • Mission Critical$0.162/vcpu-hour

Which should you pick?

Choose Ably if

  • You need pub/sub messaging.
  • You want to start without paying.
  • You work on Web, iOS, Android, API.
  • You also want presence.

Choose CockroachDB if

  • You need distributed sql.
  • You want to start without paying.
  • You work on AWS, GCP, Azure.
  • You also want automatic sharding.

Questions people ask

Is Ably or CockroachDB better?
It depends on the job. Ably fits building realtime chat or collaborative apps; CockroachDB fits distributed SQL database for scalable applications. Ably starts at Free and CockroachDB at Free.
Which is cheaper, Ably or CockroachDB?
Ably starts at Free and CockroachDB at Free.
Does Ably or CockroachDB run on more platforms?
Ably runs on Web, iOS, Android, API. CockroachDB runs on AWS, GCP, Azure.
Can I use Ably for free?
Both have a free tier, so you can try either at no cost before committing.
What is Ably best used for?
Ably is most often used for building realtime chat or collaborative apps, delivering live data feeds like stock prices or sports scores, broadcasting notifications to many concurrent clients, running mission-critical realtime infrastructure with high uptime slas. Of those, building realtime chat or collaborative apps and delivering live data feeds like stock prices or sports scores are not what CockroachDB is typically brought in for.
What can Ably do that CockroachDB cannot?
Ably covers Pub/sub messaging, Presence, Message persistence, Multi-protocol support. CockroachDB covers Distributed SQL, Automatic Sharding, Multi-region Replication, Geo-partitioning. Both handle Encryption.

Answered from the vendors’ own pages

Ably: What does Ably cost?

Ably offers a free plan with 200 concurrent connections, a Standard plan at $29/month plus usage, a Pro plan at $399/month plus usage, and custom Enterprise pricing with unlimited channels and connections.

Source
CockroachDB: What does the free Basic tier include?

The Basic tier is free and includes 50 million RUs and 10 GiB storage per month, with a maximum compute of 30K RU/sec. No credit card is required to start.

Source
Ably: Is there a free plan, and what are its limits?

Yes, the free plan includes 200 concurrent connections, 500 messages per second, and 6 million messages per month with community and best-effort email support.

Source
CockroachDB: How much do the paid tiers cost?

Standard tier starts at $0.18 per hour for 2 vCPUs, and Advanced tier starts at $0.60 per hour for 4 vCPUs. Both tiers support additional resources with higher costs for increased compute and storage.

Source
Ably: How is usage metered?

Beyond plan limits, Ably charges usage-based rates of $2.50 per million messages, $1.00 per million connection minutes, $1.00 per million channel minutes, and $0.25 per GiB of data transfer, with volume discounts available.

Source
CockroachDB: What are the storage limits for each tier?

Basic plan supports up to 3 TiB storage, Standard tier up to 3 TiB, and Advanced tier up to 10 TiB per node with unlimited total storage.

Source
CockroachDB: Can I get trial credits before paying?

Yes, new users can try CockroachDB free with $400 in credits. The Basic and Standard plans do not require a credit card to start.

Source
CockroachDB: Do legacy contracts have different pricing?

Customers with annual or multi-year contracts entered before December 1, 2024 can view legacy pricing terms on a separate page, which apply until their contract renewal date.

Source
Share

Related pages

Other head to heads