Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Examples

Philipp Haussleiter edited this page Nov 25, 2015 · 2 revisions

Examples

In order to demo distributed computation in a appealing way, we have a graphical calculator for the famous Mandelbrot set. The topic was chosen bc. Mandelbrot sets are computationally intensive and can be done in parallel easily.

The demo client is started from the OSGi console using the command bbfractalui. The client allows to set the number of chunks that are calculated in parallel.

The bundle contains the calculating core as an OSGi service as well as the client application (which can run standalone without the OSGi framework BTW).

Parallelism is achieved by the client by splitting the area to be calculated into chunks that are computed in a own thread each. The number of threads can be adjusted in the UI. Using just a single thread does not make much sense when talking about distribution. 64 does make sense. For total distribution, the number of threads should be in the same magnitude as the number available nodes.

Have fun zooming into the mysteries of mathematics!

Clone this wiki locally