vjzning / redis

Automatically exported from code.google.com/p/redis
https://code.google.com/p/redis/
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

why "queued" respond in multi/exec command #153

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi,
very good project.

why not take away the returnd value of "QUEDED" in multi/exec command?
this returned "QUEDED" is wasting the network bandwidth.

cheers

Original issue reported on code.google.com by david.lo...@gmail.com on 5 Feb 2010 at 8:35

GoogleCodeExporter commented 9 years ago
Hello David.

If you reply queued, not only you give feedback to the client that Redis is 
working and 
not dead or that the link is well established, but also client libs like 
redis-rb support 
exec/multi without any change at all.

Cheers,
Salvatore

Original comment by anti...@gmail.com on 5 Feb 2010 at 8:55

GoogleCodeExporter commented 9 years ago
thanks
and appreciate your quick reply.

cheers

Original comment by david.lo...@gmail.com on 5 Feb 2010 at 9:49

GoogleCodeExporter commented 9 years ago

Original comment by anti...@gmail.com on 27 Feb 2010 at 11:57

GoogleCodeExporter commented 9 years ago
multiple replies redis multi exec
$redis->multi();
    for($i=0;$i<=$fullDays;$i++){
        $ymddate = date('m_d_y',mktime(1,1,1,$stdate[0],$stdate[1]+$i,$stdate[2]));

        $impr = $redis->hGet("dev:Delivered:$ymddate:appid",$val);
        $newSdkUsers += $redis->hGet("sdkusers","$val:$ymddate");
}
$res_arr = $redis->exec();
    print_r($res_arr);

now result is not show for both .. ?  any idea ?

Original comment by rjc3...@gmail.com on 2 May 2011 at 11:59