Discussion:
Open-source for how-to
(too old to reply)
Tharpa Roberts
2006-08-14 14:24:08 UTC
Permalink
I have books that deal with the theory of distributed computing, but now I'm
looking to take a gander at some code so I can get an idea of the nuts and
bolts of actually how to turn an app into a distributed application. If
there was open source-code of a relatively simple application that did this,
that would be the ideal.

Any suggestions?

Thanks.
Renato
2006-08-22 11:55:22 UTC
Permalink
Post by Tharpa Roberts
I have books that deal with the theory of distributed computing, but now I'm
looking to take a gander at some code so I can get an idea of the nuts and
bolts of actually how to turn an app into a distributed application. If
there was open source-code of a relatively simple application that did this,
that would be the ideal.
Hi,

every problem is different. every code is different. most
parallelization technics are quite different among each other, there's
no rule of thumb, and that's why it's been so hard to take the next step
towards a completely parallelization.

I hope that Intel and AMD steps towards dual core help us to have more
and more real parallel programs.

You can parallelize your code in several ways, to name a few:
- fork
- threads
- message passing
- disk share
- file splitting

It depends on what you need. For instance, Apache uses fork because each
process is weakly related to each other, compilers use disk share as
each file is compiled separately, simple syntax checkers use file
splitting, matrix manipulation use message passing because of the high
coupling, etc.

Maybe you can parallelize your code and provide the "open source how-to"
on how you did it. ;)

cheers,
--renato

Loading...