-
-
Notifications
You must be signed in to change notification settings - Fork 185
Open
Labels
type:enhancementEnhancementEnhancement
Description
ActiveRecord is very flat and slow (if we have many records at redis hash) when we try get with where condition.
For example:
RedisModelAR::find()
->where(['login' => $login])
->one();
Because when go to findByPk use HGETALL.
What about rewrite logic at ActiveQuery with HMGET etc. for best performance ?
And fields(AR attributes) store as hash field redis(hmset) not json or serialize.
Metadata
Metadata
Assignees
Labels
type:enhancementEnhancementEnhancement