Developing Redis applications with C++
I have found the following libraries to develop redis applications with c++ : hiredis (only available for c) redis-plus-plus (based on hiredis, available for C++) cpp-redis Asynchronous Multi-Platform, no dependency Installation of redis-plus-plus First lets install hiredis
1 2 3 4 5 |
git clone https://github.com/redis/hiredis.git cd hiredis mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX:PATH=~/usr .. && make -j8 all install |
Then we install redis-plus-plus
1 2 3 4 5 6 |
git clone https://github.com/sewenew/redis-plus-plus.git cd redis-plus-plus mkdir build cd build cmake -DCMAKE_BUILD_TYPE=Release -DREDIS_PLUS_PLUS_BUILD_TEST=ON -DREDIS_PLUS_PLUS_CXX_STANDARD=17 -DCMAKE_INSTALL_PREFIX:PATH=~/usr .. && make -j8 all install |
Using redis-plus-plus in your application I have created the following CMake to […]
Developing Redis applications with C++ Read More »