Hi, thanks for your reply.
Python threads ARE mapped 1:1 to os threads. The GIL is only a pthread_mutex governing object access (obviously, i am speaking about a pthread-based implementation, that is the case for Linux/BSD/Solaris)
My understanding was wrong then, but what you say makes sense.
if you do not intend to run multiple pyramid apps in the same process, you can add --single-interpreter to gain a bit of memory (not performance)
Memory is exactly what I was concerned with. Am I correct when I say that single process will consume all the memory required to import all the used modules, but threads will all share those modules and only consume as much additional RAM as required by thread-local data?
Thanks, V -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
