摘要:
https://redis.readthedocs.org/en/latest/https://redis.readthedocs.org/en/latest/sorted_set/zcount.htmlzrangebyscore 语法:zrangebyscore key min max [with... 阅读全文
摘要:
Redis系列-存储篇sorted set主要操作函数小结 redis支持有序集合,即sorted set。sorted set在set的基础上,增加了排序属性,是set的升级版。这里简要谈谈sorted set的常用函数:1)insert www.2cto.com a) zadd语法:zad... 阅读全文
摘要:
predis是php连接redis的操作库,由于它完全使用php编写,大量使用命名空间以及闭包等功能,只支持php5.3以上版本,故实测性能一般,每秒25000次读写,相信改换c语言编写的php扩展后性能会大幅提升(比如使用C扩展phpredishttps://github.com/owlient/... 阅读全文
摘要:
D:\per\xampp\php\php -r "readfile('http://getcomposer.org/installer');" | phpphp composer.phar create-project --prefer-dist --stability=dev yiisoft/yi... 阅读全文