Caching and middleware
Plan for peak usage on shared hosts, not an even split by process count
The 128GB tier can accommodate Redis, message queues and search middleware on one server, provided peak usage across services and background task overhead are included in the memory budget.
Redis: account for runtime overhead, not just data
Capacity estimates should go beyond the raw size of key-value data. Object overhead, memory fragmentation, replication buffers and persistence tasks can all increase usage. Set workload-appropriate capacity limits and eviction policies, and reserve space for background tasks.
Message queues: backlogs change write pressure
When producers outpace consumers, message backlogs affect both memory and disk usage. Define retention policies, write-to-disk paths and disk space alerts before deployment to prevent growing backlogs from competing with database writes for the same storage path.
Search services: heap is only part of the budget
Search processes also use the page cache and resources for merge tasks. When sharing a server with Redis, set limits for each service and monitor peak overlap. Do not simply add their individual daily averages.
Both tiers use DDR4-3200 ECC RDIMMs. ECC helps reduce the risk of single-bit memory errors, but does not replace application-level validation, persistence, data replicas or off-site backups.