valkeyversion Documentation on ocaml.org

Modern Valkey client for OCaml 5 + Eio (RESP3-only)

Eio-native Valkey client targeting OCaml 5.3+ and Valkey 7.2+ (including Valkey 8.1 / 9 additions: SET IFEQ, DELIFEQ, hash field TTL). RESP3 only; no Lwt/Async/legacy fallback. Connection layer has auto-reconnect, byte-budget backpressure, circuit breaker, keepalive, TLS, and optional domain split so the parser can't stall socket I/O. Cluster router with quorum-based topology discovery, MOVED/ASK/CLUSTERDOWN/TRYAGAIN retry, periodic refresh, and Read_from-aware replica routing (incl. AZ affinity). Valkey Bundle module wrappers cover Search, JSON, and Bloom.

Tags valkey redis eio client resp3 cluster
AuthorAvi Fenesh <aviarchi1994@gmail.com>
LicenseMIT
Published
Homepagehttps://github.com/avifenesh/ocaml-valkey
Issue Trackerhttps://github.com/avifenesh/ocaml-valkey/issues
Documentationhttps://github.com/avifenesh/ocaml-valkey
MaintainerAvi Fenesh <aviarchi1994@gmail.com>
Dependencies
Source [http] https://github.com/avifenesh/ocaml-valkey/archive/refs/tags/v0.4.0.tar.gz
sha256=7ad4cb87b92ca9a6bc77fd50b34cfe94388782d7757a406cc481219a6fea4886
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/valkey/valkey.0.4.0/opam
No package is dependent