peschuster/LogImporter — Issue #1: Improve concurrent implementation
Author: peschuster
Created: 2012-02-20 15:29:41+00:00
State: open

The `Parallel.ForEach` construct for importing records in parallel has some flaws: all threads access the same `StreamReader`, etc.

During tests this worked fine, but it is not sufficiently robust.

Solution: switch from deferred execution using `IEnumerable` to a controller, which splits up work loads by file.