tags:

views:

1240

answers:

6

If i check redis php supported language (http://code.google.com/p/redis/wiki/SupportedLanguages), there's 4 PHP ones: Redis PHP Bindings,phpredis,Predis,Redisent.

Question is, which is the best and good to use?

Thanks!

+6  A: 

redis.php/phpredis is recommended against on the redis wiki.

Predis is under active development.

The rediska website does not load.

Redisent is designed to be simple and is not under active development.

Given these, I would go with Predis

Michael Greene
active development is a good thing ...
Alfred
Predis, personally I don't use, but I have heard very good reviews.
James Hartig
I'm currently developing a project using Predis, and it is very good. Also, the development is very active -- updates coming as quick as they are on Redis itself! :)
mkgrunder
+1  A: 

Try php5 redis

Alex
+3  A: 

Rediska web site work well http://rediska.geometria-lab.net/

Nikita
+1  A: 

I've benchmarked all of the PHP clients for Redis. Don't waste your time cuz the performance sucks. Redis claims 110,000 GET/s when in reality, you'll be lucky to get 7500/s with PHP with a single client.

Troubled
Network latency is obviously going to have a huge impact in the number of GET/sec you can get with one client. Redis should really shine when you have a bunch of clients hitting it.
Jay Paroline
+3  A: 

So far I am pretty happy with owlient phpredis: http://github.com/owlient/phpredis

They have been incredibly fast to respond to any issues I have filed against them (feature requests and compatibility issues with 2.0RC1 right after it came out). The codebase seems sound, and hasn't ever given us trouble.

I like that there's not a ton of object soup involved, using it is very straightforward, just like Redis!

I also like the fact that it's a PHP module, so it should be more efficient than a pure PHP client.

Jay Paroline
+2  A: 

We are using owlient phpredis on an high traffic website (5M Page views/day) and each page is making a call to redis using that client...works like a charm and we nearly see any CPU activity link to this. We use a distributed redis system with a master inserting/updating the values and slaves for only reading.

zephir