multiprocessing vs thread performance
Tim Roberts
timr at probo.com
Wed Dec 31 02:43:04 EST 2008
Christian Heimes <lists at cheimes.de> wrote:
>
>You have missed an important point. A well designed application does
>neither create so many threads nor processes. The creation of a thread
>or forking of a process is an expensive operation.
That actually depends on the operating system. As one example, thread
creation on Windows is not all that expensive.
>You should use a pool of threads or processes.
Even so, this is good advise.
--
Tim Roberts, timr at probo.com
Providenza & Boekelheide, Inc.
More information about the Python-list
mailing list