DCP can also run in Google Colabs. This allows the job launching code on cloud, not locally. This means you can deploy DCP jobs without setting up a local environment, which is useful for demonstrating or trying DCP without setting it up.
toUpperCase on DCP This is the simplest tutorial. It splits a string into its individual characters, and workers capitalize those characters in parallel. You wouldn’t distribute this, but it demonstrates DCP code.
Distributed Sorting A longer tutorial with involved input/result processing. It splits a list of integers into chunks, and has workers sort the chunks in parallel. Once the chunks have returned, the program merges them into one sorted list. Since the chunks are already sorted, they merge with a greedy algorithm.
Parallel Mandelbrot GIF Making This is the longest and coolest. The mandelbrot set is a fractal (a never ending pattern) with stunning patterns when zoomed in on. The geometry takes calculation, and zooming in requires re-calculating. This app sends individual frames to workers and puts them into one GIF.
No setup required. Just run the code from the Colab in browser.