title: PHP web application concurrency and load balancing
body: <p>In PHP web applications concurrency and load balancing is done by the server or Application itself?</p>
  
  <p>If we write application in pure PHP (not using a framework) it will handle the concurrency and load balancing ?</p>
  
  <p>eg:-<br>
            web site have 10 items to sell,<br>
            But 1000 customers try to buy it in same time,<br>
            what will happen </p>
  
  <p>If we use a PHP framework(cakePHP, Codeignator) is it add additional code to our application ?</p>
  
  <p>Other thing is we don't want to worry about the concurrency, do the error handling and the give rest to do the Server or We have to think about concurrency handling in our application.</p>