How online-game clients are able to exchange data through internet so fast?

Posted by Kirzilla on Stack Overflow See other posts from Stack Overflow or by Kirzilla
Published on 2010-05-17T09:34:00Z Indexed on 2010/05/17 9:40 UTC
Read the original article Hit count: 136

Filed under:
|
|
|

Hello,

Let's imagine really simple game... We have a labirinth and two players trying to find out exit in real time through internet.

On every move game client should send player's coordinates to server and accept current coordinates of another client. How is it possible to make this exchange so fast (as all modern games do).

Ok, we can use memcache or similar technology to reduce data mining operations on server side. We can also use fastest webserver etc., but we still will have problems with timings.

So, the questions are...

  1. What protocol game clients are usually using for exchanging information with server?
  2. What server technologies are coming to solve this problem?
  3. What algorithms are applied for fighting with delays during game etc.

PS: Sorry for my English and I hope that my question is clear.

Thank you.

© Stack Overflow or respective owner

Related posts about games

Related posts about multiplayer