RedisX

A light-weight Redis client library for C/C++


Sigmyne logo

GitHub release version vcpkg version Fedora package version Homebrew package version

RedisX is a light-weight Redis client for C/C++. As such, it should also work with Redis forks / clones like Dragonfly or Valkey. It supports both interactive and pipelined Redis queries, managing and processing subscriptions. It also supports atomic execution blocks and LUA scripts loading. It can be used with one or more distinct Redis servers simultaneously.

While there are other C/C++ Redis clients available, this one is C90 compatible, and hence can be used on older platforms also. It is also small and fast, but still capable and versatile.

The RedisX library was created, and is maintained, by Attila Kovács (Sigmyne, LLC), and it is available through the Sigmyne/redisx repository on GitHub.

This site contains various online resources that support the library:

Downloads

Documentation

Dependencies

Linux Packages

RedisX also comes in packaged form for Fedora / EPEL based Linux, with the following packages

  • redisx – Core library and redisx-cli tool.
  • redisx-devel – C development files (headers and unversioned .so libraries)
  • redisx-doc – HTML documentation

vcpkg Registry

You can also install the RedisX library with vcpkg on Linux, MacOS, Windows, and Android as:

  $ vcpkg install redisx

Or, with the optional tls components (for TLS encryption support) as:

  $ vcpkg install redisx[core,tls]

Homebrew

Or, install via the Homebrew package manager (MacOS and Linux) through the maintainer’s own Tap:

  $ brew tap attipaci/pub
  $ brew install redisx

For more customized installations, you can add the following options also:

Option Description
--without-libomp Build without OpenMP support for parallelized cluster operations.
--without-openssl Build without TLS support.
--with-doxygen Install with local HTML documentation.