How 2 do distributed processing

Status
Not open for further replies.

bginer3

Seniorius Lurkius
9
I got to write a software that can divide my processing job such as calculation job to other PCs so that I can do DC, correct :confused:

Where can I learn all these type of software? The Food Court area just act as a server and serving WU to clients all over the world, but I wish that I can make my own server inside the computer lab and distribute the job of calculations to other PCs inside the lab (maybe this is just a small size of DC).
 

peterhi

Smack-Fu Master, in training
82
Ah. You want to create your own DC system for internal use?

First you need a program to create all the WUs that you want done.

Then you need some method of distributing them, this depends on how large a WU is. You could set up email accounts for each DC client, the client sends an email requiesting a WU and the server scans it's mailbox periodically and posts a WU via email.

The client them processes it and emails back the results and asks for another one. Providing that your WU take a reasonable amount of time to process this is not that inefficient.

So you need a client (or a wrapper for one) that can send and recieve email via pop3. You could write that in Perl quite easily and it will run on Windows and Linux.

The DC server is just a mailbox scanner (much the same code as the client) that handles the different messages.
1. Give me a WU.
2. I acknowledge the receipt of this WU.
3. Here is a WU I have finished.
Again the DC server could be written in Perl (or Python or Ruby or Rebol or Visual Basic or ... you get the idea).

Then you need a Pop3 mail server. Hermes for the PC is quite good and up to the task at hand.

There are other methods, you could set up a webserver to hand out the WUs although returning large results would be a problem. You could combine it with FTP to send and receive the data but use the web server to pass the messages.

You could set up a chat server and have the server and clients as bots on a chat server.

Again all this is easily written in Perl.

Putting together a bare bones DC system is quite easy. Putting together a bullet proof system for worldwide usage is somewhat harder
 

peterhi

Smack-Fu Master, in training
82
I know it is popular to denigrate Windows and all its evil spawn and yes Linux, *BSD and BeOS etc are more stable but Windows is certainly stable enough for the project that I have described.

Most DC clients are Windows machines regardless of which project they are from and alot of the proxies and caches are being run on Windows machines by various participants.

Windows is good enough, rather like VI in that respect.
 
Status
Not open for further replies.