Welcome to Valkey GLIDE
The General Language Independent Driver for the Enterprise (GLIDE) for Valkey is an official open-source client library for the Valkey datastore, supporting all Valkey commands.
One Core, Multiple Languages
Section titled “One Core, Multiple Languages”With a shared Rust core, Valkey GLIDE delivers consistent behavior across multiple languages and reduces complexity.
Performant and Reliable
Section titled “Performant and Reliable”Valkey GLIDE is designed for reliability, optimized performance, and high-availability for Valkey and Redis OSS based applications.
It also comes pre-configured, using the best practices learned from over a decade of operating Redis OSS-compatible services used by hundreds of thousands of customers.
Compatible with Redis OSS
Section titled “Compatible with Redis OSS”Valkey GLIDE is API-compatible with Redis 6.2, 7.0, 7.1, and 7.2.
Key Features
Section titled “Key Features”- AZ Affinity – Ensures low-latency connections and minimal cross-zone costs by routing read traffic to replicas in the clients availability zone. (Requires Valkey server version 8.0+ or AWS ElastiCache for Valkey 7.2+).
- PubSub Auto-Reconnection – Seamless background resubscription on topology updates or disconnection.
- Sharded PubSub – Native support for sharded PubSub across cluster slots.
- Cluster-Aware MGET/MSET/DEL/FLUSHALL – Execute multi-key commands across cluster slots without manual key grouping.
- Cluster Scan – Unified key iteration across shards using a consistent, high-level API for cluster environments.
- Support for TS / CJS / MJS – Fully compatible with modern and legacy JavaScript/TypeScript runtimes.
- Support for asyncio / anyio / trio – Native compatibility with modern Python async frameworks, enabling efficient and seamless integration into asynchronous workflows.
- Batching (Pipeline and Transaction) – Efficiently execute multiple commands in a single network roundtrip, significantly reducing latency and improving throughput.
- OpenTelemetry – Integrated tracing support for enhanced observability and easier debugging in distributed environments.
Supported Engine Versions
Section titled “Supported Engine Versions”Valkey GLIDE is API-compatible with the following engine versions:
| Engine Type | 6.2 | 7.0 | 7.1 | 7.2 | 8.0 | 8.1 | 9.0 |
|---|---|---|---|---|---|---|---|
| Valkey | - | - | - | V | V | V | V |
| Redis | V | V | V | V | - | - | - |
What’s Next
Section titled “What’s Next” Getting Started Start here! This guide will walk you through a quickstart to connect to a Valkey datastore with GLIDE.
Migrating to Valkey Everything you need to know for migrating to Valkey GLIDE.
Languages Explore language specific documentations for each of Valkey GLIDE drivers.
The Rust Core Learn about the Rust core the powers all of the GLIDE clients.