> MapReduce! We don't need live counter updates. > But we still need to store the counter separately. > Twenty blog entries on one page, twenty queries.
You can get them in one query, just group comments by post_id in your map reduce query.
> MapReduce! We don't need live counter updates. > But we still need to store the counter separately. > Twenty blog entries on one page, twenty queries.
You can get them in one query, just group comments by post_id in your map reduce query.