Softwr

Databases · head to head

Memcached vs Ory

M

Memcached

Databases

Distributed memory object caching system

From
Free
Free plan
Yes
Ory logo

Ory

Cybersecurity

Open-source identity, authentication, and permissions infrastructure

From
Free
Free plan
Yes

The short version

  • Memcached is free; Ory starts at $64/mo.
  • Only Memcached lists in-memory key-value cache; only Ory lists authentication APIs.
  • Where Memcached falls short: no persistence at all: restart a node and its cache is gone, which every design must assume.
  • Where Ory falls short: SAML SSO and multi-region deployments are reserved for the custom-priced Enterprise tier.

How do Memcached and Ory differ?

Memcached and Ory differ on pricing model, platforms and category (Databases against Cybersecurity). Only the attributes on which Memcached and Ory actually diverge.

Attributes where Memcached and Ory differ
AttributeMemcachedOry
Pricing modelOpen source, no licence fee; managed cloud billed separatelyUsage-based
PlatformsLinux, macOS, Windows, Self-hostedWeb, API
CategoryDatabasesCybersecurity
Founded20032019

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

Which features does each one have?

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

  • Authentication APIs
  • Permissions engine
  • Machine-to-machine tokens
  • B2B organizations
  • SAML SSO
  • Multi-region deployments

What is each one used for?

Memcached is most often brought in for caching expensive database query results to cut load; Ory for adding self-hosted or cloud identity to a new product. The jobs each tool is most often brought in to do.

Memcached

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

Ory

  • Adding self-hosted or cloud identity to a new productnot Memcached
  • Implementing fine-grained permission checksnot Memcached
  • Supporting B2B organizations and multi-tenancynot Memcached
  • Building machine-to-machine authentication for microservicesnot Memcached

Where do Memcached and Ory fall short?

Memcached's most cited limit: no persistence at all: restart a node and its cache is gone, which every design must assume. Ory's: SAML SSO and multi-region deployments are reserved for the custom-priced Enterprise tier. 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

Ory

  • Production and Growth plans are billed annually ($770/year and $9,350/year), which is a larger upfront commitment than monthly-only competitors
  • SAML SSO and multi-region deployments are reserved for the custom-priced Enterprise tier
  • Usage-based pricing across aDAU, M2M tokens, and permission checks makes cost estimation more complex than flat per-MAU billing

How much do Memcached and Ory cost?

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

Memcached

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

Ory

Free
  • DeveloperFree
    • Community support
    • No production environments
  • Production$64/mo
    • $21 monthly credit included
    • 1 production environment
    • 3 staging environments
  • Growth$779/mo
    • $255 monthly credit included
    • 2 production environments
    • B2B organizations (max 3)

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

  • You need authentication apis.
  • You want to start without paying.
  • You work on Web, API.
  • You also want permissions engine.

Questions people ask

Is Memcached or Ory better?
It depends on the job. Memcached fits caching expensive database query results to cut load; Ory fits adding self-hosted or cloud identity to a new product. Memcached starts at Free and Ory at Free.
Which is cheaper, Memcached or Ory?
Memcached starts at Free and Ory at Free.
Does Memcached or Ory run on more platforms?
Memcached runs on Linux, macOS, Windows, Self-hosted. Ory runs on Web, API.
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 Ory is typically brought in for.
What can Memcached do that Ory cannot?
Memcached covers In-memory key-value cache, Multithreaded, Client-side sharding, Predictable memory use. Ory covers Authentication APIs, Permissions engine, Machine-to-machine tokens, B2B organizations.

Answered from the vendors’ own pages

Memcached: Is Memcached free?

Yes, open source with no licence fee.

Ory: What does Ory cost?

Ory has a free Developer tier, a Production plan at $770/year including a $21 monthly credit, a Growth plan at $9,350/year including a $255 monthly credit, and custom Enterprise 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.

Ory: How is usage metered?

Beyond the included credit, Ory charges per average daily active user (aDAU), per machine-to-machine token, and per permission check, with lower per-unit rates on the Growth plan.

Source
Memcached: Does Memcached persist data?

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

Ory: What payment methods are supported?

Ory accepts credit cards (Visa, MasterCard, Amex) and bank transfer, processed via Stripe.

Source
Share

Related pages

Other head to heads