Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (491)
Games in Android Showcase (112)
games submitted by our members
Games in WIP (556)
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  
  jgroups?  (Read 1198 times)
0 Members and 1 Guest are viewing this topic.
Offline Slowdive

Innocent Bystander





« Posted 2005-06-02 21:33:49 »

I'm curious if anyone has any experience using jgroups www.jgroups.org for gaming purposes. I'm getting set work on a fps and was wondering what the performance/limitations of using jgroups might be?
Offline kevglass

JGO Kernel


Medals: 159
Projects: 23
Exp: 18 years


Coder, Trainee Pixel Artist, Game Reviewer


« Reply #1 - Posted 2005-06-03 07:19:05 »

Not sure how useful it is, but here at work they used to use jgroups for interhost communication. They've moved to their own home grown stuff because jgroups was percieved as having plenty of bugs and short-sighted view of networks.

Kev

Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #2 - Posted 2005-06-03 09:46:04 »

1. As it stands, looking through their site and google, I wouldn't trust their TCP-on-UDP protocol as far as I could throw it. That stuff is especially difficult to do right and until you get some trustworthy positive evidence that they've implemented a perfect TCP instance then it's not worth even thinking about

(bear in mind that the perf tests on their website are IMHO irrelevant, since they use a JVM that is known to be almost pathologically broken for NIO networking - that JVM has so many critical networking bugs that you'd have to check tens or hundreds of bug reports on sun.com to verify that the perf wasn't being skewed by some bug that has since been fixed. The tests themselves are also not exactly well-designed to proof anything especially useful; it's hard writing really good perf tests Sad )

2. Everthing else it does is pretty trivial stuff you could write yourself pretty quickly *assuming* you've already learnt how to do netwrokign etc in java to a competent level. If you are writing a multiplayer-FPS then this is knowledge you will have to pick up anyway. OTOH if you were writing a business-app that had to be ready very soon and had mild performance reqs, jgroups might be perfect.

3. If you still need to learn everything in 2, jgroups looks like a good place to go reading docs and API's. They appear to have some fairly good architectural design in there, and just by reading all the docs and following the examples you'll probably pick up a lot of useful concepts. Just don't *expect* it to be usable in your actual game.

4. ...but if in 6 months time you have a working 16-player FPS using jgroups and it's fluid and accurate, we'd love to hear about it Tongue since I don't believe anyone's seriously tried it for a game all the way through to completion, yet, so we're short on data Wink

malloc will be first against the wall when the revolution comes...
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.

Nickropheliac (15 views)
2014-08-31 22:59:12

TehJavaDev (23 views)
2014-08-28 18:26:30

CopyableCougar4 (29 views)
2014-08-22 19:31:30

atombrot (41 views)
2014-08-19 09:29:53

Tekkerue (39 views)
2014-08-16 06:45:27

Tekkerue (35 views)
2014-08-16 06:22:17

Tekkerue (25 views)
2014-08-16 06:20:21

Tekkerue (36 views)
2014-08-16 06:12:11

Rayexar (72 views)
2014-08-11 02:49:23

BurntPizza (49 views)
2014-08-09 21:09:32
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!