title: mysql query queue?
body: <p>I have a multiplayer game which have started to generate some strange errors as more and more players have singed up. </p>
  
  <p>There's about 1.5 million queries to the database/hour, and I think the problem is that some queries getting executed before some other queries have completed, since I didn't have any problems before, and I getting more and more as more people sign up. </p>
  
  <p>I have two main classes: "sendTurn.php", and "removePlayer.php". If a player have taken to long to respond, he's kicked out. But I guess that problem is what happens if a player make his turn, just as he's being kicked out? </p>
  
  <p>I read somewhere that the queries are put in a queue, but since it require several querys in each class to complete it, is it possible that when, for example, "sendTurn.php" is halfway done (done the first 1-2 queries) that the other class "removePlayer.php" will start to execute its queries? </p>
  
  <p>In this case, what can I do? </p>
  
  <p>Edit: </p>
  
  <p>I use apace2 on a debian VPS server, with phpmyadmin</p>