Build your own Java-based supercomputer

Source: Internet
Author: User
Build your own Java-based supercomputer author: Reposted from: if you ever wanted to build your own supercomputer, but it was daunting to use the C language for parallel programming, the pseudo remote thread can help you solve this problem. This award-winning Java programming model greatly simplifies parallel programming on the cluster and enables super computing to go out of the lab so that every Java programmer can use it.
In the past three years, parallel clusters have been changing the face of Super Computing. Once a single machine with millions of dollars is dominant, parallel clusters will soon become the super computer's choice. As you can imagine, the high enthusiasm in the open source code circle has produced hundreds of parallel cluster projects, if not thousands. Beowulf is the first and most famous open source cluster system. Sponsored by NASA, Beowulf, launched by Thomas Sterling and Donald Becker in 1994, started as a 16-node demonstration cluster. Today, Beowulf has hundreds of implementations, from Stone SouperComputer at the Oak Ridge National Laboratory to the custom-built commercial cluster of Aspen Systems Corporation (see references ).
The disadvantage for Java programmers is that most cluster systems are implemented around C-language-based software message passing APIs, such as message passing interfaces (MPI) or parallel virtual machines (PVM. It is not easy to use the C language for parallel programming, so I have designed an alternative solution. This article describes how to use Java threads and Java remote method call (RMI) to create your own Java-based supercomputer.
Note that this document assumes that you have knowledge about Java threads and RMI applications.
What is in a supercomputer?
A supercomputer is a cluster that consists of eight or more nodes and works as a single high-performance machine. A Java-based supercomputer contains a job scheduler and any number of running servers (also known as hosts ). The job scheduler generates multiple threads. Each thread contains code for executing different subtasks. Each thread migrates its code to different running servers. Then, each running server executes the code to be migrated to it and returns the result to the job scheduler. Finally, the job scheduler combines the results of each thread.
This parallel cluster system is called a pseudo remote thread because the thread is scheduled on the job scheduler, but the code in the thread is executed on the remote computer.
What Components does the system have?
The term "component" refers to the logical module that makes up the parallel cluster system of "pseudo remote thread. The system includes the following components:
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.