HTML5 Zone is brought to you in partnership with:

Hirvesh Munogee is a freelance web developer who also happens to have a passion for blogging. Hirvesh is a DZone MVB and is not an employee of DZone and has posted 177 posts at DZone. You can read more from them at their website. View Full User Profile

Pomelo - A Fast, Scalable, Distributed Game Server Framework For Node.js

  • submit to reddit

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.

Requirements: Node.js
Demo:http:/ / pomelo. netease. com/
License: MIT License

Published at DZone with permission of Hirvesh Munogee, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)