自定义博客皮肤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//配置zmqvar zmq = require('pomelo-rpc-zeromq-renew');//0.0.9版本app.set('proxyConfig', { rpcClient:...

2017-09-05 14:49:00 187

转载 Express + JSON WEB TOKEN

express4 & jsonwebtoken & express-jwtJSON Web TokenWhat`s a JWTBased on a Web Standard(RFC7519)Used to Securely communicate JSON objec...

2017-08-18 16:59:00 149

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

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

2017-07-07 18:35:00 295

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

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

2017-07-07 18:28:00 225

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

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

2017-05-31 17:16:00 150

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

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

2017-05-31 17:13:00 222

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

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

2017-05-11 17:29:00 202

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

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

2017-05-09 13:59:00 242

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

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

2017-05-09 13:54:00 194

转载 服务器配置ssh登录

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

2017-05-08 16:29:00 95

转载 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 503

转载 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 180

空空如也

空空如也

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

TA关注的人

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