应该做的第一件事是,确保所有服务器使用全双工和最高的网络速度,并相应地匹配交换机端口。
The first thing you should do is make sure all servers are locked down to the highest speed possible using full duplex and the switch port is set to match.
图1展示了一个简化的网络拓扑,客户端使用浏览器来访问后端基于TCP的服务,这里使用了全双工的HTML5 WebSocket连接。
Figure 1 shows a simplified network topology in which clients use a browser to access back-end TCP-based services using a full-duplex HTML5 WebSocket connection.
一旦连接建立,WebSocket数据帧就可以以全双工的模式在客户端和服务器之间来回传输。
Once established, WebSocket data frames can be sent back and forth between the client and the server in full-duplex mode.
应用推荐