pomelo-rt
Because the original pomelo rarely maintain, PR accept wait so long. This is a modified version of Pomelo. Some bug fixing and features are list below:
Last updated 4 months ago by roytan883 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install pomelo-rt 
SYNC missed versions from official npm registry.

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

Because the original pomelo rarely maintain, PR accept wait so long. This is a modified version of Pomelo. Some bug fixing and features are list below:

  • use pomelo-rpc-ws instead of pomelo-rpc, rpc performance increase from 2000/s to 4000/s
  • use pomelo-admin-rt, fix pomelo-admin(which no longer maintaining) bug
  1. when master server die, the old pomelo-admin only try reconnect limit times. Later when master restart, the pomelo-admin will not connect to master. pomelo-admin-rt fix it to always try reconnect master server.
  2. when starting pomelo process, if there is no master server, then pomelo process will never try to connect master server, then the process can't use rpc forever. pomelo-admin-rt fix it to must connect master server before process running.

How to use it:

//var pomelo = require('pomelo-rt');
var pomelo = require('pomelo-rt');

Demo

https://github.com/roytan883/chatofpomelo-rt

Current Tags

  • 1.1.2                                ...           latest (4 months ago)

7 Versions

  • 1.1.2                                ...           4 months ago
  • 1.1.1                                ...           3 years ago
  • 1.1.0                                ...           3 years ago
  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 11
Dependencies (18)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |