PureKVA Overview and Architecture

PureKVA

Audience
Public
Product
FlashBlade > Purity//FB
Content Type
User Guides
Source Type
Documentation

Pure Key-Value Accelerator (PureKVA) is a persistent key-value (KV) cache layer for large language model (LLM) inference. It works with vLLM and stores KV cache data on FlashBlade over NFS or S3.

Instead of recomputing the same attention state for repeated prompt prefixes, PureKVA stores the KV state once and reuses it. This reduces pre-fill work, improves time to first token (TTFT), and increases GPU utilization. It is best suited to workloads where requests share the same prompt prefix, instructions, or context.

PureKVA provides these core capabilities:

  • Persistent KV cache reuse for repeated or overlapping prompts.

  • Shared cache access across multiple GPUs and inference nodes.

  • NFS (over TCP and RDMA) and S3 storage backends.

  • Three-tier caching across GPU memory, CPU memory, and network storage.

  • Deployment on a standalone server, Kubernetes, or OpenShift.

  • Support for hybrid models, TurboQuant.

Deployment Modes

The cache behavior is the same in every mode. The mode changes how components are packaged, connected, and secured.

Standalone server Server runs as a systemd service. Plugin and server communicate over a Unix domain socket.
Kubernetes/OpenShift Server runs as a DaemonSet. vLLM connects to the server through a cluster service.

OpenShift has same containerized model as Kubernetes, with the SCC, security context, and service-account settings.

Note: Container-native deployment on Kubernetes and OpenShift is available from PureKVA v1.2.

Capabilities by Release

Release Capabilities
PureKVA v1.3
  • Active Cache
  • Multi-node vLLM support

PureKVA v1.2
  • Three-tier caching
  • S3 backend

  • Container-native deployment

  • Multi-tenancy

PureKVA v1.1
  • Hybrid models
  • FlashInfer attention

  • Single-file-per-chunk cache layout

PureKVA v1.0
  • Persistent KV cache reuse
  • Cache access across GPUs and nodes over NFS (TCP or RDMA)

Architecture Overview

PureKVA is an inference acceleration layer between the inference engine and the storage backend. FlashBlade provides the shared file and object storage.

Component Role
vLLM (inference engine) Generates KV tensors and uses PureKVA as the persistent cache backend.
PureKVA plugin and server Plugin connects vLLM to the server. Server captures, stores, and retrieves KV cache data.
FlashBlade Scale-out storage for shared KV cache data over NFS or S3.
Plugin-to-server connection depends on the deployment mode:
Figure 1. PureKVA Architecture

How PureKVA Works

PureKVA follows a simple model: compute once, store, and reuse.

  1. vLLM processes the prompt and generates attention key and value tensors.
  2. PureKVA captures that KV state, divides it into chunks, and writes it to persistent storage.
  3. When a later request includes the same or similar prefix, PureKVA looks for a matching cached prefix.
  4. If it finds a match, PureKVA loads the required KV state so the model can skip much of the pre-fill step.

Memory Tiers

From v1.2, PureKVA caches across three tiers. KV state stays in memory after it is written to storage, so a repeat request is served from memory instead of a full storage round trip.

Tier Purpose
GPU memory In GDS mode, GPU memory is used as a staging area. KV state is later copied down through the CPU tier after landing here.
CPU memory Flexible tier that absorbs memory pressure after KV state leaves the GPU tier.
Network storage Persists the full KV cache on FlashBlade (NFS or S3) for reuse across requests, GPUs, and nodes.

Storage Back-end

A deployment uses one backend at a time, selected in the server configuration.

Back-end Details Availability
NFS FlashBlade NFS over TCP or RDMA. All releases.
S3 FlashBlade S3 over TCP or RDMA. From v1.2

Multi-tenancy

From v1.2, one PureKVA server serves multiple tenants on a host. Multiple vLLM instances can run on the host; each belongs to a tenant, or the default tenant if none is assigned.

Concept Description
Tenant An organization, team, or workspace mapped to one storage policy per host.
Storage policy Named backend and lifecycle settings. The top-level config is the default policy; tenant policies override it and inherit unset values.
Tenant isolation Cache data is isolated by tenant ID and is not reused across tenants.

Cache data without tenant or partition information maps to the default tenant and partition.

For more information, go the Multi-tenancy in PureKVA.

Benefits of PureKVA

PureKVA is a good fit for workloads that repeatedly reuse prompt prefixes between single or multiple instances of vLLM (in a single or multiple hosts), including:

  • Retrieval-augmented generation (RAG).
  • Multi-turn chat and conversational AI.
  • Repeated system prompts and prompt templates.
  • Multi-tenant inference with similar request patterns.
  • Long-context workloads and distributed inference environments.
The following topics apply to the teams responsible for deploying, managing, and supporting vLLM-based inference with PureKVA.
Tip: PureKVA version 1.3 is now available. Contact Everpure Account team, or go to the PureKVA Releases page to see what is new in PureKVA v1.3.