monksy
monksy

Reputation: 14234

Grid Computing and Java

I couldn't seem to find a similar question to this.

I am currently looking at the best solution solving a grid computing problem.

The setup:

Eventually the requirements would be:

I'm currently using webservices to communicate between the clients and and the server. All of the information and results goes back to the hosting server (J2EE).

My question is there a grid system setup that matches all/most of these requirements, and is open source?

I'm not interested in doing a cloud because most of these tasks are small, but very frequent (once a day but the task may be easy, but performs maintenance).

All of the code for this system is in Java.

Upvotes: 2

Views: 2014

Answers (3)

Carl
Carl

Reputation: 7544

BOINC sounds like it would work for your problem, though you have to wrap java for your clients. That, and it may be overkill for you.

Upvotes: 0

Brian Agnew
Brian Agnew

Reputation: 272257

You may want to investigate space-based architectures, and in particular Jini and Javaspaces. What's Jini ? It is essentially RMI with a configurable discovery mechanism. You request an implementor of a Java interface, and the Jini subsystem finds current services implementing that interface and dynamically informs your service of these.

Briefly, you'd write the work items into a space. The grid nodes would be set up to read data transactionally from the space. Each grid node would take a work item, process it and write a result back into that space (or another space). The distributing node can monitor for results being written back (and.or for your projected result timings, as you've requested).

It's all Java, and will scale linearly. Because it's Jini, the grid nodes can dynamically load their classes from an HTTP server and so you can propagate code updates trivially.

Upvotes: 3

elder_george
elder_george

Reputation: 7879

Take a look on Grid Beans

Upvotes: 1

Related Questions