Description
We should rewrite apache.load_python with a two level locking scheme, in order to reduce thread contention when using the threading MPM.
I've already implemented something similar for a custom-made publisher system (comparable to Graham's Vampire) ; I've used a thread-safe caching system that I've donated to the Python Cookbook :
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/302997
Maybe this should be experimented in a separate branch, and merged back once we're sure that everything works perfectly ?
Attachments
Issue Links
- depends upon
-
MODPYTHON-143 Implement and integrate a new module importer.
- Closed