Pavlo Yatsukhnenko
Pavlo Yatsukhnenko
@Tasiobg, how this 'choosing' should looks like?
There are `pconnect` constructor option and `redis.arrays.pconnect` INI setting
https://github.com/phpredis/phpredis/blob/develop/cluster_library.c#L1046 @ostrolucky There is shuffling of nodes while initialization.
Do you use [slot caching](https://github.com/phpredis/phpredis/blob/develop/cluster.markdown#slot-caching)?
Could you show additional info about cluster? CLUSTER INFO, CLUSTER NODES, etc
It looks like we don't actually shuffle nodes in case of slot caching https://github.com/phpredis/phpredis/blob/develop/redis_cluster.c#L139 EDIT: no, there is `fyshuffle` in `cluster_init_cache`
@tillkruss @michael-grunder It might be `SUM(txBytes)` but this means I have to clear this value on all nodes before sending any request.
@tillkruss Also should we count all transferred bytes when redirection occurs?
@michael-grunder we need your thoughts about implementation
@michael-grunder could you take a look, please