analytics (ruby + redis + mongo)