All systems operational · 99.99% uptime SLA
Memory Cache — Memcached · In-memory Key-Value Store

Cache first.
Database
almost never.

NubexCloud Memcached is a fully managed, in-memory Key-Value caching service that absorbs hotspot database reads before they happen. Sub-millisecond response times, 100,000 QPS per node, 100% Memcached protocol compatible — deploy in minutes, connect without changing a line of code.

<1msResponse time
100K+QPS per node
32GBMax capacity
100%Protocol compat
Application Web · API · Mobile user:1001 → {...} prod:5523 → {...} sess:a8f2 → {...} page:/home → HTML MEMCACHED In-memory · Key-Value · LRU ⚡ HIT <1ms return ✗ MISS → Query DB Database MySQL / etc. Repopulate 🔒 Intranet Only · VPC Isolated LRU Eviction · Auto Reconnect
Performance & Specifications

Numbers that matter for a cache layer

Memcached exists for one purpose: to answer requests before they reach your database. Every spec below is built around that goal.

<1ms
Sub-millisecond latency
Data is served directly from RAM — no disk I/O, no network round-trip to a storage backend. Cache hits return in microseconds, eliminating the single biggest latency bottleneck in web applications.
100K
QPS per single node
A single Memcached node handles up to 100,000 queries per second — absorbing the read load of a typical production application before it ever reaches the database layer.
32GB
Maximum cache capacity
Scale from a small cache instance up to 32 GB of in-memory storage. One-click capacity expansion from the console — adjust based on actual memory usage and hit rate without changing your application.
250B
Max key size
Keys up to 250 bytes and values up to 1 MB — ideal for caching user sessions, rendered page fragments, API response objects, product catalogues, and counters.
100%
Memcached protocol compatible
Fully compatible with the standard Memcached protocol. Connect existing applications without changing any code — all Memcached clients, libraries, and frameworks work without modification.
LRU
Automatic eviction strategy
Least Recently Used eviction ensures the most active data always stays in cache. When memory fills, cold keys are evicted automatically — the cache stays hot with zero manual management.
Core Capabilities

Everything your application needs from a cache layer

Managed Memcached handles the infrastructure — you configure your cache keys and let the service absorb your hotspot traffic.

Hotspot Data Caching

Cache the data your application reads most frequently — user sessions, product catalogues, rendered page fragments, API responses, and counter values. Serve these from memory and eliminate the corresponding database round-trips entirely. Backend read load drops dramatically on first deployment.

High Availability with Auto-reconnect

When a server failure occurs, the service recovers automatically and clients reconnect immediately. High-availability mode ensures the cache layer never becomes a single point of failure for your application stack. Note: cache data is not persisted — after a failover event, the cache repopulates from the database on first access.

Real-time Monitoring & Statistics

Comprehensive data statistics for real-time monitoring and historical analysis. Track cache hit rates, memory usage, eviction rates, and connection counts from the console. Configure alerts when hit rate drops below threshold — a leading indicator that your cache needs more capacity.

One-click Capacity Expansion

Expand cache capacity from the console with a single click — no migration, no application changes, no reconfiguration. Scale based on actual memory usage and hit rate data. Note: expansion requires a restart and clears the cache, so plan expansions during low-traffic windows.

VPC-only · Intranet Isolated

Memcached instances are accessible only from within your VPC — completely isolated from the public internet. No public IP, no external exposure. Your cached data is protected by network-level isolation, and access is restricted to cloud hosts in the same region and subnet.

Zero-code Migration

Fully compatible with the Memcached protocol — all standard Memcached commands (get, set, delete, add, replace, increment, decrement, flush_all) and stats commands work without modification. Migrate from self-hosted Memcache by updating your connection string and nothing else.

How Caching Works

Your database should only answer questions it hasn't heard before.

Every repeat database read for the same data is wasted compute. Memcached intercepts those reads at the cache layer — serving the answer from memory in microseconds, never touching the database again until the cache entry expires or is evicted.

  • Cache HIT — key found in memory, returned in <1ms, database not queried
  • Cache MISS — key not found, query goes to database, result stored in cache for next time
  • LRU eviction — when memory is full, least-recently-used keys are evicted automatically
  • TTL expiry — set a time-to-live on any key to ensure stale data is always refreshed
  • Works alongside MySQL, MongoDB, PostgreSQL, or any other backend database
  • Intranet-only access — cache stays private inside your VPC at all times
View Quick Start Guide →
Application RequestGET user:1001 → check cache first
Requesting
⚡ Cache HIT — <1msKey found · Return from memory · DB not queried
Hit
Cache MISS → Query DatabaseKey not found · DB queried · Result stored in cache
Miss
Memcached — In-memory StoreKey-Value · LRU eviction · Max 32 GB · 100K QPS
Active
VPC Network IsolationIntranet access only · No public IP · Secure subnet
Isolated
<1msCache HIT
LRUAuto evict
32 GBMax memory
Capacity & Pricing

Start small. Scale to 32 GB with one click.

Pick the memory capacity your hotspot dataset requires. Monitor hit rates and memory usage from the console — expand when the data tells you to.

What you pay for
Memory capacity in GB
× hours used
Expansion note
One-click expansion causes a restart and clears the cache — plan during low-traffic windows
Key/Value limits
Key: max 250 bytes
Value: max 1 MB
Memory CapacityMax QPSKey Size LimitValue Size LimitFrom / mo
1 GB100,000250 bytes1 MB$6
2 GB100,000250 bytes1 MB$12
4 GB100,000250 bytes1 MB$24
8 GB100,000250 bytes1 MB$48
16 GB100,000250 bytes1 MB$96
32 GB100,000250 bytes1 MB$192

Prices in USD, estimated. Exact pricing via console. Billed by actual usage hour.

Memcached vs Redis

When to choose Memcached over Redis

Both are in-memory caches. The right choice depends on what your data structure and durability requirements actually are.

CapabilityNubexCloud MemcachedRedis (see NubexCloud Redis)
Data modelKey-Value strings onlyStrings, lists, sets, hashes, sorted sets
Pure caching performance✓ Fastest for simple K-V get/setSlightly more overhead
Multi-threading✓ Multi-threaded — scales CPU coresSingle-threaded (Redis 6+ I/O threads)
Data persistence✗ Memory only — data lost on restart✓ RDB + AOF persistence options
Data structures✗ Strings only✓ Rich data structures
Pub/Sub messaging✗ Not supported✓ Native pub/sub
Atomic counters✓ incr/decr commands✓ INCR/DECR + more
Protocol compatibility✓ 100% Memcached protocol✓ 100% Redis protocol
Best use casePure cache · <100K QPS · Simple K-VSession store · Queues · Leaderboards
Selection guide: Choose Memcached when you need a pure, fast cache layer for simple Key-Value data where QPS is below 100,000 and data loss on restart is acceptable. Choose Redis when you need rich data structures, persistence, pub/sub, or more complex data patterns. Both are available on NubexCloud.
Application Scenarios

Three scenarios where Memcached makes the biggest impact

Memcached is purpose-built for high-frequency read workloads. These are the scenarios where deploying it pays off immediately.

Global Network

A truly global infrastructure for fast, reliable service delivery.

26
Regions
33
Availability Zones
25ms
Regional latency
99.95%
SLA uptime
Active region
Hub region (Dubai HQ)
Backbone link
Customer Stories

What teams are caching with Memcached

Trusted by leading teams across the region
Falcon AITradeSparkMasaarNEXAGENSalam DigitalOrbita
Billing

Pay by the hour, month, or year.

Memcached billing is straightforward — memory capacity × duration. No per-request fees, no data transfer charges within the same VPC.

Best for dev/test

Hourly

1.5× daily rate

  • Evaluate cache capacity before committing to monthly
  • Run load tests to determine optimal memory size
  • No minimum term — provision and destroy freely
Maximum savings

Annual Prepay

Pay 10 months, get 12

  • 17% discount for stable, always-on cache layers
  • Lock in your memory tier for the full year
  • Best cost/performance for high-traffic production apps

Important: data is not persisted.

Memcached stores data in RAM only. Data is lost after a failover event or during a capacity expansion restart. Plan expansions during low-traffic periods. For workloads that require persistence across restarts, use NubexCloud Redis instead.

FAQ

Common questions about Managed Memcached

Start caching today

Your database will thank you.

Sub-millisecond cache hits. 100K QPS. 100% Memcached compatible. Deploy in minutes — connect your existing application without changing a single line of code.

Deploy Memcached → Read the Docs