What would be the best way to use a Redis DB within a C++ program?
If you care about performance, give a try for bredis. It uses c++ 14 and boost::asio
and has not other dependencies (i.e. no hiredis
nor libev
etc.). Its usage might be not as convenient as the other C++ libraries, but that was trade off by design in the sake of performance and maximum flexibility.
bredis much more easy to use on Windows, as it has no hiredis
dependency.