I read this article a while ago and found it inspiring:<div><a href="http://blog.getspool.com/2011/11/29/fast-easy-realtime-metrics-using-redis-bitmaps/">http://blog.getspool.com/2011/11/29/fast-easy-realtime-metrics-using-redis-bitmaps/</a><br>
<br><div class="gmail_quote">On Wed, Jan 25, 2012 at 13:42, David Salgado <span dir="ltr"><<a href="mailto:david@digitalronin.com">david@digitalronin.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You might find some of John Nunemaker's articles useful, starting with this one;<br>
<br>
<a href="http://railstips.org/blog/archives/2011/06/28/counters-everywhere/" target="_blank">http://railstips.org/blog/archives/2011/06/28/counters-everywhere/</a><br>
<br>
IMO, the most important thing to do, when you're designing a system<br>
like this, is to make sure you have a simple receiver for the data you<br>
are going to be logging, which is as fast as it can possibly be, and<br>
does nothing except record the data you're going to be<br>
storing/processing - no computation, no logic, no db lookups - just<br>
store it, acknowledge it and wait for the next chunk.<br>
<br>
Everything else happens out of band, so that you minimise the risk of<br>
delaying user interactions by logging them.<br>
<br>
Good luck<br>
<br>
David<br>
<div><div class="h5"><br>
<br>
On 25 January 2012 12:34, Adam Carlile <<a href="mailto:adam@benchmedia.co.uk">adam@benchmedia.co.uk</a>> wrote:<br>
> Hola El Rug<br>
><br>
> I've been tasked with creating a user activity tracking engine, in order to<br>
> build more complete profiles on our users, their preferences and common<br>
> activities.<br>
><br>
> But I'm not really sure in which direction to go, I'm pretty sure that it's<br>
> got to be a separate app, with a fast write database, something like MongoDB<br>
> perhaps. Along with an exposed REST API to post and retrieve data.<br>
><br>
> I also want the tracking engine to send calls to various other external<br>
> services, such as the Facebook Graph API.<br>
><br>
> It's something I've never tackled before so any advice or articles you would<br>
> recommend would be great!<br>
><br>
> Thanks<br>
> Adam<br>
><br>
> -<br>
> Twitter @frozenproduce<br>
><br>
><br>
</div></div>> _______________________________________________<br>
> Chat mailing list<br>
> <a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
> <a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
><br>
_______________________________________________<br>
Chat mailing list<br>
<a href="mailto:Chat@lists.lrug.org">Chat@lists.lrug.org</a><br>
<a href="http://lists.lrug.org/listinfo.cgi/chat-lrug.org" target="_blank">http://lists.lrug.org/listinfo.cgi/chat-lrug.org</a><br>
</blockquote></div><br></div>