macrostack
Browse

The AI stack

Categories

Local & Sovereign AINotes & KnowledgeObservability & MonitoringPassword ManagersWeb AnalyticsTeam ChatSmart HomeNetworking & RoutersVideo ConferencingCloud Storage & SyncPhotos & MediaAPI DevelopmentImage EditingWorkflow Automation & iPaaSDeveloper Tools & ContainersOffice & Productivity SuitesNo-Code DatabasesCode Hosting & Git ForgesProject ManagementEmail Marketing & NewslettersScheduling & BookingError Tracking & Exception MonitoringLog Management & SIEMVPN & PrivacyEmail & Secure MailVector Databases & AI SearchLLM & Agent FrameworksDomains & Web HostingData Removal & PrivacyAuthentication & IdentityHelp Desk & Customer SupportCloud & VPSKubernetes & Container PlatformsEmbedding ModelsPDF & DocumentsAI Coding AssistantsAI Voice & SpeechLLM Observability & EvaluationLLM Gateways & RoutingCloud GPU & AI ComputeCI/CD & build automationData & pipeline orchestrationModel serving & inferenceAI agent frameworksBackend as a serviceSecrets managementFeature flags & experimentationProduct analyticsSearch infrastructureUptime & status monitoringAffiliate & partner platformsVisitor identification & personalisationWikis & internal docsIdentity & access managementData warehouses & analytics enginesCustomer data platformsCRMObject storageBI & dashboardsE-signatureWhiteboards & diagrammingIn-memory data stores & cachingPlatform as a serviceTransactional & bulk emailHeadless CMSDesign & prototypingE-commerce platformsInternal tools & admin panelsManaged databasesForms & surveysFine-Tuning & Model TrainingRAG & Retrieval PlatformsLLM Evaluation & TestingAI Guardrails & Content SafetySpeech Recognition & TranscriptionExperiment Tracking & ML OpsDocument AI & OCR

About

How we rank & score

Layer 3 · self-hosting reality check

What it actually takes to self-host Valkey

The docs say 128 MB. In practice you want Your working set + 30%. Here is the honest version — real requirements, real monthly cost, what you will be maintaining, and the one thing that catches people out.

Usually reached from Redis alternatives, where Valkey is one of the picks.

RAM — documented minimum128 MB
RAM — what it really needsYour working set + 30%
CPU2 vCPU — it is single-threaded for commands
DiskSmall, unless you enable AOF persistence
Monthly cost$12–30/mo depending on dataset size, against managed Redis pricing that climbs steeply with memory
Setup time30 minutes
How you install itpackage or container; it is a drop-in fork of Redis 7.2, so existing clients work unchanged
Ongoing maintenanceLow. Watch memory and set an eviction policy.
Where it stops scalingHundreds of thousands of operations per second on one node. Clustering adds complexity you should defer as long as possible.

The thing that catches people out

No maxmemory setting means the process grows until the OOM killer takes it — and it takes the whole box's cache with it. Set maxmemory and an eviction policy (allkeys-lru for a cache, noeviction if you are using it as a queue and cannot afford silent data loss) on the very first deploy. This is the single most common self-hosted Redis-family outage.

When not to self-host Valkey

You are using it as a primary datastore rather than a cache and cannot tolerate losing the last few seconds on a crash. Persistence exists but the durability guarantees are weaker than a real database.

Every guide here carries this section. A site that only ever tells you to self-host is selling something — the useful answer is sometimes no.

Other Layer 3 self-hosting guides

Common questions

How much RAM does Valkey actually need?
Your working set + 30% in practice. The documented minimum is 128 MB, which is the figure at which the process starts rather than the figure at which it works under real use. 2 vCPU — it is single-threaded for commands alongside it.
What does self-hosting Valkey cost per month?
$12–30/mo depending on dataset size, against managed Redis pricing that climbs steeply with memory This is commodity VPS pricing and excludes your time, which is the larger cost for most people — budget for low. Watch memory and set an eviction policy.
How long does it take to set up Valkey?
30 minutes, via package or container; it is a drop-in fork of Redis 7.2, so existing clients work unchanged.
When should I NOT self-host Valkey?
You are using it as a primary datastore rather than a cache and cannot tolerate losing the last few seconds on a crash. Persistence exists but the durability guarantees are weaker than a real database.
What is the most common mistake when self-hosting Valkey?
No maxmemory setting means the process grows until the OOM killer takes it — and it takes the whole box's cache with it. Set maxmemory and an eviction policy (allkeys-lru for a cache, noeviction if you are using it as a queue and cannot afford silent data loss) on the very first deploy. This is the single most common self-hosted Redis-family outage.
The Macrostack brief

New swaps, worth your inbox.

A short, occasional email when we add a high-intent alternative or ship a new head-to-head. No spam, no selling your address — unsubscribe in one click.