PHP中文网2017-04-21 11:19:05
If it is really a game server, it is recommended to use node.js, and it is recommended to use the Pomelo framework developed by NetEase.
阿神2017-04-21 11:19:05
"Writing a game server in ruby? Is it just for two people?" High concurrency is really not ruby's strong point. You can use node.js as mentioned above.
PHP中文网2017-04-21 11:19:05
Games have high concurrency and often have long connections, so nodejs is more reliable.
伊谢尔伦2017-04-21 11:19:05
http://www.kbengine.org/
What is KBEngine?
An open source game server engine that uses a simple protocol to enable the client to interact with the server. Using the KBEngine plug-in, it can be quickly combined with (Unity3D, OGRE, Cocos2d, HTML5, etc.) technologies to form a complete client.
The server-side underlying framework is written in C++, and the game logic layer uses Python (supports hot updates). Developers do not need to repeatedly implement some common underlying technologies on the game server, and can truly concentrate on the game development level and quickly create various Online game.
(We are often asked about the load limit. The underlying architecture of kbengine is designed as a multi-process distributed dynamic load balancing solution. In theory, the load limit can be continuously increased by continuously expanding the hardware. The load limit of a single machine depends on the game logic itself. complexity. )