Hamlet
neo
Joined: 08/11/2008 18:40:23
Messages: 8
Offline
|
I'm interested in using both Terracotta and Doug Lea's Fork/Join framework (http://jcp.org/en/jsr/detail?id=166) JSR 166.
To my sadness, I see that the Definitive Guide to Terracotta warns against using the Java 5 executor services, which the fork/join framework is written against.
I haven't looked much at the CommonJ Work Manager library, but don't relish the idea of rewriting a work-stealing and forking framework on top of it (by "don't relish" I of course mean that I'm incapable).
Does anyone have any suggestions on how to get a Fork/Join proof of concept running on top of Terracottta? My current direction is to have each JVM start up their own ExecutorService and then share the work queue somehow. Thought I'd post here before investing too much time.
Thanks in advance.
|