Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (568)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  chat: RMI or normal stream ?  (Read 1123 times)
0 Members and 1 Guest are viewing this topic.
Offline Serethos

Junior Member




Java games rock!


« Posted 2005-03-05 17:20:13 »

im thinking about changing my chat connection to RMI. up to now i only submit strings where commands and messages are concatenated. but i can not measure, how much overhead is produced using rmi or if there are any other reasons not to use it.

some experiences would be a great help.
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #1 - Posted 2005-03-05 19:01:40 »

Personally, if you're doing game networking, I say don't bother. For many things, it's a time-saving abstraction, but it IS low performance, which means you won't be able to use it in most games - so even if you start using it, you eventually have to do all the work of coding something better sooner or later anyway.

It's a good starting point if you want to do lots of remote method calling (um, funny that, given the name), although again performance can be an issue - but it's a lot better than your own attempt would be for the first 5 or 6 versions Smiley.

Several people here have used it successfully for game situations where perfroamcen didn't matter, and typically where it was less hassle to do remote method invocation than to write a protocol, and handlers, and ... and .... etc.

malloc will be first against the wall when the revolution comes...
Offline Serethos

Junior Member




Java games rock!


« Reply #2 - Posted 2005-03-05 19:54:08 »

because i only want to use it in a non-gaming chat system i only think about performance issues in view of the size network chunks...
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (20 views)
2014-09-24 16:12:06

Grunnt (46 views)
2014-09-23 14:38:19

radar3301 (28 views)
2014-09-21 23:33:17

BurntPizza (64 views)
2014-09-21 02:42:18

BurntPizza (36 views)
2014-09-21 01:30:30

moogie (42 views)
2014-09-21 00:26:15

UprightPath (51 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!