Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

"If homicide, suicide or resigining the job is not an option, how would you solve it?"

I would create an n-ary tree (n is arbitrary, maybe 100) from coworkers. The 'leafs' would produce an array of ten numbers based on the blogs assigned to them. Then each node in the tree would take n arrays and sum them up into one array, until me, the root have the final array of ten numbers.

First: this is much simpler than what is described in the blog. Second: the 'grouper' in his example is totally a bottleneck. (And in fact the reducers are also bottlenecks in his case. While my system scales practically to infinity.)



Yours is much more like CouchDB's MapReduce




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: