Softwr

Databases · head to head

Memcached vs Nhost

M

Memcached

Databases

Distributed memory object caching system

From
Free
Free plan
Yes
Nhost logo

Nhost

Databases

Postgres backend with GraphQL, authentication, storage and functions, from $25 a month

From
Free
Free plan
Yes

The short version

  • Nhost is a hosted backend platform.
  • Memcached is free; Nhost starts at $25/mo.
  • Only Memcached lists in-memory key-value cache; only Nhost lists postgres database.
  • Where Memcached falls short: no persistence at all: restart a node and its cache is gone, which every design must assume.
  • Where Nhost falls short: the API layer is Hasura GraphQL, so teams who want a REST-first or other access pattern are working against the platform's default.

How do Memcached and Nhost differ?

Memcached and Nhost differ on pricing model and platforms. Only the attributes on which Memcached and Nhost actually diverge.

Attributes where Memcached and Nhost differ
AttributeMemcachedNhost
Pricing modelOpen source, no licence fee; managed cloud billed separatelyPer month plus usage
PlatformsLinux, macOS, Windows, Self-hostedWeb

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

Not yet recorded: category for Nhost, founded for Nhost.

Which features does each one have?

They share no listed features; 4 appear only for Memcached and 8 only for Nhost. 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 Memcached

  • In-memory key-value cache
  • Multithreaded
  • Client-side sharding
  • Predictable memory use

Only in Nhost

  • Postgres database
  • Hasura GraphQL
  • Authentication
  • Storage
  • Functions
  • AI toolkit
  • Nhost Run
  • Infrastructure as code

What is each one used for?

Memcached is most often brought in for caching expensive database query results to cut load; Nhost for A startup that wants Postgres, auth and a GraphQL API without writing a backend. The jobs each tool is most often brought in to do.

Memcached

  • Caching expensive database query results to cut loadnot Nhost
  • Session storage where losing sessions on restart is acceptablenot Nhost
  • Fronting an API whose responses are costly and change slowlynot Nhost

Nhost

  • A startup that wants Postgres, auth and a GraphQL API without writing a backendnot Memcached
  • A React or Vue team using real-time GraphQL subscriptionsnot Memcached
  • A developer who wants backend config in git through the CLInot Memcached
  • An app that needs file storage and auth plus a few server functionsnot Memcached

Where do Memcached and Nhost fall short?

Memcached's most cited limit: no persistence at all: restart a node and its cache is gone, which every design must assume. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Memcached

  • No persistence at all: restart a node and its cache is gone, which every design must assume
  • No replication or failover, so losing a node loses that share of the cache
  • Only simple key-value, with none of the lists, sorted sets or streams Redis offers
  • Values are capped at 1MB by default, which surprises teams caching large documents

Nhost

  • The API layer is Hasura GraphQL, so teams who want a REST-first or other access pattern are working against the platform's default
  • Starter projects are paused after one week of inactivity, which makes the free tier unsuitable for anything that must stay available
  • Point-in-time recovery starts at $100 on top of the plan, so recovery beyond the 7 days of daily backups is an extra cost
  • Compute, custom domains ($10 per project per month), egress and storage overage are metered, so the plan fee understates the running bill for a busy app
  • Team costs $599 a month, a large jump from Pro at $25, so growing teams that need the Team tier's limits face a steep step

How much do Memcached and Nhost cost?

Memcached is free to use; Nhost has a free plan, with paid plans from $25/mo. Plan by plan below, from each vendor's own pricing page.

Memcached

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

Nhost

Free
  • StarterFree
    • 1 project and 1 workspace member
    • 1 GB database, 1 GB storage, 5 GB egress
    • 10 functions with 10 second execution time
  • Pro$25/mo
    • $15 in compute credits included
    • 10 GB database, 50 GB storage, 50 GB egress
    • 50 functions, 180 second execution time
  • Team$599/mo
    • $15 in compute credits included
    • Everything in Pro, with 600 second function execution time
  • EnterpriseOn request
    • Custom pricing
    • Dedicated clusters available as an add-on

Which should you pick?

Choose Memcached if

  • You need in-memory key-value cache.
  • You want to start without paying.
  • You work on Linux, macOS, Windows, Self-hosted.
  • You also want multithreaded.

Choose Nhost if

  • You need postgres database.
  • You want to start without paying.
  • You also want hasura graphql.

Questions people ask

Is Memcached or Nhost better?
It depends on the job. Memcached fits caching expensive database query results to cut load; Nhost fits a startup that wants Postgres, auth and a GraphQL API without writing a backend. Memcached starts at Free and Nhost at Free.
Which is cheaper, Memcached or Nhost?
Memcached starts at Free and Nhost at Free.
Does Memcached or Nhost run on more platforms?
Memcached runs on Linux, macOS, Windows, Self-hosted. Nhost runs on Web.
Can I use Memcached for free?
Both have a free tier, so you can try either at no cost before committing.
What is Memcached best used for?
Memcached is most often used for caching expensive database query results to cut load, session storage where losing sessions on restart is acceptable, fronting an api whose responses are costly and change slowly. Of those, caching expensive database query results to cut load and session storage where losing sessions on restart is acceptable are not what Nhost is typically brought in for.
What can Memcached do that Nhost cannot?
Memcached covers In-memory key-value cache, Multithreaded, Client-side sharding, Predictable memory use. Nhost covers Postgres database, Hasura GraphQL, Authentication, Storage.

Answered from the vendors’ own pages

Memcached: Is Memcached free?

Yes, open source with no licence fee.

Nhost: How much does Nhost cost?

Starter is $0, Pro is $25 a month and Team is $599 a month, plus metered usage beyond included amounts. Enterprise is custom.

Memcached: Memcached or Redis?

Memcached is a pure cache: simpler, multithreaded and very predictable. Redis adds persistence, replication and rich data structures, which is why it is the default choice unless you specifically want a cache and nothing more.

Nhost: Does the free plan pause?

Yes. Starter projects are paused after one week of inactivity.

Memcached: Does Memcached persist data?

No. Everything is in memory and lost on restart, by design.

Nhost: Are there user limits on auth?

No. The pricing page lists unlimited total users on every plan.

Share

Related pages

Other head to heads