- 183technology,
- 127linux,
- 109software,
- 109django,
- 97python,
- 88programming,
- 67webdesign,
- 61admin,
- 52entertainment,
- 44hardware,
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.
-
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.
Top Tags
Sponsored Links
Ads by Google
View All Recent Tags (50)
- 24django,
- 18python,
- 14git,
- 10linux,
- 10howto,
- 8ubuntu,
- 7bug,
- 6testing,
- 6admin,
- 6performance,
- 5debian,
- 5tutorial,
- 5deployment,
- 5usb,
- 5bios,
- 4emacs,
- 4mod_wsgi,
- 4hauppauge,
- 4nova-t_500,
- 4dvb,
- 4problem,
- 4reusable,
- 4customize,
- 4apache,
- 4convert,
- 4tweak,
- 3webdev,
- 3benchmark,
- 3web,
- 3fabric,
- 3xen,
- 3kernel,
- 3jaunty,
- 3karmic,
- 3regression,
- 3latex,
- 3asrock,
- 3javascript,
- 3regex,
- 3filesystem,
- 3svn,
- 3tags,
- 3nginx,
- 2firefox,
- 2development,
- 2boot,
- 2music,
- 2server,
- 2security,
- 2rails
Public Tags (836)
Antti Kaihola's Public Lists (0)
No lists have been created yet.
"List" is a great way to organize, share and display your specific collection of bookmarks.
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo