Use ReactiveMongo
Add method to fill the data
Map reduce
Schedule map reduce every 5 minutes
API to get stats collections