Pomelo - A Fast, Scalable, Distributed Game Server Framework For Node.js
Join the DZone community and get the full member experience.Join For Free
pomelo is a fast, scalable, distributed game server framework for node.js. it provides the basic development framework and a lot of related components, including libraries and tools. pomelo is also suitable for real-time web application, its distributed architecture makes pomelo scales better than other real-time web framework.
why should you use pomelo?
fast, scalable, realtime game server development is not an easy job. a good container or framework can reduce the complexity. unfortunately, not like web, the game server framework solution is quite rare, especially open source. pomelo will fill this blank, providing a full solution for building game server framework. the following are the advantages:
- the architecture is scalable. it uses multi-process, single thread runtime architecture, which has been proved in industry and especially suitable for node.js thread model.
- easy to use, the development model is quite similiar to web, using convention over configuration, almost zero config. the api is also easy to use.
- the framework is extensible. based on node.js micro module principle, the core of pomelo is small. all the components, libraries and tools are individual npm modules, anyone can create their own module to extend the framework.
- the reference is quite complete, we have complete documents.besides documents, we also provide a full open source mmo demo(html5 client), which is a far more better reference than any books.
- scalable architecture for game - pomelo uses multi-process architecture in nature, which is proved to be scalable. with pomelo, you can achieve this architecture in almost zero code.
- easy to use api and framework - pomelo framework can help you to extend servers easily, and handle request/response, broadcast, rpc with minimal codes.
- focus on performance - with a lot of stress tests for improving performance, we've breaked many bottlenecks. pomelo has achieved industry level in many ways like online users.
- a lot of libraries and tools – besides pomelo, a rich set of powerful libraries are provided, including ai, aoi, schedule, etc. meanwhile a variety of tools such as stress testing and command line can make your work easier.
demo: http:/ / pomelo. netease. com/
license: mit license
Published at DZone with permission of Hirvesh Munogee, DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.