google官网简单介绍了下面几个扩展,哪个的性能最好呢?各有什么特点(描述一个给10分)?PHP Predis is a new, flexible and feature-complete PHP library client written by Daniele Alessandri (@jol1hahn). Predis is currently a work-in-progress and it targets PHP >= 5.3, though it is highly due to be backported to PHP >= 5.2.6 as soon as the public API and the internal design on the main branch will be considered stable enough, but you should give it a try as it already the best client library available for PHP.
PHP Rediska is a full-featured pure PHP Redis client implementation supporting an impressive number of features: multiple servers, consistent hashing (with support for user-specified algorithm), abstraction of Redis types as PHP types, Zend framework integration. Rediska is developed by Ivan Shumkov and Maxim Ivanov.
PHP redis.php is the legacy original PHP client written by Ludovico Magnocavallo (aka ludo), modified and ported to PHP 5 by Salvatore Sanfilippo, still not a good pick but there is still code running against it.
PHP client lib written in C, as a PHP module: PHPRedis! thanks to Alfonso Jimenez for the initial implementation and to Nicolas Favre-Félix and Nasreddine Bouafif for bringing the code to a real-world usability level fixing a lot of bugs and implementing many additional commands.

解决方案 »

  1.   

    最近也在研究redis, 其实他本身带的php也可以编
    我找到了两个扩展
    http://code.google.com/p/php-redis/
    http://rediska.geometria-lab.ru当然还可以参老一个例子
    http://code.google.com/p/redis/wiki/TwitterAlikeExample我试用了一下,性能当然相当了得,我是在虚拟机里面玩的
    我觉得框架本身并不重要,就那么几个类,几行代码,重要的是这种key-value的数据库和以前的数据库建模完全不一样,需要考虑怎么设计key, value存什么的问题我倒是觉得上面的那个例子很有用