Redis

    延迟收包

    1. $res2 = PoolManager::getResource('redis');
    2. $db1 = $res1->getInstance();
    3. $db2 = $res2->getInstance();
    4. $defer2 = $db2->deferGet('imi:redis:test');
    5. list($result1, $result2) = MuiltDefer::call($defer1, $defer2);
    6. var_dump(microtime(true) - $time);