Skip to main content

Antti Kaihola

Antti Kaihola's Public Library

23 Nov 09

Graham Dumpleton: Load spikes and excessive memory usage in mod_python.

Database access (and some other Python modules) causes threads to lock so only 1 thread in process is active. This causes major performance penalty - all threads in process are waiting while SQL query is executing.

blog.dscpl.com.au/...nd-excessive-memory-usage.html - Preview

  • Database access (and some other Python modules) causes threads to lock so only 1 thread in process is active. This causes major performance penalty - all threads in process are waiting while SQL query is executing.
  • If a database adapter or other third party C extension module doesn't unlock the GIL before going into a blocking operation then that module is fundamentally flawed and it should be reported as a bug in that module. None of the major database adapters available have this problem as far as I am aware, so please be more specific about which extension modules you believe are broken.
1 - 20 of 1168 Next › Last »
Showing 20 items per page

Diigo is about better ways to research, share and collaborate on information. Learn more »

Join Diigo