• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Programming for clusters

 
Ranch Hand
Posts: 137
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
if i make a 4 node cluster with P2's. how do i get a program i made for a single XP machine to run on the cluster utilizing all of its resources? does the JVM or the program need modification?

perhaps JINI or Javaspaces can help? i do not know much of this technologies.

Ali
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The easiest thing conceptually (as far as I am concerned) is the JavaSpaces approach. Javaspaces is built on top of JINI and conceals some of the details. I have a Javaspaces demo running on my web site - it consists of a "Space" running on a Linux machine and multiple instances of service classes running on various windows machines around my network.
The basic requirement is that you must be able to create a Java class that encapsulates the data required for a "worker" service to take an instance from the "Space", work on it, and return the result to the "Space" where some other service can pick it up.
The JavaSpace approach is very flexible in that machines with service programs runnning can drop off or start up without disturbing the operation of the space.
The latest release of the JINI starter Kit includes a JavaSpace implementation. It is supposed to be easier to get started with than the previous release - which was a tad complex to configure.
Another possibility is the Gigaspaces commercial site - it has a free "Community Edition" download that has great examples.
 
Hang a left on main. Then read this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic