Please sign in to comment.
bug #30351 Fix getItems() performance issue with RedisCluster (php-re…
…dis) (andrerom) This PR was merged into the 3.4 branch. Discussion ---------- Fix getItems() performance issue with RedisCluster (php-redis) | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | TBD | License | MIT On any kind of multi loads, including tags loading where it's always the case, current code leads to an explosion of Redis lookups affecting performance on RedisCluster _(as it does not support pipeline)_. This backports the code for mget() usage from 4.x in order to fix it. It's done with one small improvment which would also be relevant for 4.x, only using pipeline on cluster on predis as mget is more efficient (ref redis doc). Commits ------- 178506e Fix getItems() performance issue with RedisCluster (php-redis)
- Loading branch information...
Showing with 16 additions and 5 deletions.