国产+高潮+在线,国产 av 仑乱内谢,www国产亚洲精品久久,51国产偷自视频区视频,成人午夜精品网站在线观看

為何多次執(zhí)行$connection->send會(huì)造成效率嚴(yán)重降低

NightCats

我使用的是windows版本.

function forexample()
{
    $connection->send($something);
}

這樣時(shí)正常,VPS上測(cè)試,接收延遲10ms

function forexample()
{
    $connection->send($something);
    $connection->send($something);
}

這樣時(shí)效率就嚴(yán)重降低,第二個(gè)包延遲200~300ms

這該怎么解決呢?

3814 1 0
1個(gè)回答

walkor 打賞

https://github.com/walkor/workerman-for-win
重新更新下winows版本試下。
windows版本沒(méi)關(guān)閉TCP Nagle算法,

年代過(guò)于久遠(yuǎn),無(wú)法發(fā)表回答
??