Forums » Union Coders »
Using Union for a multiplayer game.
Added by Jonathan Sandness 675 days ago
I've been playing around with several server backends for implementing multiplayer elements to an as3 game and I'd like to use yours for it. I've done a preliminary test for moving objects around and it seemed to handle it relatively fast but I'm wondering if it would be fast enough to handle a game like an RTS, where I'd be updating around 100 elements and 4 users.
How do you think the server would hold up with this kind of strain? Would it be fast enough to provide near real-time to the users?
Thanks for your help and for making such a fabulous project available to the community!
Replies
RE: Using Union for a multiplayer game. - Added by derek clayton 675 days ago
Hi Jonathan,
Thank you for the kind comments!
Without knowing more detail about the size and update rate of the elements I can't give you a definitive answer but the fact that you are expecting a light user load would generally mean a lighter load on the server since user awareness increases the message load exponentially (i.e. 10 games with 4 players each is easier on cpu/bandwidth than 1 game with 40 players).
I can tell you that right now the server handles thousands of messages/second easily. (I do hesitate to use that term messages/second because it doesn't really tell you much about what the server is actually doing for you) With a good messaging strategy you should have no problem.
As we move in to beta we'll be focusing more on polish and optimizing memory use and performance so we'd love to hear anything your own testing reveals and your progress on the game. And of course if you have any questions about developing your game with Union we'd be happy to help.
Thanks,
Derek
RE: Using Union for a multiplayer game. - Added by Jonathan Sandness 675 days ago
Awesome!
I'll be sure to document my work and I'll let you know what I find to be a good workflow. Would you mind if I continue to use your test server as I'm just starting to use the software and I won't be putting a huge load on the server while in initial development.
Thanks again,
Jontahan
RE: Using Union for a multiplayer game. - Added by derek clayton 675 days ago
Using our test server for your development is no problem at all.
Derek