May 10th, 2014, 02:14 AM
Java threading in distributed computing
I am developing one program to find the prime numbers from 1 to 1000000.
If I run the same program on one computer it is generating the load on one computer.So I decided to to distribute the load with the threading concept on 2 different computers.So what will happen one computer will find the prime numbers from 1 to 1000 , the second one will find 1001 to 2000, again first one will find 2001 to 3000 , again second will find 3001 to 4000 .(...) so on..
How can I achieve this through client-server computing and threading concept?
I am attaching my source code here.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!