Databases · head to head
Memcached vs Ory Kratos
Memcached
Databases
Distributed memory object caching system
- From
- Free
- Free plan
- Yes

Ory Kratos
Cybersecurity
Headless identity and user management API
- From
- Free
- Free plan
- Yes
The short version
- Both are free.
- Only Memcached lists in-memory key-value cache; only Ory Kratos lists headless API.
- Where Memcached falls short: no persistence at all: restart a node and its cache is gone, which every design must assume.
- Where Ory Kratos falls short: headless means you build every screen, which is significant work compared with a hosted login page.
How do Memcached and Ory Kratos differ?
Memcached and Ory Kratos differ on pricing model, platforms and category (Databases against Cybersecurity). Only the attributes on which Memcached and Ory Kratos actually diverge.
| Attribute | Memcached | Ory Kratos |
|---|---|---|
| Pricing model | Open source, no licence fee; managed cloud billed separately | Open-source self-hosted, with a paid managed network |
| Platforms | Linux, macOS, Windows, Self-hosted | Linux, Self-hosted |
| Category | Databases | Cybersecurity |
| Founded | 2003 | 2019 |
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 4 only for Ory Kratos. 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 Kratos
- Headless API
- Self-service flows
- Multi-factor authentication
- Pluggable identity schemas
What is each one used for?
Memcached is most often brought in for caching expensive database query results to cut load; Ory Kratos for products needing complete control over the look and flow of authentication. The jobs each tool is most often brought in to do.
Memcached
- Caching expensive database query results to cut loadnot Ory Kratos
- Session storage where losing sessions on restart is acceptablenot Ory Kratos
- Fronting an API whose responses are costly and change slowlynot Ory Kratos
Ory Kratos
- Products needing complete control over the look and flow of authenticationnot Memcached
- Applications that must not hand user identity data to a third partynot Memcached
- Teams building identity as infrastructure across several servicesnot Memcached
Where do Memcached and Ory Kratos 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 Kratos's: headless means you build every screen, which is significant work compared with a hosted login page. 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 Kratos
- Headless means you build every screen, which is significant work compared with a hosted login page
- More moving parts than a monolithic IAM: Kratos handles identity, and OAuth2 needs Ory Hydra alongside
- Documentation assumes real familiarity with identity concepts and is not a gentle introduction
- Self-hosting identity carries the security and availability burden that hosted providers absorb
How much do Memcached and Ory Kratos cost?
Memcached is free to use; Ory Kratos is free to use. Plan by plan below, from each vendor's own pricing page.
Memcached
Free- MemcachedFree
- Full functionality
- Self-hosted
- No usage limits
Ory Kratos
Free- Self-hostedFree
- Full identity server
- All flows
- Community support
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 Kratos if
- You need headless api.
- You want to start without paying.
- You work on Linux, Self-hosted.
- You also want self-service flows.
Questions people ask
- Is Memcached or Ory Kratos better?
- It depends on the job. Memcached fits caching expensive database query results to cut load; Ory Kratos fits products needing complete control over the look and flow of authentication. Memcached starts at Free and Ory Kratos at Free.
- Which is cheaper, Memcached or Ory Kratos?
- Memcached starts at Free and Ory Kratos at Free.
- Does Memcached or Ory Kratos run on more platforms?
- Memcached runs on Linux, macOS, Windows, Self-hosted. Ory Kratos runs on Linux, Self-hosted.
- 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 Kratos is typically brought in for.
- What can Memcached do that Ory Kratos cannot?
- Memcached covers In-memory key-value cache, Multithreaded, Client-side sharding, Predictable memory use. Ory Kratos covers Headless API, Self-service flows, Multi-factor authentication, Pluggable identity schemas.
Answered from the vendors’ own pages
Memcached: Is Memcached free?
Yes, open source with no licence fee.
Ory Kratos: Is Ory Kratos free?
Yes, open source and free to self-host. Ory Network is a paid managed service.
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 Kratos: What does headless mean here?
Kratos provides identity flows as APIs and no user interface. You build the login, registration and recovery screens yourself.
Memcached: Does Memcached persist data?
No. Everything is in memory and lost on restart, by design.
Ory Kratos: Does Kratos do OAuth2?
No. Kratos handles user identity; OAuth2 and OpenID Connect provider functionality is Ory Hydra, a separate component.
Related pages
Other head to heads
- Memcached vs Valkey
- Memcached vs Readyset
- Memcached vs Amazon ElastiCache
- Memcached vs Redis
- Memcached vs Dragonfly
- Memcached vs PostgreSQL
- Memcached vs DuckDB
- Memcached vs Apache Pulsar
- Memcached vs NATS
- Memcached vs MySQL
- Memcached vs VictoriaMetrics
- Memcached vs IBM Db2
- Memcached vs LanceDB
- Memcached vs Ninox
- Memcached vs SurrealDB
- Memcached vs Teradata
- Memcached vs Timeplus
- Memcached vs DynamoDB
- Memcached vs Clerk
- Memcached vs Frontegg
- Memcached vs Descope
- Memcached vs Logto
- Memcached vs Okta
- Memcached vs Trivy
- Memcached vs Bitwarden
- Memcached vs Dashlane
- Memcached vs HashiCorp Vault
- Memcached vs Semgrep
- Memcached vs LastPass
- Memcached vs Infisical
- Memcached vs HackerOne
- Memcached vs HID Global
- Memcached vs Imperva
- Memcached vs Keygen
- Memcached vs Nmap
- Memcached vs Recorded Future
- Ory Kratos vs Valkey
- Ory Kratos vs Readyset
- Ory Kratos vs Amazon ElastiCache
- Ory Kratos vs Redis
- Ory Kratos vs Dragonfly
- Ory Kratos vs PostgreSQL
- Ory Kratos vs DuckDB
- Ory Kratos vs Apache Pulsar
- Ory Kratos vs NATS
- Ory Kratos vs MySQL
- Ory Kratos vs VictoriaMetrics
- Ory Kratos vs IBM Db2
- Ory Kratos vs LanceDB
- Ory Kratos vs Ninox
- Ory Kratos vs SurrealDB
- Ory Kratos vs Teradata
- Ory Kratos vs Timeplus
- Ory Kratos vs DynamoDB
- Ory Kratos vs Clerk
- Ory Kratos vs Frontegg
- Ory Kratos vs Descope
- Ory Kratos vs Logto
- Ory Kratos vs Okta
- Ory Kratos vs Trivy
- Ory Kratos vs Bitwarden
- Ory Kratos vs Dashlane
- Ory Kratos vs HashiCorp Vault
- Ory Kratos vs Semgrep
- Ory Kratos vs LastPass
- Ory Kratos vs Infisical
- Ory Kratos vs HackerOne
- Ory Kratos vs HID Global
- Ory Kratos vs Imperva
- Ory Kratos vs Keygen
- Ory Kratos vs Nmap
- Ory Kratos vs Recorded Future
