Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to choose the library to access Redis #100

Closed
mrDlef opened this issue Apr 8, 2013 · 1 comment
Closed

Allow to choose the library to access Redis #100

mrDlef opened this issue Apr 8, 2013 · 1 comment

Comments

@mrDlef
Copy link

mrDlef commented Apr 8, 2013

I would like to use predis to access my redis database. I think it would be great to offer the choice for that.

@chrisboulton
Copy link
Owner

Hi!

Thanks for the suggestion, but I think ultimately this is a bad idea. Right now php-resque (master) will use Credis, which works either with the native phpredis extension, or using sockets in PHP. We chose Credis because it's a light library (look at the complexity of Predis - woah!), so it should slot in without difficulty in most places.

I'm wary of adding multiple driver implementations, purely because of the complexity it would add to php-redis, in terms of development, and testing. Already right now there are subtle implementation differences between phpredis and the socket based version Credis exposes. I don't want to complicate things further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants