Memcached as a service, run by OSStend in your cloud or data center
Memcached, the in-memory key-value cache, run as a service: node memory and connection limits, slab and LRU behaviour, TLS, extstore where it fits and the client server lists, with engineers on call 24/7 in OSStend's cloud, your cloud account or your data center.
45 minutes with an engineer: we review your workload and sketch the design.
- ✓160+ customers, 10+ years
- ✓24/7 on-call engineers
Memcached as a service from OSStend gives you cache nodes sized and watched by engineers. Memcached servers do not replicate, so we plan node count and client hashing so a lost node costs only cache misses. Where a cache must survive restarts or replicate, we point you to Valkey instead.
Customers
Partners
- PostgreSQL
- MySQL
- MongoDB
- Redis
Valkey
- OpenSearch
- Kafka
- RabbitMQ
- AWS
- Google Cloud
- Azure
- Kubernetes
- OpenShift
- Prometheus
- Grafana
- Datadog
- Dynatrace
- Splunk
What Memcached as a service includes
OSStend runs the Memcached nodes and their settings: memory, connections, threads, TLS and monitoring of hit rate and evictions. You keep the application code and the client library, and the client's server list and hashing are set with you because they decide where every key lives.
| Layer | What it covers | Who runs it |
|---|---|---|
| Nodes | Node count and size, -m memory, -c connections, threads and node replacement. | OSStend |
| Memory behaviour | Slab classes, LRU settings, evictions and extstore where values are large. | OSStend |
| Security | Private listening addresses, TLS, and SASL where clients use the binary protocol. | OSStend |
| Client distribution | The server list and consistent hashing in each client library. | Co-owned: OSStend sets the list, your team owns the client code |
| Upgrades | New releases tested and rolled node by node, with warm restart where it applies. | OSStend |
| What is cached | Keys, TTLs, values and the fallback to your database on a miss. | You |
Memcached is open source under a BSD 3-clause licence, copyright Danga Interactive (LICENSE, checked 19 Nov 2026). The latest stable release on memcached.org is 1.6.45 (memcached.org, checked 19 Nov 2026).
There is no fixed menu here: the node count, memory per node, TLS and client hashing your workload needs are written into the design you sign off before anything is built, and that design is what OSStend runs.
Memcached memory, slabs, LRU and eviction
Memcached stores items in slab classes, each with fixed-size chunks and its own LRU, carved from 1 MB pages by default. When a class has no free chunks and no free pages, Memcached evicts items, including ones that have not expired, so memory and item sizes decide your hit rate.
| Setting or behaviour | What the documentation says | How we set it |
|---|---|---|
| -m | RAM for item storage in megabytes; less than 64 MB may still use 64 MB as a minimum (configuring, checked 19 Nov 2026). | Sized from your working set, leaving room on the host for connections and the OS. |
| -c and threads | Max concurrent connections is 1024 by default, and 4 threads are allocated by default. | Raised from the client pool sizes of every app server, threads matched to cores. |
| Slab pages and classes | Storage is broken into 1 MB pages by default, each class has its own counters and LRU, slab classes are adjusted with -f, and items are evicted when a class is out of chunks and pages (internals, checked 19 Nov 2026). | Slab statistics reviewed against your item sizes so one class does not starve the rest. |
| Segmented LRU | The lru_maintainer option splits each class into HOT, WARM and COLD LRUs to protect active items from scans, with lru_crawler recommended to reclaim expired items (LRU notes, checked 19 Nov 2026). | Settings fixed in the design and kept the same across nodes. |
| Item size | The documented stats example shows item_size_max 1048576 (1 MB). | Large values flagged in the design review, with extstore or a different store considered. |
No server-side replication: client hashing and node loss
Memcached servers are unaware of each other: the documentation says there is no crosstalk, synchronization or replication. Clients pick a server by hashing the key, so losing a node loses its share of the cache and those keys are rebuilt from your database on the next miss.
- ✓How keys are placed. A client-side hashing algorithm chooses a server based on the key, and clients decide what to do when a server cannot be reached (memcached docs, checked 19 Nov 2026).
- ✓Consistent hashing. OSStend sets every client to the same server list and a consistent hashing mode, so adding or replacing one node moves only a slice of the keys instead of nearly all of them.
- ✓Node loss. Losing a node turns that node's share of keys into misses. The design sets the node count so your database can absorb that burst, and the on-call runbook replaces the node.
- ✓When you need copies. If a lost cache node would overload the database, or cached data must survive, the answer is a store that replicates. Managed Valkey has replicas and persistence.
Securing Memcached: listen addresses, TLS and SASL
The Memcached documentation says it must not be exposed directly to the internet or to untrusted users, and that SASL helps but should not be fully trusted. OSStend keeps nodes on private addresses, turns on TLS where clients support it, and limits who can reach the port.
- Defaults.
- UDP has been off by default since 1.5.6, and -l binds to specific interfaces (configuring, checked 19 Nov 2026). Nodes listen only on private addresses inside your network or VPC.
- TLS.
- Memcached 1.5.13 and later support TLS when built with --enable-tls; -Z turns it on with ssl_chain_cert and ssl_key, ssl_ca_cert and ssl_verify_mode handle client certificates, and refresh_certs reloads certificates without a restart (TLS, checked 19 Nov 2026).
- SASL.
- SASL needs a build with --enable-sasl and the -S flag, and then the server accepts the binary protocol only (binary SASL, checked 19 Nov 2026). Clients on the text or meta protocol rely on network rules and TLS instead.
Extstore and warm restart: when Memcached keeps more than RAM
Extstore keeps keys and the hash table in memory and moves larger values to flash, which stretches a node past its RAM. Warm restart, from 1.5.18, lets a cleanly restarted node keep its cache from a RAM-disk file. The two do not work together, so the design picks one.
- ✓Extstore. Enabled with -o ext_path=/path/to/file:5G; items larger than ext_item_size (512 bytes by default) can be flushed to flash; rotational disks are not supported, all tracking is in memory so a restart empties flash, incr/decr/append/prepend are disabled for items on disk, and the feature is described as still experimental (flash storage, checked 19 Nov 2026).
- ✓Warm restart. Started with -e pointing at a file on a RAM disk at least the size of -m, and triggered with SIGUSR1; changing -m, max item size, slab chunk sizes, CAS or slab reassignment brings the cache up clean, writes during the restart are missed, and the feature is incompatible with extstore (warm restart, checked 19 Nov 2026).
- ✓How we use them. Warm restart for upgrades on nodes whose cache is slow to rebuild; extstore only where values are large, flash is local and the experimental status is accepted in the design.
How OSStend compares with Amazon ElastiCache, Google Cloud Memorystore and
Valkey
Amazon ElastiCache for Memcached is AWS's managed Memcached, serverless or node-based. Google deprecated Memorystore for Memcached on 20 January 2026 and recommends Memorystore for Valkey. OSStend runs upstream Memcached wherever you choose, and Valkey where the cache needs replication or persistence.
| Option | What it is | Where it fits |
|---|---|---|
| OSStend | Upstream Memcached nodes, designed per workload and run 24/7 in OSStend's cloud, your cloud account or your data center. | The cache must sit beside apps outside AWS, in your data center, or under the same contract as the database behind it. |
| Amazon ElastiCache for Memcached | AWS describes a serverless, fully managed caching service with full Memcached compatibility, node-based clusters that scale by adding nodes, failed-node replacement and Auto Discovery from one endpoint (ElastiCache for Memcached, checked 19 Nov 2026). Serverless bills data stored in GB-hours and requests in ECPUs; node-based clusters bill per node-hour (pricing, checked 19 Nov 2026). | Your apps are on AWS and you want AWS to run the cache. |
| Google Cloud Memorystore for Memcached | A fully managed Memcached service for Google Cloud (Memorystore for Memcached, checked 19 Nov 2026). Google's notice says it stopped being a recommended service on 20 January 2026, that after 1 February 2027 new projects cannot create instances, that it will be shut down on 31 January 2029, and that workloads should move to Memorystore for Valkey (deprecation notice, checked 19 Nov 2026). | Existing Google Cloud users planning a move before Google's shutdown date. |
| BSD-licensed Valkey with replicas and persistence, run by OSStend. See managed Redis and Valkey. | The cache needs replication, persistence or richer data types. |
OSStend is our service and is listed first. Each other row uses only what the vendor publishes. ElastiCache is the simpler choice when your apps already run on AWS; see also the Amazon ElastiCache alternatives page.
OSStend
- What it is
- Upstream Memcached nodes, designed per workload and run 24/7 in OSStend's cloud, your cloud account or your data center.
- Where it fits
- The cache must sit beside apps outside AWS, in your data center, or under the same contract as the database behind it.
Amazon ElastiCache for Memcached
- What it is
- AWS describes a serverless, fully managed caching service with full Memcached compatibility, node-based clusters that scale by adding nodes, failed-node replacement and Auto Discovery from one endpoint (ElastiCache for Memcached, checked 19 Nov 2026). Serverless bills data stored in GB-hours and requests in ECPUs; node-based clusters bill per node-hour (pricing, checked 19 Nov 2026).
- Where it fits
- Your apps are on AWS and you want AWS to run the cache.
Google Cloud Memorystore for Memcached
- What it is
- A fully managed Memcached service for Google Cloud (Memorystore for Memcached, checked 19 Nov 2026). Google's notice says it stopped being a recommended service on 20 January 2026, that after 1 February 2027 new projects cannot create instances, that it will be shut down on 31 January 2029, and that workloads should move to Memorystore for Valkey (deprecation notice, checked 19 Nov 2026).
- Where it fits
- Existing Google Cloud users planning a move before Google's shutdown date.
Valkey through OSStend
- What it is
- BSD-licensed Valkey with replicas and persistence, run by OSStend. See managed Redis and Valkey.
- Where it fits
- The cache needs replication, persistence or richer data types.
What Memcached as a service costs: per GB-hour and ECPU vs nodes you size
Serverless caches bill for data stored per GB-hour and for request processing, so cost follows both size and traffic. A Memcached node costs what its RAM costs whether it is busy or idle, which usually favours sized nodes for steady, heavy traffic.
- Serverless.
- ElastiCache Serverless for Memcached bills data stored in GB-hours with a 1 GB minimum and requests in ElastiCache Processing Units (ElastiCache pricing, checked 19 Nov 2026).
- Per node.
- ElastiCache node-based clusters bill per node-hour; a self-run or OSStend-run node costs the host's RAM and cores.
- With OSStend.
- The price follows node count and memory, TLS, the SLA tier and where it runs. See the pricing section below.
Memcached releases and rolling upgrades
Memcached ships 1.6.x point releases with release notes on the project wiki; 1.6.45 of 9 July 2026 was the latest when we checked. Because nodes hold no replicas, upgrades go one node at a time, and warm restart keeps a node's cache where its settings allow.
- ✓Latest release. 1.6.45, released 9 July 2026, lists fixes only, including a segfault when memory runs out during a network read and an extstore miss that could hang a worker on the binary protocol (release notes, checked 19 Nov 2026).
- ✓One node at a time. Each node is drained of new connections where clients allow, restarted on the new version, and checked for hit rate before the next node.
- ✓Warm restart caveat. The cache survives only a clean restart with unchanged memory, item size and slab settings, so setting changes and version upgrades are planned separately.
Can Memcached run in our own cloud account or data center?
Yes. Memcached is BSD-licensed, so OSStend runs it in OSStend's cloud, in your cloud account or in your data center, air-gapped sites included. A cache belongs next to the application servers that call it, so placement follows your apps.
- OSStend's cloud.
- Single-tenant nodes on private networking, close to apps that also run there.
- Your cloud account.
- Nodes in your VPC beside your app servers. See BYOC and multi-cloud.
- Data center and air-gapped.
- Memcached on your hosts or Kubernetes, with packages mirrored in. See air-gapped deployments.
From our on-call engineers: Memcached checks in the runbook
These restate the Memcached documentation and LRU notes read on 19 Nov 2026, and are the base of a new cache's runbook. They are documented behaviour, not a record of Memcached fleets we have operated.
- ✓No node listens on a public address, because the documentation warns against exposing Memcached to the internet.
- ✓Every client uses the same server list and hashing mode, so keys land on the same node from every app server.
- ✓Evictions are watched per slab class, since a full class evicts even when others have room.
- ✓Connection limits are checked against the sum of client pools, because the default is 1024.
- ✓Warm restart and extstore are never enabled on the same node, as the documentation says they are incompatible.
- ✓The database behind the cache is sized for the misses that follow losing one node.
Design. Move. Run. for Memcached
For Memcached, an engineer sizes nodes and client hashing with you, OSStend moves app servers across in stages, and named engineers then run the cache 24/7.
Design
An engineer reviews your key and value sizes, request rate, client libraries and where the apps run, and writes the design: node count, memory per node, connections, TLS, client hashing and release. You sign it off first.
Move
OSStend builds the new nodes, points a share of app servers at them, compares hit rates, then moves the rest; the cache warms from your database as traffic arrives.
Run
Named engineers then run it 24/7: node health, evictions, connection limits, upgrades and node replacement, under the commitment in your contract.
Deployment and service levels
Memcached runs dedicated in OSStend's cloud, inside your cloud account, or co-managed in your data center. The first two are fully managed; the third is co-managed, with OSStend engineers running Memcached on hosts you own.
Dedicated in OSStend's cloud
Single-tenant Memcached nodes on Google Cloud or AWS, on private networks close to your apps.
Fully managedIn your cloud account
Memcached nodes in your account and VPC beside your app servers, so cached data stays inside your boundary. AWS first, then Azure and Google Cloud.
Fully managedIn your data center
Memcached on your hosts or Kubernetes, air-gapped sites included, with packages mirrored into the site.
Co-managed
Fully managed deployments carry an uptime commitment. Co-managed deployments carry a 24/7 response-time commitment, because you own the infrastructure. The service levels page sets out the tiers, and deployment shows each option in detail.
Uptime and response figures are set per plan and written into your contract. We set our support response targets from 15 minutes, by plan.
Proof from our operating record
OSStend has 160+ customers, more than 10 years of open-source operations and engineers on call 24/7.
We name customers only with their written permission, and this page claims no past Memcached deployment. Memcached as a service is a designed OSStend offering, run with the on-call practice we use for the databases a cache protects.
Pricing for Memcached as a service
Pricing for Memcached as a service follows four drivers: the engine, the cluster size, the SLA tier and where it runs. An engineer prices the specific design after a workload review. There is no free tier and no card sign-up.
- Engine
- each engine has its own operating profile, and several engines share one contract and one on-call team.
- Cluster size
- node count and memory per node, connection load and whether TLS is on.
- SLA tier
- fully managed or co-managed, and the uptime or response-time commitment attached.
- Where it runs
- OSStend's cloud, your cloud account or your data center.
Prices are quoted per design, after the workload review, so the figure is for the cluster you need rather than a plan size. Send the engine, rough size and where it must run, and the engineer prices that design.
The pricing page shows the model that applies across every engine.
When to contact OSStend, and when not to
Contact OSStend when your Memcached cache has outgrown a standard plan or has to run somewhere a plan cannot. If the workload fits a standard plan, or you want a free tier or card sign-up, a turnkey service is the better choice.
Contact us if
- ✓Memcached has to run in your cloud account, data center or an air-gapped site, or outside AWS.
- ✓Hit rate drops or evictions climb and nobody owns slab and memory tuning.
- ✓You want the cache and the database behind it run by one on-call team.
Not a fit if
- ✕The cache must replicate or survive restarts: use Valkey, through managed Redis and Valkey.
- ✕You want a free tier or card sign-up. OSStend starts with a conversation with an engineer.
- ✕Your apps are all on AWS and you are content for AWS to run the cache: ElastiCache is simpler.
Questions about Memcached as a service
These are the questions teams ask before handing Memcached to OSStend.
What is Memcached as a service from OSStend?
Memcached nodes run for you: memory, connections, slab and LRU behaviour, TLS, client hashing, upgrades and node replacement, with engineers on call 24/7, in OSStend's cloud, your cloud account or your data center.
Is OSStend affiliated with the Memcached project?
No. OSStend is not affiliated with or endorsed by the Memcached project. Memcached is open source under a BSD licence, and OSStend runs it for customers.
Does Memcached replicate data between nodes?
No. The documentation says Memcached servers are unaware of each other, with no synchronization or replication. Clients spread keys by hashing, and a lost node means cache misses for its keys.
Memcached or Valkey?
Memcached for a simple, multi-threaded cache where a lost node is acceptable. Valkey when you need replicas, persistence or data structures beyond key-value. OSStend runs both. On AWS, Memcached vs Redis on AWS compares the ElastiCache engines.
Can Memcached use TLS?
Yes, from 1.5.13 when built with TLS support, using the -Z flag and certificate options. OSStend turns it on where your client libraries support it.
What does Memcached as a service cost?
The price follows node count and memory, the SLA tier and where it runs. The pricing page shows the model, and an engineer prices the design after a workload review.
Trademarks and affiliation
Memcached is used here only to name the open-source software we run. OSStend is not affiliated with or endorsed by the Memcached project or its maintainers. Amazon ElastiCache, AWS, Google Cloud, Memorystore and Valkey are trademarks of their respective owners.
Related pages
- Redis or ValkeyManaged Redis or Valkey, your choice of engineManaged Redis or Valkey: you choose the engine, with persistence, eviction and configuration set for your workload, run 24/7 in your cloud or data center.
- AlternativeElastiCache pricing and alternatives in 2027Amazon ElastiCache pricing is only part of the picture: admin commands are restricted and it runs on AWS only. See fully configurable Redis or Valkey.
- Deployment · Your cloud accountBring your own cloud (BYOC) managed databasesBring your own cloud with OSStend: engineers run PostgreSQL, Kafka and more inside your AWS, Azure or Google Cloud account, so data and billing stay yours.
- Deployment · Your data centerPostgreSQL on Kubernetes, managed 24/7Run PostgreSQL on Kubernetes and Kafka on your own cluster, co-managed by OSStend through an operator with supported charts and images, 24/7.
- Deployment · Air-gappedAir-gapped cloud and on-prem managed open sourceAir-gapped cloud and on-prem sites: OSStend co-manages PostgreSQL, Kafka and RabbitMQ on infrastructure you own, with hardened FIPS editions on request.
- Service levelsService levels: two tiers, a written SLAOSStend service levels: fully managed and co-managed tiers, what each one covers, who is on call and how incidents are handled, with a written SLA for each.
Talk to an engineer about your Memcached cache
45 minutes with an engineer: bring your request rate, item sizes and where the apps run, and the engineer sketches the nodes and client setup.
- ✓A design sketch for your workload, not a plan menu
- ✓A zero-downtime cutover path for what you run today
- ✓A price for that design, after the review





