[concurrency-interest] Dataflow/Flow-Based programming Frameworks for Java?
nchen.dev at mac.com
nchen.dev at mac.com
Wed Nov 9 10:51:23 EST 2011
What are some dataflow/flow-based programming frameworks that this group has used for Java? I know that there is a commercial version (Pervasive Datarush ) and there are at least three open source version (GPars , Akka , Java FBP ). I am interested in open source versions because of what I am doing (see below) but it's hard to find real applications written in them. I've only found very simple examples on their websites and other developer blogs/articles.
I'd like to get this group's expert opinions on the following two questions:
1) What are some of the frameworks that this group has used and what are the strengths/weaknesses that you can share?
2) What are some applications that you (or someone you know) have written in those frameworks? Preferably, the source is available so I can take a look and learn from that.
I'm looking at flow-based applications (content-based image retrieval, data deduplication, signal processing, ETL , etc) and trying to look for design patterns on how developers transform their code. After cataloging these patterns I would then try to automate some of the transformations.
My group and I have already looked at some applications from the PARSEC benchmark suite  over summer and have published a paper about our preliminary results . Since PARSEC is written in C/C++ we used Intel TBB which had excellent support for both pipelines and flow graphs. What we discovered is that a library/framework makes the transformation process more convenient, the resulting code more succinct and easier to understand and the performance was on-par with the PThreads version.
Nonetheless, it's hard to write good source-to-source transformation tools for C++ because of all the intricacies of the language. Thus, we have decided to switch to Java because of our familiarity with the Eclipse Refactoring Toolkit and the existing static/dynamic analysis tools for the Java language. One thing that we have trouble finding is a good library/framework for expressing pipeline and flow based applications. We could probably do this from scratch with the Fork/Join framework or ExecutorService but we would rather extend on an existing library that others have found useful.
So any thoughts on frameworks in Java that support expressing these kinds of applications would be appreciated.
University of Illinois at Urbana-Champaign
More information about the Concurrency-interest