Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Server Optimize
#1
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?
Reply
#2
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.
Reply
#3
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.
Reply
#4
2 copies of the same files? Why?
Reply
#5
Cruzn Wrote:2 copies of the same files? Why?
What do you mean? 2 copies of the same files?
Reply
#6
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. =)
Reply
#7
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.
Reply
#8
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 Tongue
Reply
#9
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 Tongue
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.
Reply
#10
http://www.intel.com/products/processor/...c2quad6600

That's a quad core.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)