Softwr

APIs · head to head

Ably vs Google Cloud Spanner

Ably logo

Ably

APIs

Realtime data delivery platform for pub/sub messaging at scale

From
Free
Free plan
Yes
Google Cloud Spanner logo

Google Cloud Spanner

Databases

Globally distributed relational database with strong consistency and up to 99.999% availability

From
Free
Free plan
Yes

The short version

  • Google Cloud Spanner is free; Ably starts at $29/mo.
  • Only Ably lists pub/sub messaging; only Google Cloud Spanner lists strong global consistency.
  • 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 Google Cloud Spanner falls short: pricing has compute, storage, replication and network components.

How do Ably and Google Cloud Spanner differ?

Ably and Google Cloud Spanner differ on pricing model (Freemium against Usage-based), platforms and category (APIs against Databases). Only the attributes on which Ably and Google Cloud Spanner actually diverge.

Attributes where Ably and Google Cloud Spanner differ
AttributeAblyGoogle Cloud Spanner
Pricing modelFreemiumUsage-based
PlatformsWeb, iOS, Android, APIWeb
CategoryAPIsDatabases

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

Which features does each one have?

They share no listed features; 6 appear only for Ably and 9 only for Google Cloud Spanner. 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
  • Encryption
  • Datadog integration

Only in Google Cloud Spanner

  • Strong global consistency
  • Automatic sharding
  • Single, dual and multi-region configurations
  • Spanner Graph
  • Vector and full-text search
  • Columnar engine for analytics
  • BigQuery federated queries
  • Spanner Omni

What is each one used for?

Ably is most often brought in for building realtime chat or collaborative apps; Google Cloud Spanner for global transactional systems. The jobs each tool is most often brought in to do.

Ably

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

Google Cloud Spanner

  • Global transactional systemsnot Ably
  • Mission-critical apps needing 99.999% availabilitynot Ably
  • Applications needing relational plus graph and vectornot Ably
  • Real-time analytics on operational datanot Ably
  • Scaling beyond a single database servernot Ably

Where do Ably and Google Cloud Spanner 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. Google Cloud Spanner's: pricing has compute, storage, replication and network components. 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

Google Cloud Spanner

  • Pricing has compute, storage, replication and network components
  • Cost is high for small or single-region workloads
  • Tied to Google Cloud outside the Omni option
  • Schema and query patterns differ from standard PostgreSQL deployments

How much do Ably and Google Cloud Spanner cost?

Ably has a free plan, with paid plans from $29/mo; Google Cloud Spanner is free to use. 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

Google Cloud Spanner

Free

No published plan breakdown. See the Google Cloud Spanner review.

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 Google Cloud Spanner if

  • You need strong global consistency.
  • You want to start without paying.
  • You also want automatic sharding.

Questions people ask

Is Ably or Google Cloud Spanner better?
It depends on the job. Ably fits building realtime chat or collaborative apps; Google Cloud Spanner fits global transactional systems. Ably starts at Free and Google Cloud Spanner at Free.
Which is cheaper, Ably or Google Cloud Spanner?
Ably starts at Free and Google Cloud Spanner at Free.
Does Ably or Google Cloud Spanner run on more platforms?
Ably runs on Web, iOS, Android, API. Google Cloud Spanner runs on Web.
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 Google Cloud Spanner is typically brought in for.
What can Ably do that Google Cloud Spanner cannot?
Ably covers Pub/sub messaging, Presence, Message persistence, Multi-protocol support. Google Cloud Spanner covers Strong global consistency, Automatic sharding, Single, dual and multi-region configurations, Spanner Graph.

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
Google Cloud Spanner: Is there a free trial?

Yes, a free trial instance lasts 90 days with up to 10 GiB of data.

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
Google Cloud Spanner: What availability does Spanner offer?

Up to 99.999% availability, depending on configuration.

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
Google Cloud Spanner: How is Spanner billed?

By hourly compute by edition, plus storage and replication, with committed use discounts of one and three years.

Source
Google Cloud Spanner: Can Spanner run outside Google Cloud?

Spanner Omni is a downloadable version for on-premises, other clouds or a laptop.

Source
Share

Related pages

Other head to heads