Apache Mod-Python - Updated: (MODPYTHON-8) Improve apache.load_module with a two-level locking scheme

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > July 2005 > Updated: (MODPYTHON-8) Improve apache.load_module with a two-level locking scheme





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Updated: (MODPYTHON-8) Improve apache.load_module with a two-level locking scheme
Nicolas Lehuen (JIRA)

2005-07-28, 5:47 pm

[ http://issues.apache.org/jira/brows...THON-8?page=all ]

Nicolas Lehuen updated MODPYTHON-8:
-----------------------------------

Fix Version: 3.3.0
(was: 3.2.0)
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/Co...n/Recipe/302997

Maybe this should be experimented in a separate branch, and merged back once we're sure that everything works perfectly ?

was:
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 ?

Environment:

> 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.3.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 ?


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com