title: How to do Realtime/fast processing of GPS data in web application?
body: <p>I am writing a web application for mapping Real-time GPS coordinates on Google maps coming from a GPS device, for fleet managment.</p>
  
  <p>Since the flow of data is very fast from the GPS device to web application for database it becomes very heavy and the database is being queried every 5 seconds(via AJAX from web browser running the website) it becomes more heavy.</p>
  
  <p>Keeping the updates in real-time is becoming very difficult a lagging of 30 seconds to 60 seconds is created between the actually update and its visibility on the website.</p>
  
  <p>I am using Django + Apache + MySQL on CentOS 6.4 64 bit.</p>
  
  <p>Any advice in what direction i should move to make the processing/visibility of data in more real-time would be helpful.</p>