redisclient
redisclient copied to clipboard
Boost.asio based Redis-client library.
I am using version 0.5.0 of the library and I have a pretty similar code as in the PUBSUB example. My application subscribes to a channel and receives messages. What...
I'm trying to write a program that subscribes to a keyspace change pattern. If it detects that a key has changed, I'd like to know which specific key it was....
In the example,async_pubsub.cpp  the only callback function is onMessage , and the only parameter is the value ,So!!! how can I know the channel when I'm using psubscribe("*")
async_write in RedisClientImpl::asyncWrite causes a crash under the load. Should be wrapped by strand as well: ``` boost::asio::async_write(socket, buffers, strand.wrap(std::bind(&RedisClientImpl::asyncWrite, shared_from_this(), std::placeholders::_1, std::placeholders::_2))); ``` This solves the issue.
I have a question about the policy of invoking callback handler. When I call `RedisAsyncClient::command()` during disconnected, callback function doesn't seems to be called. Is that intentional specification? Here is...
Hello, I'd tried to use connection to localhost with this code: ```cpp boost::asio::io_service io; boost::asio::ip::tcp::resolver resolver(io); boost::asio::ip::tcp::resolver::query query("localhost", "6379"); auto ep = resolver.resolve(query)->endpoint(); redisclient::RedisSyncClient redisInstance; redisInstance.connect(ep); ``` but it fails...
Hello, I'm interested in using this project in my work, but the build system is causing me some issues. Currently it is hardcoded to build static libraries and the CMake...
Hello. Firstly, thanx for your work on redisclient. While using it, I've found there are some problems in multi-thread environment. When you use RedisAsyncClient in multi thread environment - operating...
@nekipelov @elnull use redisclient pubsub to publish message, but when i publish message 5000000, one message 290 Bytes, it will occur 2G memory leak above. top command show 2G memory...