The SmartFoxServer 2X client-server protocol
2013-04-02 00:00
183 查看
转自:http://docs2x.smartfoxserver.com/Overview/sfs2x-protocol
1 网络通信内容用二进制流来替代xml
2 改进协议处理算法
1 网络通信内容用二进制流来替代xml
SmartFoxServer 2X uses a highly effiecient binary protocol that makes the server performance outstanding under different aspects. Messages are light on the bandwidth and fast to parse by the client and server engine. Additional on-the-fly compression allows for extra size reduction without impacting the general performance.网络开销和cpu开销相比,常用的做法就是用cpu来换网络带宽。
2 改进协议处理算法
Protocol performance The overall performance of the protocol parsing is also significantly improved in version 2X on both the server and client. Especially on the server side this has a notable effect. We have benchmarked the amount of messages per second that can be parsed with the old text protocol versus the new one.算法A-算法B=0.01s,那么N×差值,N越大,结果越大。平时我们看算法的作用似乎无关紧要,由此可见,算法是很重要的。
相关文章推荐
- Lingo (Spring Remoting) : Passing client credentials to the server
- SmartFoxServer 2X 控制台乱码问题
- Client does not support authentication protocol requested by server; consider upgrading MySQL client
- ADF Faces RC - How-to use the Client and Server Listener Component
- Get The Client Info From PHP SERVER Arrary
- Client does not support authentication protocol requested by server; consider upgrading MySQL client
- 数据库配置 SmartFoxServer 2X
- How to Determine the Cipher Suite for the Server and Client
- How to release the port of TCP Client immediately when the connection is disconnect with the TCP server. - TCP 客户端与 TCP 服务器断开连接后
- 错误(Client does not support authentication protocol requested by server; consider upgrading MySQL client)?
- MYSQL 错误:Client does not support authentication protocol requested by server;
- Using the Intel® MPI Library in a server/client setup
- The server cannot or will not process the request due to something that is perceived to be a client
- Understanding the differences between client/server and peer-to-peer networks
- MySQL 版本错误处理 (Client does not support authentication protocol requested by server)
- jmitm2 is a SSH2 man-in-the-middle-attack program based on the SSH2 client/server implementation J2SSH
- 回射客户端服务器中僵尸进程的处理( the solution of zombie process in the echo client && server )
- Client does not support authentication protocol requested by server: MYSQL
- Mac OS X:Analysis of the Use of the Boot Server Discovery Protocol in NetBoot
- Configuring The CAS Server Used By RPC Client