<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Nyall,</div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 6, 2017 at 12:11 AM, Nyall Dawson <span dir="ltr"><<a href="mailto:nyall.dawson@gmail.com" target="_blank">nyall.dawson@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 3 January 2017 at 18:19, Anita Graser <<a href="mailto:anitagraser@gmx.at">anitagraser@gmx.at</a>> wrote:<br>
> I'm currently writing a script that could benefit a lot from<br>
> parallelization. Will Processing in QGIS 3 provide parallelization support?<br>
> Or is it better to look into how to achieve parallelization independent of<br>
> Processing, e.g. using Python's multiprocessing library?<br>
<br>
</span>Depends what you're after. When processing is ported to the new task<br>
manager framework then algorithms will be able to run in parallel<br>
(where possible). Eg a buffer for one layer can run while a transform<br>
occurs on another layer.<br>
<br>
If you're after parallelization *within* a single algorithm (Eg<br>
buffering features using multiple threads) then I'm unaware of any<br>
plans in place to handle this.</blockquote><div><br></div><div><div class="gmail_default" style="font-size:small">​Yes, definitely within a single algorithm. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Feature-by-feature parallelization would certainly be helpful for many algorithms.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">For my current use case, I'd like to process groups of features (identified by common attribute value) in parallel ... but that's probably more complex and less common.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Best wishes,</div><div class="gmail_default" style="font-size:small">Anita​</div><br></div><div><br></div><div><br></div><div> </div></div></div></div>