GithubHelp home page GithubHelp logo

icerlion / flyredis Goto Github PK

View Code? Open in Web Editor NEW
19.0 19.0 4.0 217 KB

C++ Redis Client, base on Boost.asio, auto detect redis cluster

License: Apache License 2.0

C++ 96.74% Makefile 3.26%
asio cpp redis

flyredis's People

Contributors

icerlion avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

flyredis's Issues

pub/sub

Any hope for Subscribe command?

TLS support & cluster connectivity

Hello,

is there any chance this library supports secure communication to Redis Server?
Also, I can see the code related to cluster, so does it mean it was also tested against Redis Enterprise cluster?

Thanks,
Konrad

SCAN command for keyspace with a key parameter?

Hello,
I'm trying to use this library in my project and I've found a possible problem.
The signature of the SCAN function
bool CFlyRedisClient::SCAN(const std::string& strKey, int nCursor, const std::string& strMatchPattern, int nCount, int& nResultCursor, std::vector<std::string>& vecResult)
is possibly wrong, because the first parameter (strKey) has no meaning if you are trying to scan with a MATCH option in the redis keyspace.

It's instead ok with SSCAN and ZSCAN, where you are looking in the SET or ZSET elements.

Is there a workaround to achieve the same result on Keyspace? Maybe passing an empty key?

Thanks,
Flavio

seperate io context in CFlyRedisSession

I was trying to use this library to get some key value pair from redis. to integrate into actual system, it has limitations.
it creates separate io context. in real world example ioc is created in main and passed on to many required libraries.

I guess the constructor needs to change to ioc as an injectable reference type

Removed function from previous version

Hello,
I've found that you removed a function in the new version.

void SetRedisReadTimeOutSeconds(int nSeconds);

I included this in my project, so there is a replacement for this?

Could you please tag your version with date/numbering so we can check when a new version come out?
Also a release note could be useful.

Thanks,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.