Issue Details (XML | Word | Printable)

Key: MODPYTHON-8
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Graham Dumpleton
Reporter: Nicolas Lehuen
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
mod_python

Improve apache.load_module with a two-level locking scheme

Created: 22/Jan/05 10:01 PM   Updated: 02/Apr/07 11:12 AM
Return to search
Component/s: importer
Affects Version/s: 3.1.3
Fix Version/s: 3.3.1

Time Tracking:
Not Specified

Issue Links:
dependent
 

Resolution Date: 12/Aug/06 08:11 AM


 Description  « Hide
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 ?

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.