Timeline for High-Load Java Server for Multiplayer
Current License: CC BY-SA 3.0
17 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Nov 29, 2014 at 6:01 | comment | added | static void main | UV I liked your fusion of JEE technologies for the development of MU game. if you came across some example which is incorporating these servlets or JMS please share! wud be great to see application of these in MP game arena;I would be more interested if your case is about RT multiuser not turn based where user shares the same gameworld and can see the movement of each on their respective screens.I am interested to no while that's my hobby bt professionally I am on JEE site and most of the FW/Libs for these are based on sockets NIO streams.So excited to know some example of JEE tech in it | |
| Jun 12, 2013 at 19:03 | vote | accept | John | ||
| Jun 12, 2013 at 0:18 | comment | added | John | @haylem: thanks. I think before going for my own implementation I need to check out Netty. It seems really decent. | |
| Jun 12, 2013 at 0:16 | comment | added | haylem | @John: I actually haven't used Netty myself so I wouldn't want to mislead you on that, but I have coworkers who have been experimenting with it and are very eager for us to use it on our applications when we need custom protocols. And it seems like it is also designed to hide the threading away from you. There's an article list on their page (netty.io/wiki/related-articles.html), and a guide (netty.io/wiki/index.html). | |
| Jun 12, 2013 at 0:15 | comment | added | John | By the way, as for the 3rd xample with JMS, I actually meant, that there will be a simple socket server, which will dispatch the incoming messages to the queue and then recend the replies from the same queue, which are returned from the JEE server. In this way I could have full-duplex communication between clients and server through sockets and also have all the features and scalability of JEE. In case I need to change something I would simply change my sockets implementation or add 1 more socket server on the other machine, as long as JMS queue can be accessed from anywhere. | |
| Jun 12, 2013 at 0:12 | comment | added | John | Actually, I wal leaning towards sockets also. But I am afraid that when I implement the communication protocol, and write all the modules, I will need a server-farm to run my program for 3 thousand people. So I will have to rewrite everything, and at the end get stuck with the limitations of my solution. Could you elaborate on Netty? Do they have decent tutorials which I can catch up to fast? | |
| Jun 12, 2013 at 0:08 | comment | added | haylem | @John: if you want to implement things yourself but without handling everything at the lowest level, there's a herd of other solutions for you to look at though, like Netty. | |
| Jun 12, 2013 at 0:06 | comment | added | haylem | @John: Note that RD has lost lots of steam since Project Darkstart was dumped by Oracle, unfortunately... | |
| Jun 12, 2013 at 0:06 | comment | added | rlperez | @John I like the idea of starting with this project personally. If you get more traffic than it can handle you just start rewriting the parts you need. | |
| Jun 12, 2013 at 0:05 | comment | added | haylem | @John: I'd recommend you look at the RD Tutorial (link is in the answer), which contains small working examples. And consider looking at the example projects, like: sourceforge.net/projects/rd-snowman | |
| Jun 12, 2013 at 0:02 | comment | added | John | As for the game itself - it is a turn based MMORPG game which runs clients on Android (future ports to I-whatever and maybe browser and winPhone). The server should run most of the tasks to prevent cheating and synchronize players. It like playing chess. So the notifications might come from the server every second and in bunches - but a second latency would be possible to tolerate. | |
| Jun 12, 2013 at 0:02 | history | edited | haylem | CC BY-SA 3.0 | added 1214 characters in body |
| Jun 11, 2013 at 23:56 | comment | added | John | Yes. I`ve read about this project. But it seems like there is not much documentation on it + it seems like its easier to write everything from the scratch than to explore the code from within. Have you used it for your projects? | |
| Jun 11, 2013 at 23:55 | history | edited | haylem | CC BY-SA 3.0 | added 1214 characters in body |
| Jun 11, 2013 at 23:42 | comment | added | haylem | Rig: yes, yes. hang, on still editing! Give me 5 minutes or something :) I already updated twice in 2 mins! :) | |
| Jun 11, 2013 at 23:40 | comment | added | rlperez | Adding a little about how these fit the needs would improve the quality of this answer - edit: beat me to it | |
| Jun 11, 2013 at 23:39 | history | answered | haylem | CC BY-SA 3.0 |