Softwr

Databases · head to head

Memcached vs SurrealDB

M

Memcached

Databases

Distributed memory object caching system

From
Free
Free plan
Yes
SurrealDB logo

SurrealDB

Databases

Multi-model database combining documents, graphs, vectors and time-series

From
Free
Free plan
Yes

The short version

  • Memcached is free; SurrealDB starts at $0.192/mo.
  • Only Memcached lists in-memory key-value cache; only SurrealDB lists multi-model engine.
  • Where Memcached falls short: no persistence at all: restart a node and its cache is gone, which every design must assume.
  • Where SurrealDB falls short: the listed $0.192/node/hr Scale pricing lacks transparent higher-tier rates, requiring a sales conversation for full production sizing.

How do Memcached and SurrealDB differ?

Memcached and SurrealDB differ on pricing model, platforms and year founded (2003 against 2022). Only the attributes on which Memcached and SurrealDB actually diverge.

Attributes where Memcached and SurrealDB differ
AttributeMemcachedSurrealDB
Pricing modelOpen source, no licence fee; managed cloud billed separatelyUsage-based
PlatformsLinux, macOS, Windows, Self-hostedWeb, API, Windows, macOS, Linux
Founded20032022

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

Which features does each one have?

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

  • Multi-model engine
  • ACID transactions
  • Hybrid retrieval
  • Horizontal scaling
  • Multi-region disaster recovery
  • FIPS-compliant cryptography

What is each one used for?

Memcached is most often brought in for caching expensive database query results to cut load; SurrealDB for AI agent memory and retrieval-augmented generation. The jobs each tool is most often brought in to do.

Memcached

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

SurrealDB

  • AI agent memory and retrieval-augmented generationnot Memcached
  • Applications needing documents, graphs and vectors in one databasenot Memcached
  • Knowledge graph construction from unstructured datanot Memcached
  • Regulated workloads requiring SOC2/ISO27001/HIPAA-eligible hostingnot Memcached

Where do Memcached and SurrealDB fall short?

Memcached's most cited limit: no persistence at all: restart a node and its cache is gone, which every design must assume. SurrealDB's: HIPAA compliance is only available as an Enterprise add-on rather than included in standard paid tiers. 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

SurrealDB

  • The listed $0.192/node/hr Scale pricing lacks transparent higher-tier rates, requiring a sales conversation for full production sizing
  • As a newer multi-model database, it has a smaller ecosystem of drivers, ORMs and community tooling than established single-model databases
  • HIPAA compliance is only available as an Enterprise add-on rather than included in standard paid tiers
  • Combining multiple data models in one engine can add query-planning complexity compared to purpose-built single-model databases

How much do Memcached and SurrealDB cost?

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

Memcached

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

SurrealDB

Free
  • StartFree
    • 1 free instance, then from $0.021/hr
    • 1GB storage free forever
    • Vertical scaling to terabytes
  • Scale$0.192/mo
    • $0.192/node/hr
    • Production-grade fault tolerance
    • Horizontal scaling to petabytes
  • EnterpriseOn request
    • Self-hosted, custom pricing
    • Clustered fault-tolerant deployments
    • FIPS-compliant cryptography

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 SurrealDB if

  • You need multi-model engine.
  • You want to start without paying.
  • You work on Web, API, Windows, macOS, Linux.
  • You also want acid transactions.

Questions people ask

Is Memcached or SurrealDB better?
It depends on the job. Memcached fits caching expensive database query results to cut load; SurrealDB fits aI agent memory and retrieval-augmented generation. Memcached starts at Free and SurrealDB at Free.
Which is cheaper, Memcached or SurrealDB?
Memcached starts at Free and SurrealDB at Free.
Does Memcached or SurrealDB run on more platforms?
Memcached runs on Linux, macOS, Windows, Self-hosted. SurrealDB runs on Web, API, Windows, macOS, Linux.
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 SurrealDB is typically brought in for.
What can Memcached do that SurrealDB cannot?
Memcached covers In-memory key-value cache, Multithreaded, Client-side sharding, Predictable memory use. SurrealDB covers Multi-model engine, ACID transactions, Hybrid retrieval, Horizontal scaling.

Answered from the vendors’ own pages

Memcached: Is Memcached free?

Yes, open source with no licence fee.

SurrealDB: What does SurrealDB cost?

SurrealDB Cloud's Start plan is free with one free instance (then from $0.021/hr), the Scale plan runs $0.192/node/hr for production workloads, and Enterprise self-hosted deployments use custom pricing.

Source
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.

SurrealDB: Is there a free plan and what are its limits?

Yes, the Start plan includes one free instance with 1GB of storage free forever and 1GB of outbound data transfer per month, aimed at prototypes and development.

Source
Memcached: Does Memcached persist data?

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

SurrealDB: How is billing handled?

Customers are invoiced monthly based on actual usage in a pay-as-you-go model with no long-term commitments, though commitment-based discounts are available.

Source
Share

Related pages

Other head to heads