All, I've got a rails application that allows people to publish audio files. The files are stored on Amazon S3.
I would like to publish statistics on the number of listens ... and have those statistics close to real time. I'm wondering if I should use a URL redirect WITHIN rails to redirect a RAILS URL to an S3 audio URL ... then I could save the hit to the database (through RAILS) ... or I could just scour the log files (I'd need to scour both S3 log files and Rails log files). Scouring the log files is going to be messy ... but having a URL redirect (within RAILS) that logs the hit is going to be perhaps expensive ... .... does anyone have any ideas/thoughts/recommendations. Etienne --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

