title: PHP - getting real time data from the database
body: <p>I've been trying to get data from my database by php and PDO. Before I ask the question, I want to show you the part of the database that i want to get in real-time:</p>
  
  <p><a href="https://i.stack.imgur.com/9rmIq.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9rmIq.png" alt="Database"></a></p>
  
  <p>the data I want to get is: CPU_util in real time.</p>
  
  <p>** CPU_util moves between 0 to 100</p>
  
  <p>In the website I'm using the plugin: highcharts in order to display the CPU_util. The chart the I picked up is this (<a href="http://www.highcharts.com/demo/dynamic-update" rel="nofollow noreferrer">link to the chart</a>):</p>
  
  <p><a href="https://i.stack.imgur.com/7f60N.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7f60N.png" alt="Spline updating each second"></a></p>
  
  <h2>My question is:</h2>
  
  <p>How to get the data in CPU_util from the database and put it in the chart in real time?</p>
  
  <p>(X axis should be as it is (the current time) and the Y axis moves between 0 to 100)</p>
  
  <h2>What I've been trying so far:</h2>
  
  <p>I did some coding with ajax, but after some tries the website blocks me, because I passed the number limit of http request (2000 requests).</p>