Questions tagged [pomelo]

POMELO Fast, scalable, distributed game server framework for node.js

Pomelo is a lightweight game server framework. Comparing to a single-process game server framework, pomelo is a fast, scalable , distributed game server framework for Node.js, and it is easy to use. It provides the core development framework and a series of related tools and libraries that can help developers to eliminate boring duplicate work for some common underlying logic. Based on pomelo, developers don't need to "re-invent the wheel", so they can focus more on game-specific logic, and it will also improve developmental efficiency observably.

Also, the powerful scalability and flexibility of pomelo makes pomelo can be used as a general-purpose distributed real-time application development framework. It is more scalable and adaptable than the existing real-time application framework. Pomelo supports all major platform clients and provides client SDKs, it makes the development of client become very friendly.

It is comprised of:

  • Framework

  • Libraries

  • Tools

  • Client SDK

  • Demo

The advantages of pomelo are presented as follows:

  • Scalable architecture for game

  • Easy to use api and framework

  • Loosely coupled and High-extensibility

  • Complete Demo and Documentation

  • Focus on performance

  • A lot of libraries and tools

For more information, download, examples and documentation, visit its github page

9 questions
2
votes
0 answers

Share value with Nodejs and Pomelo

I'm trying to create userCount value and i want to share this value with mupltiple file users.js var userCount=0; function increment() { userCount++; } module.exports.userCount=userCount; a.js var users = require('users'); //connection…
Ammar
  • 27
  • 8
2
votes
0 answers

Pomelo app kill and remove servers automatically

What are the circumstances to kill pomelo app itself? The issue I am facing is that, the pomelo kills its own application without throwing any exception. When I try to run command 'pomelo list', it shows no server is running. The app gets close…
amrendra
  • 345
  • 2
  • 12
1
vote
0 answers

Error while sending request from web-server to game-server

Error: not opened at WebSocket.send I have a piece of code on node server where i send the data to the game-server of my game. pomelo.init({ host: rootTools.connectorHost, port: rootTools.connectorPort, log: true }, function () { …
Digvijay Rathore
  • 637
  • 1
  • 6
  • 21
1
vote
2 answers

Does NetEase's Pomelo use Udp or Tcp?

I recently decided to make a multiplayer FPS game using Nodejs (server) and Unity3D (client). I already did a POC with socket.io and deployed it on heroku for testing which failed miserably ( the packet delivery was too slow which created…
Abrar Ahmed
  • 51
  • 1
  • 5
0
votes
0 answers

MySQL connection issue with Pomelo game framework

I have deployed Pomelo server on AWS EC2 (Ubuntu) instance. When I run the server, it works correctly. But after several hours later, server crashed with mysql issue. [2023-04-26 02:01:26.771] [ERROR] console - Caught exception: Error: Packets out…
0
votes
1 answer

Deploying a node js socket io app to azure

I'm thinking about using azure for my node js app. The app uses Pomelo, which is a framework built on top of socket.io. The server also uses redis for scalability purposes. I'm kind of confused as to which subscription I should look into. Let me…
spmegaman
  • 1
  • 2
0
votes
1 answer

nodeJS Gameserver and Android Clients

I googled yet a lot. Nothing matched my issues. We want to have a NodeJS Gameserver. You should be able to connect with Android as client. There should be "rooms" to go into, like tables. We want to join 4 android clients in one room. They shall…
0
votes
1 answer

Unity Pomelo broadcast message is not received sometimes

We are using Pomelo for networking in our game. Unity Client is registered for some broadcast events, in very rare cases broadcast messages are not received by the unity client. But the messages are broadcasted from the server. I have tried putting…
0
votes
1 answer

My Socket.io on IOS fails to handshake with the websocket server

I have a Node.js server running Websocket. (using Pomelo). I am able to run a web application and connect to it (localhost @port 3104). however, when I try to use socket.io (SocketRocket) for IOS and connect to the same localhost and port, I get…
murvinlai
  • 48,919
  • 52
  • 129
  • 177