Building a proof of concept analytics dashboard feature for a web application, allowing users to view who has been visiting their profile and viewing the content they have posted. Think about.me style dashboard.
Currently writing data points (subject, verb, object, timestamp tuple format) into a MySQL table (which is rapidly approaching a million records) as users perform relevant actions in the application. This writing happens out of sync using a cURL + cron job + message queue mechanism.
Not sure how to proceed for the actual collation, aggregation and presentation of this data on the analytics dashboard in a way that won't tie up far too many resources on my server.
Looking for tips, war stories and technologies that will simplify my life with this stuff.
Why not just start with the select
queries and see how it performs?
If and when you run into slowness you can always:
I recommend that you read High performance MySQL: http://oreilly.com/catalog/9780596003067