How to use Redis within a C++ program?

前端 未结 9 1418
被撕碎了的回忆
被撕碎了的回忆 2020-12-15 06:48

What would be the best way to use a Redis DB within a C++ program?

9条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-15 07:11

    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.

提交回复
热议问题