gsathya/flow — pull request #7 by ben-jones (2014-03-28 02:49:34+00:00)
Title: Split up computation

Split the monthly data into chunks with the data for a single router, then wrote multicore python code to compute the prevalence and persistence data in parallel.

Note: contrary to what I previously thought, python's multiprocessing module provides true concurrency by creating multiple interpreter instances.

Note: do not just run this code. It spawns 64 python interpreters, which are a pain to clean up if there is an error.