yii2-redis
yii2-redis copied to clipboard
Yii 2 Redis extension.
### What steps will reproduce the problem? The save() method is non-atomic, various problems can occur in highly concurrent operations. and it's inefficient. ### What's expected? Use the Lua script...
this yii2-redis has no pipeline function?
At the moment, we have no way to use pub/sub feature of redis via this lib. Please implement to support pub/sub.
Is that possible to add session locking functionality to redis sessions? That has been added 1 year ago to phpredis: https://github.com/phpredis/phpredis/pull/1181 Probably, this easiest wy to do that is to...
Hi, i found a bug. Example: ``` php class Bet extends \yii\redis\ActiveRecord { public static function primaryKey() { return [ 'game_id', //int 'stage_id', //string 'user_id' //int ]; } // some...
Restful resources pagination with [yii\redis\ActiveRecord] + [yii\data\ActiveDataProvider] problem
This issue has originally been reported by @phuczeero at https://github.com/yiisoft/yii2/issues/12961. Moved here by @samdark. ----- ### What steps will reproduce the problem? **Token.php** ``` namespace app\models; class Token extends \yii\redis\ActiveRecord...
I suggest yii2-redis\src\Connection changing `Private function parseResponse($command)` to `Public function parseResponse($command)`.
for example: 'redis' => [ 'class' => 'yii\redis\Connection', 'servers'=>[ ['hostname' => '127.0.0.1','port'=> 6379], ['hostname' => '127.0.0.1','port'=> 6380], ['hostname' => '127.0.0.1','port'=> 6381], ] ],
Do we want to add a new connection class, that will use [predis](https://github.com/nrk/predis) (as e.g. laravel does) to support such features as replication and sentinel support? Or it could be...