concurrency

TwitterFacebook
Get flash to fully experience Pearltrees
scala

http://www.tbray.org/ongoing/When/200x/2007/09/20/Wide-Finder In my Find­ing Things chap­ter of Beau­ti­ful Code , the first com­plete pro­gram is a lit­tle Ruby script that reads the on­go­ing Apache log­file and fig­ures out which ar­ti­cles have been fetched the most. It’s a clas­sic ex­am­ple of the cul­ture, born in Awk, per­fected in Perl, of get­ting use­ful work done by com­bin­ing reg­u­lar ex­pres­sions and hash ta­bles. I want to fig­ure out how to write an equiv­a­lent pro­gram that runs fast on mod­ern CPUs with low clock rates but many cores; this is the Wide Finder pro­ject.

ongoing · The Wide Finder Project

Parallel Processing and Multiprocessing in Python

A number of Python-related libraries exist for the programming of solutions either employing multiple CPUs or multicore CPUs in a symmetric multiprocessing (SMP) or shared memory environment, or potentially huge numbers of computers in a cluster or grid environment. This page seeks to provide references to the different libraries and solutions available. Symmetric Multiprocessing Some libraries, often to preserve some similarity with more familiar concurrency models (such as Python's threading API), employ parallel processing techniques which limit their relevance to SMP-based hardware, mostly due to the usage of process creation functions such as the UNIX fork system call. http://wiki.python.org/moin/ParallelProcessing
http://www.dabeaz.com/coroutines/index.html

A Curious Course on Coroutines and Concurrency

Copyright (C) 2009, All Rights Reserved David Beazley http://www.dabeaz.com Presented at PyCon 2009, March 25, 2009. (7/19/2009) The Python Essential Reference, 4th Edition is now available. If you like this tutorial, you'll like this edition--there is extended coverage of generators, coroutines, and other advanced Python features. Introduction This tutorial is a practical exploration of using Python coroutines (extended generators) for solving problems in data processing, event handling, and concurrent programming.