Is there a MapReduce library for Delphi?

孤街浪徒 提交于 2020-01-01 05:09:08

问题


I recently read this great article which succinctly explains the power of Google's MapReduce:

http://www.joelonsoftware.com/items/2006/08/01.html

In Mastering Delphi 2009, Marco Cantu shows a multi-threaded for loop using Anonymous functions, which is basically the Map part of MapReduce, but said it wasn't complete and there were other samples out there. I'm also vaguely aware of someone at Embarcadero working on a DTL library but I haven't seen much on it lately.

So, are there solid implementations of MapReduce in Delphi available for use?

I'm aware of this handy library from Andreas Hausladen, if there's no general Map Reduce, is this the best library to build off of?

http://andy.jgknet.de/blog/?page_id=100

Thanks!


回答1:


Craig Stuntz wrote a series of posts on his blog (starting here) on higher order functions, and map and fold/reduce in particular. While not a "solid implementation of MapReduce in Delphi available for use", it's certainly a good place to start when implementing your own!




回答2:


You could also use Hadoop Streaming to make Hadoop compatible with a mapper and reducer written in any language. Your input-file(s), mapper, and reducer will all interact using STDIN and STDOUT.



来源:https://stackoverflow.com/questions/1225845/is-there-a-mapreduce-library-for-delphi

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!