tcp連接是跨國(guó)線(xiàn)路,發(fā)送數(shù)據(jù)頻率很高,客戶(hù)端來(lái)不及接收處理, 提示緩存區(qū)滿(mǎn),導(dǎo)致send_fail很多,請(qǐng)問(wèn)怎么處理好?要做負(fù)載均衡嗎?...
一臺(tái)服務(wù)器A,注冊(cè)地址如下: $register = new Register('text://0.0.0.0:1238');$gateway = new Gateway("websocket://0.0.0.0:9502"); // gateway名稱(chēng),status方便查看 $gateway->name = 'YourAppGateway'; // gateway進(jìn)程數(shù) $gateway->count ...
用在線(xiàn)測(cè)試工具能連接,用workerman連接提示如下: Sec-WebSocket-Accept not found. Header: HTTP/1.1 404 Not Found Date: Sat, 17 Nov 2018 00:37:42 GMT Content-Type: text/html;charset=iso-8859-1 Content-Length: 232 Connection: keep-al...