用go写了个mapReduce的word count程序有疑问,求大神指点

madiks · · 2935 次点击
<a href="/user/David" title="@David">@David</a> 明白了,谢谢帮助
#4
更多评论
David
Life is hard but please enjoy it!
不需要每个数据启动一个 goroutine 吧,若干个 mapper 的 routine 加上若干个 routine 做 reducer 就好了。
#1
意思就是控制mapper和reducer的数量,设置最大的并发数?这个两个值怎么确定,凭个人经验吗?
#2