You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Extending predis pipeline, I was able to simultanously send the same command to multiple Redis instances and wait for the responses and process them in PHP to form the final result (map-reduce). As far as I know, this wasn't possible with phpredis. I am wondering if you can officially add such a feature to php-redis-client as well.
Here is my predis code and an example test:
Our story: In our production use-case, the commands to be run in parallel need some heavy cpu-bound operations. For us, this was the only way to utilize the resources in order to reduce the time needed to process each request. Now that predis is not maintained, we are kind of in trouble if we can't migrate to a new solution.
Thanks in advance for your help and guides.
The text was updated successfully, but these errors were encountered:
Hi @halaei
It is an interesting idea, I will think about it.
Currently, try to look at this library https://packagist.org/packages/cheprasov/php-parallel
The library allows allows to run multiple operations parallel in different thread. Maybe it would be helpful.
Thanks.
Extending predis pipeline, I was able to simultanously send the same command to multiple Redis instances and wait for the responses and process them in PHP to form the final result (map-reduce). As far as I know, this wasn't possible with phpredis. I am wondering if you can officially add such a feature to php-redis-client as well.
Here is my predis code and an example test:
Our story: In our production use-case, the commands to be run in parallel need some heavy cpu-bound operations. For us, this was the only way to utilize the resources in order to reduce the time needed to process each request. Now that predis is not maintained, we are kind of in trouble if we can't migrate to a new solution.
Thanks in advance for your help and guides.
The text was updated successfully, but these errors were encountered: