Workload

In-Memory Caches and Data Stores on Bare Metal

When the dataset lives in RAM, memory per dollar is the whole story. Our high memory line puts up to 1 TB in one machine at a flat monthly price.

What decides the size of a cache server?

The dataset plus headroom. For Redis and its open-source fork Valkey, plan for three things on top of the raw data: per-key overhead (often 50 to 100 bytes per key), memory fragmentation and the extra space a snapshot can need. When Redis writes an RDB snapshot or rewrites its append-only file, it forks, and every page the main process changes during the save is copied. On a write-heavy instance, keeping the dataset at about half the machine's RAM leaves safe room for that copy.

MachineRAMComfortable dataset with snapshotsPer month
S5128 GB DDR4about 60 GB$88.72
S12192 GB DDR5about 90 GB$202.82
M1512 GB DDR4about 240 GB$414.70
M6768 GB DDR4about 360 GB$664.12
M131 TB DDR5about 480 GB$849.12

A pure cache with persistence turned off can use far more of the RAM, because there is no fork to plan for.

Do clock speed and core count matter?

For a single Redis or Valkey instance, clock speed matters more than cores, because commands execute on one main thread (newer versions add I/O threads for networking). That makes the high-clock single-socket machines ideal for one big instance: S8 pairs an 8-core Intel Xeon E-2388G with 128 GB DDR4 for $103.13. To use many cores, run several instances on one machine, each pinned to its own cores and port, and shard across them with Redis Cluster or a proxy. Memcached is multithreaded and scales across cores on its own.

What is NUMA and why does it matter on dual-socket machines?

On a dual-socket server, each processor has its own memory. A process that reads memory attached to the other socket pays a latency penalty. For caches, the fix is easy: run one or more instances per socket and bind each to its local memory with numactl.

numactl --cpunodebind=0 --membind=0 valkey-server /etc/valkey/node0.conf
numactl --cpunodebind=1 --membind=1 valkey-server /etc/valkey/node1.conf

All machines in the High memory line have two sockets, so plan two or more instances per box rather than one giant process.

How should I tune the operating system?

  • Set vm.overcommit_memory = 1, as Redis recommends, so background saves do not fail on a busy machine.
  • Disable transparent huge pages for Redis; they make fork copies slower.
  • Raise net.core.somaxconn and the instance's tcp-backlog for many client connections.
  • Bind the cache to localhost or your application addresses and require a password or ACL users; never leave it open to the internet.

What keeps a cache online if the primary fails?

Run a replica on a second machine and let Sentinel or the cluster mode promote it when the primary fails. Replication traffic leaves the primary through its public port, so encrypt it with TLS and count the initial full sync against the 15 TB outgoing allowance. A 512 GB M1 primary with a matching replica costs $829.40 a month for half a terabyte of highly available memory.

Machines for In-Memory Workloads

Monthly prices are the same in all six cities. The smallest order is the shortest term that reaches the $40 minimum.

ServerProcessorCores / threadsMemoryStorageNetworkPer monthSmallest order
S5Intel Xeon E-2276G6 / 12128 GB DDR42x 1 TB NVMe2x 10 Gbps$88.72$88.72 (1 month)
S8Intel Xeon E-2388G8 / 16128 GB DDR41x 1 TB NVMe2x 10 Gbps$103.13$103.13 (1 month)
S12Intel Core i9-14900K24 / 32192 GB DDR52x 4 TB NVMe2x 10 Gbps$202.82$202.82 (1 month)
M12x Intel Xeon Gold 5315Y16 / 32512 GB DDR42x 4 TB NVMe2x 25 Gbps$414.70$414.70 (1 month)
M62x Intel Xeon Gold 6258R56 / 112768 GB DDR42x 2 TB NVMe2x 25 Gbps$664.12$664.12 (1 month)
M132x Intel Xeon Gold 5418Y48 / 961 TB DDR52x 4 TB NVMe2x 25 Gbps$849.12$849.12 (1 month)

Compare all 68 servers »

Keep Reading

Search clusters

OpenSearch, Solr or Meilisearch on local NVMe with a heap that leaves half the RAM to the file system cache.

Open

High memory servers

512 GB to 1 TB of RAM, from $414.70 a month.

Open

Single CPU servers

High clocks, NVMe, 10 to 25 Gbps, from $53.32 a month.

Open

Kubernetes clusters

Run k3s or kubeadm on single-tenant nodes with NVMe for etcd and one public address per node behind an ingress.

Open

FAQ

Quick Answers

Up to 1 TB. M13 has two Xeon Gold 5418Y processors and 1 TB of DDR5 for $849.12 a month.

Yes. Commands run on one main thread, so a high-clock single-socket machine such as S8 suits one large instance. Run several instances to use more cores.

ECC protects against silent bit flips, which matters when RAM holds your data. Our dual-socket Xeon machines use server memory; check the model page for the exact memory type.

Yes. Give each its own memory limit and, on dual-socket boxes, bind them to different sockets with numactl.

If the dataset is under about 60 GB, a 128 GB Single CPU machine is the cheapest fit. Above that, the High memory line starts at $414.70 a month for 512 GB.