Mirage Source http://www.miragesource.net/forums/ |
|
Server Optimize http://www.miragesource.net/forums/viewtopic.php?f=201&t=2426 |
Page 1 of 1 |
Author: | William [ Fri Aug 10, 2007 6:11 pm ] |
Post subject: | Server Optimize |
I will soon release a tutorial that will add a 2:nd socket to the server that handles the movement. But thats not what I will ask about in this topic. I just got an idea to put less preassure on the server. Instead of 1 server, a 2:nd server is created to handle the movement. So the Client would send the movement packet to the 2:nd server and not putting preassure on the main server. Of course the 2:nd server would have to interact with the main server when needed. Since mostly everything about the movement is checked client side in Function CanMove. Then it would be possible to transfer the movement to the 2:nd server from the main server, and only interact with the main server when required. What do you think about this? |
Author: | Cruzn [ Fri Aug 10, 2007 6:55 pm ] |
Post subject: | Re: Server Optimize |
If the second server handles only movement, it would always be requesting data from the main server to check whether or not the move is legal. You can't rely on just the client's data and use a blind server. It would take the calculation stress off the main server, but it would be the same amount of packet sending. |
Author: | William [ Fri Aug 10, 2007 6:57 pm ] |
Post subject: | Re: Server Optimize |
Cruzn wrote: If the second server handles only movement, it would always be requesting data from the main server to check whether or not the move is legal. You can't rely on just the client's data and use a blind server. It would take the calculation stress off the main server, but it would be the same amount of packet sending. No it wouldnt, as I said those things can be transfered to the 2:nd server. |
Author: | Cruzn [ Fri Aug 10, 2007 6:59 pm ] |
Post subject: | Re: Server Optimize |
2 copies of the same files? Why? |
Author: | William [ Fri Aug 10, 2007 7:30 pm ] |
Post subject: | Re: Server Optimize |
Cruzn wrote: 2 copies of the same files? Why? What do you mean? 2 copies of the same files? |
Author: | Rezeyu [ Fri Aug 10, 2007 7:43 pm ] |
Post subject: | Re: Server Optimize |
In my opinion it would be more useful to make a second server only for chat/text/etc. Then use the main just for calculations and the like. Movement is tied into alot of things, you'd have to keep all the mapnpc and player data on both servers then. And map data. P.S. Go make my subforum. =) |
Author: | William [ Fri Aug 10, 2007 8:01 pm ] |
Post subject: | Re: Server Optimize |
Yeah, making a extra server for the chat is very easy. It wouldn't take much time to complete that. I will make a tutorial for a few things concerning the server. I might include that. |
Author: | Dragoons Master [ Sat Aug 11, 2007 5:23 am ] |
Post subject: | Re: Server Optimize |
Imo, don't do that... Too many complications for such a simple thing that does not need to be done. Just keep it as it is and if you want, buy a quadcore |
Author: | William [ Sat Aug 11, 2007 1:57 pm ] |
Post subject: | Re: Server Optimize |
Dragoons Master wrote: Imo, don't do that... Too many complications for such a simple thing that does not need to be done. Just keep it as it is and if you want, buy a quadcore quadcore? And its no complications, quite easy actually, just time consuming. And it would help a lot, since there are so many packets being sent from movement from all the players. And taking that of the main server would calm the whole server down. |
Author: | Dragoons Master [ Sat Aug 11, 2007 2:16 pm ] |
Post subject: | Re: Server Optimize |
http://www.intel.com/products/processor/core2quad/index.htm?iid=process_promo+c2quad6600 That's a quad core. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |