gem/oq-engine — pull request #1436 by micheles (2014-05-15 13:42:52+00:00)
Title: Better parallelization of the risk calculators

With this change the association queries (which are expensive for large exposures) are done in parallel on the workers. The case study is the scenario damage calculation for Portugal with 230,000+ assets. With this change we can reduce 2+ hours of time spent in sequential queries to a few minutes.

Tests running here: https://ci.openquake.org/job/zdevel_oq-engine/402