pomelo README

The project's README from github.com/NetEase/pomelo. As one markdown file: README.md.

Pomelo -- a fast, scalable game server framework for node.js

Pomelo is a fast, scalable game server framework for node.js. It provides the basic development framework and many related components, including libraries and tools. Pomelo is also suitable for real-time web applications; its distributed architecture makes pomelo scale better than other real-time web frameworks.

Build Status

Features

Complete support of game server and realtime application server architecture

Fast, scalable

Easy

Powerful

Extensible

Why should I use pomelo?

Fast, scalable, real-time game server development is not an easy job, and a good container or framework can reduce its complexity. Unfortunately, unlike web, finding a game server framework solution is difficult, especially an open source solution. Pomelo fills this gap, providing a full solution for building game server frameworks. Pomelo has the following advantages:

How can I develop with pomelo?

With the following references, you can quickly familiarize yourself with the pomelo development process:

Contributors

License

(The MIT License)

Copyright (c) 2012-2017 NetEase, Inc. and other contributors

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

pomelo (NetEase/pomelo)

Searching Database…

11.9K ·GitHub
archived
这是什么?一个面向 Node.js 的高性能、可扩展的游戏服务器框架,最初由网易开发。它提供核心框架以及相关组件——各种库和工具,也适合开发实时 Web 应用。
它是一个完整的游戏引擎,还是只有服务器端?只有服务器端:它是运行在 Node.js 上的一个框架加若干组件(rpc、protocol、admin、scheduler、logger),并不是客户端引擎。用于连接应用的客户端库是单独提供的。
我该怎么入手用它搭建一个服务器?所有内容都以 npm 模块的形式分发——在 Node.js 项目中加入 pomelo 核心和所需的组件,然后按照入门文档和教程操作即可。测试套件通过 grunt 运行。
运行它需要安装什么?只需要 Node.js——整个架构就是围绕 node 的单线程模型设计的。运行时依赖包括 socket.io、async、crc 以及 pomelo 自己的模块,比如 pomelo-rpc 和 pomelo-protocol。
pomelo 还在积极维护吗?没有——GitHub 仓库已经归档为只读,许可证的版权声明也止于 2017 年。请把它当作一个曾经久经考验但已冻结的代码库,而不是一个仍在发展的项目。
它适合做哪些类型的游戏和应用?多人游戏——手游、社交游戏、网页游戏以及中等规模的 MMO RPG——还有聊天、消息推送等实时应用。
可以用在商业游戏里吗?要花钱吗?它采用 MIT 许可证:任何用途都免费,包括商业项目,只要你保留副本中的版权声明即可。
它是如何扩展到支持大量玩家的?依靠分布式的多进程架构:每个进程都是单线程运行,这很契合 node 的模型。通过增加服务器进程来扩容,服务器类型也可以灵活扩展。
哪些客户端平台可以连接 pomelo 服务器?很多:JavaScript(网页)、Flash、Android、iOS、cocos2d-x 以及纯 C——客户端支持被列为该框架的卖点之一。
有没有可以学习的可用示例?有——一个带 HTML5 客户端的开源 MMO RPG 示例,此外还有大量示例和完整的文档。作者表示,这个示例比任何书都更值得参考。
我可以用自己的组件来扩展它吗?可以:它有插件架构,提供在线状态、master 高可用等官方插件,你还可以自定义网络协议和自己的组件。
它开箱自带哪些工具?自带一个命令行工具、一个管理工具和一个性能测试工具,还有用于 AI 和寻路的库。
Creator
NetEase
Size
59.7 MB
Stars
11.9K
Updated
CommitNov 08
Age
14y
Commits · 90 Days