Ask HN: How would you build a high performance, semi-real-time stats service?
Many sites can benefit from showing real-time stats about their visitors - bit.ly have practically built their entire product around it - but doing so requires persisting data on every page request in a way that allows for near-real-time queries. How would you go about building something like this - regular MySQL, memcached counters or something more exotic like MongoDB?