Wednesday, 18 September 2013

Sharing object between nodejs instances (high i/o)

Sharing object between nodejs instances (high i/o)

Im building a nodejs/socket.io based game and Im trying to implement node
clustering to take advantage on multicore machines. I figured out that
memcache will be nice solution, but Im not completely sure if it'll
survive high load, because each game will do about 50 write/read per
second. Also what will be the best solution to broadcast message to all
clients while they're connected to different servers. For example player X
is connected to node 1, he do a simple action and how I can broqdcast the
action to player Y which is connected to node 2.

No comments:

Post a Comment