It is currently 16 Apr 2024, 20:02
   
Text Size

MAGE network protocol

Moderators: North, BetaSteward, noxx, jeffwadsworth, JayDi, TheElk801, LevelX, CCGHQ Admins

MAGE network protocol

Postby Fenhl » 05 May 2016, 22:17

Is the MAGE client/server protocol specified or documented anywhere? It would be great to have this for tests, as well as writing alternative clients or servers which are compatible.
User avatar
Fenhl
 
Posts: 13
Joined: 11 Apr 2016, 18:36
Location: Saarbrücken-Dudweiler, Germany
Has thanked: 2 times
Been thanked: 0 time

Re: MAGE network protocol

Postby escplan9 » 05 May 2016, 23:08

XMage uses JBoss as mentioned in the Developer Getting Started guide:
https://github.com/magefree/mage/wiki/D ... ng-Started

JBoss documentation (from guide):
http://jbossremoting.jboss.org/documentation/v2.html

Perhaps some more details in the Developer Notes section of the Developer Getting Started guide as well:
https://github.com/magefree/mage/wiki/Developer-Notes
escplan9
 
Posts: 257
Joined: 10 Aug 2015, 22:38
Has thanked: 26 times
Been thanked: 40 times

Re: MAGE network protocol

Postby LevelX » 06 May 2016, 08:24

Also there is still a branch (we need to merge the changes of the last monthes still) that replaces JBoss by netty created by BetaSteward last year.
https://github.com/magefree/mage/tree/Network_Upgrade
http://netty.io/

But as I used this (netty) version some month ago (2015-09) to install it on the public server, there were some severe problems after some hours. I had to restart the server to get it working again. Also there were happening disconnects, maybe some less than with the JBoss version (but I'm not sure about that). So I decided to return to the old code base with JBoss to have a more stable release.

But maybe it's worth to give it a new try.

An alternate way to go to improve the network situation could also be to find out and fix the reason(s) the reconnect after a disconnect does not work half of the time.
This would aready improve the situation a lot. But it's very hard to get that problems clear.
So we are always looking for developers that have knowledge about network protocols/handling, that can analyse / fix that problems.
User avatar
LevelX
DEVELOPER
 
Posts: 1677
Joined: 08 Dec 2011, 15:08
Has thanked: 174 times
Been thanked: 374 times


Return to Developers Talk

Who is online

Users browsing this forum: No registered users and 5 guests


Who is online

In total there are 5 users online :: 0 registered, 0 hidden and 5 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 5 guests

Login Form