| Nicolas Lehuen (JIRA) 2005-06-25, 5:46 pm |
| [ http://issues.apache.org/jira/brows...THON-8?page=all ]
Nicolas Lehuen reopened MODPYTHON-8:
------------------------------------
This is not really fixed. The publisher's implementation now uses its own system to load the published modules, but apache.import_module has not changed. A great deal of discussion has been done on this issue on the mailing list, but no decision has been
made yet.
> Improve apache.load_module with a two-level locking scheme
> ----------------------------------------------------------
>
> Key: MODPYTHON-8
> URL: http://issues.apache.org/jira/browse/MODPYTHON-8
> Project: mod_python
> Type: Improvement
> Versions: 3.1.3
> Reporter: Nicolas Lehuen
> Assignee: Nicolas Lehuen
> Fix For: 3.2.0
>
> 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/Co...n/Recipe/302997
> Maybe this should be experimented in a separate branch, and merged back once we're sure that everything works perfectly ?
|