title: Real Time data processing without delay
body: <p>Guys we have a problem to solve We are running our server on AWS and database is MySQL Amazon Aurora. Our data comes in one table via API from mobile devices and goes to another table via AWS pipelines so the problem is that we want to apply some aggregation on real time data while inserting to second table. Remembered data is constantly coming up in the first table.</p>
  <p><strong>Example:</strong></p>
  <p><a href="https://i.stack.imgur.com/gtddk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gtddk.png" alt="Table 1" /></a></p>
  <p><a href="https://i.stack.imgur.com/LEDNj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/LEDNj.png" alt="Table 2" /></a></p>
  <p><strong>Problem:</strong></p>
  <p>Want to apply aggregation (mostly sum operations on clicks, impressions columns etc) on real time data and store in second table so we can display summarize data to our users without much delay, please ask me if you don't understand the problem.</p>
  <p><strong>What we want:</strong></p>
  <p>How can we apply aggregation and process real time data while data is coming constantly, We want to know the best approach to solve this problem.</p>