I’ve been cleaning my laptop today, and came along a project I did for my Parallel Programming course, I’ve never published this because the code was never completed as I lost interest, the challenge was the idea and the concept, anyone can write a piece of code
but few people can come up with innovative ideas!
I came up with the idea of writing a PHP library which will make my multiple servers work together in running a certain job, back then I had access to around 5 shared servers, 3 were mine, and 2 were from friends… As an example, I ran Monte Carlo using this concept. One server was the master, the other 4 were slaves. The master sent the jobs to the slaves, the slaves got random numbers from random.org, calculated the integral, and sent the results back to the master. Once the master received all the results, it calculated the average and outputted the result. This was just a simple example I did to prove that my idea worked…
Here is the power point presentation I wrote, you can download it below:
And here is the source code, please keep in mind that the code was written only to demonstrate that the concept can be done, it’s far from complete, I don’t advise using it, I’m simply uploading for people to learn from, or if someone wishes to work on it (i’ll be glad to help!).
Let me know what you think of it!
















Incidently its seems like a early version of googles map reduce! You should take this forward and implement it on similar design.
adi
nice
iv never heard of googles map reduce before… i used a modified version of this for one of my projects which involves crawling, it worked flawlessly