自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(12)
  • 收藏
  • 关注

转载 Pomelo游戏服务器端开发系列(9)--配置RPC

#RPC 方案配置 实际项目中,使用过zmq,也使用过pomelo-rpc, 方案1 zmq //配置zmq var zmq = require('pomelo-rpc-zeromq-renew');//0.0.9版本 app.set('proxyConfig', { rpcClient:...

2017-09-05 14:49:00 149

转载 Express + JSON WEB TOKEN

express4 & jsonwebtoken & express-jwt JSON Web Token What`s a JWT Based on a Web Standard(RFC7519) Used to Securely communicate JSON objec...

2017-08-18 16:59:00 114

转载 Pomelo游戏服务器端开发系列(8)--消息类型

#消息类型种类 pomelo中有四种消息类型:request, response, notify, push request ,response 一般的web框架,例如express,短连接 两种消息类型request, response,有求必应。 notify 按理说长连接是不需要等待服务...

2017-07-07 18:35:00 244

转载 Pomelo游戏服务器端开发系列(7)--高可用

Pomelo High Availability [高可用] 高可用性 High_availability High availability is a characteristic of a system, which aims to ensure an agreed level of op...

2017-07-07 18:28:00 184

转载 Pomelo游戏服务器端开发系列(6)--Component

组件 add a component to pomelo // components/HelloWorld.js module.exports = function(app, opts) { return new HelloWorld(app, opts); }; var DEFAULT...

2017-05-31 17:16:00 123

转载 npm global module error---cannot find module

案例 zmq module sudo npm i zmq -g installed to /Users/lixiaodong/.nvm/versions/node/v6.9.2/lib/node_modules/zmq 但是在程序运行的时候,却提示 Canot find module 'zmq...

2017-05-31 17:13:00 187

转载 Pomelo游戏服务器端开发系列(5)-globalErrorHandler

globalErrorHandler 代码示例 //errorCode.js 错误码模块 var br = require("bearcat"); var ErrorCode = function () { this.$id = "errorCode"; } var code = ...

2017-05-11 17:29:00 161

转载 Pomelo游戏服务器端开发系列(4)-Connector

Connector 在客户端通信的时候, pomelo目前提供了hybirdconnector和sioconnector,其中hybirdconnector支持tcp,websocket,; sioconnector支持socket.io; 实际编程中,我们可能需要定制自己的connector...

2017-05-09 13:59:00 204

转载 Pomelo游戏服务器端开发系列(3)-Router

Router 路由函数 作用 Router的作用 是为所有的客户端请求指定目标服务器。 开发者可以自己针对不同的服务器,定义不同的路由规则 example app.configure('development|production','', function(){ var route...

2017-05-09 13:54:00 161

转载 服务器配置ssh登录

how-to-configure-ssh-key-based-authentication-on-a-linux-server 转载于:https://my.oschina.net/ne...

2017-05-08 16:29:00 74

转载 Pomelo游戏服务器端开发系列(2)-pushMessage

推送消息方法 pushMessage 以channel为单位推送消息, 每个channel可比作一个房间。 代码示例 /** * Push message to all the members in the channel * * @param {String} route messag...

2017-05-08 16:20:00 456

转载 Pomelo游戏服务器端开发系列(1)-介绍

Pomelo框架总结 A fast,scalable,distributed game server framework for Node.js 联系我 Pomelo交流群 @老顽童-NextZeus 微信群 BJ NodeJS Club @老顽童 Github 适用场景 多人游戏:手...

2017-05-05 14:05:00 145

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除