Search for articles...

Go to WebsiteControl Panel

Getting started

High-performance in-memory caching powered by ValKey. Redis-compatible, multi-threaded, and memory-efficient.

Overview

NoVPS Cache is a high-performance, in-memory caching layer built on top of Valkey — an open-source, high-availability key-value data store and drop-in Redis replacement. Forked from Redis 7.2.4 and now maintained by the Linux Foundation, Valkey delivers the same Redis-compatible API while introducing multi-threading improvements, memory optimizations, and an open governance model. It serves as the primary caching backend within the Granite ecosystem, providing sub-millisecond response times with full compatibility with the Redis protocol and data types.

By leveraging Valkey's vertically scalable architecture and active development community, NoVPS Cache eliminates the need for complex clustering in many use cases, simplifies infrastructure, and reduces memory overhead through efficient data structures and I/O threading.

Key Features

Redis-Compatible API — Supports the full range of Redis commands, data structures (strings, hashes, lists, sets, sorted sets, streams), and client libraries, allowing seamless integration with existing tooling and applications without code changes.
Multi-Threaded I/O — Unlike traditional single-threaded Redis, Valkey supports I/O threading that utilizes additional CPU cores, delivering higher throughput on multi-core systems while maintaining strong consistency guarantees.
Memory Efficient — Employs optimized data structures and memory allocator improvements inherited from Redis, with ongoing enhancements by the Valkey community to reduce overhead across common workloads.
Low Latency — Optimized for sub-millisecond p99 latency under heavy load, making it suitable for latency-sensitive applications such as real-time bidding, session stores, rate limiting, and API response caching.
Snapshot-Based Persistence — Provides point-in-time RDB snapshots with minimal performance impact, enabling reliable backup and recovery.
Active-Passive Replication — Supports asynchronous replication to one or more replicas, ensuring high availability and read scalability while maintaining data consistency.
Seamless Granite Integration — Pre-configured and optimized as the default caching provider across the NoVPS platform, with automatic discovery, health checks, and unified observability.

Architecture Highlights

NoVPS Cache runs Valkey natively, taking advantage of its single-threaded event loop with optional I/O threading for network-bound workloads. The shared-nothing design of individual instances eliminates contention for CPU-bound operations. For persistence, the RDB snapshot mechanism forks the process to create consistent backups without blocking ongoing requests, ensuring zero-downtime operation.

Common Use Cases

API and database query result caching
Session and user state storage
Rate limiting and token bucket implementations
Real-time leaderboards and counters
Pub/sub messaging for lightweight event broadcasting
Deduplication layers and bloom filter approximation

Client Compatibility

Any Redis-compatible client works out of the box with NoVPS Cache. Supported libraries include, but are not limited to:

redis-py
ioredis node-redis
go-redis
Jedis Lettuce
StackExchange.Redis

Read also

Pricing

Transparent per-node pricing. Scale from 1 to 3 nodes with no hidden costs.