You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by "Nicolas Lehuen (JIRA)" <ji...@apache.org> on 2005/04/07 23:38:16 UTC

[jira] Created: (MODPYTHON-45) Implement a fil-based session manager

Implement a fil-based session manager
-------------------------------------

         Key: MODPYTHON-45
         URL: http://issues.apache.org/jira/browse/MODPYTHON-45
     Project: mod_python
        Type: New Feature
    Versions: 3.1.4    
    Reporter: Nicolas Lehuen
    Priority: Minor
     Fix For: 3.2.0


Right now mod_python comes with DbmSession and MemorySession. DbmSession performance can be pretty crappy if for any reason the anydbm module reverts to the dumbdbm implementation. With the current filesystems, implementing a file-based session manager should be easy and should perform well.

See the following thread : http://www.modpython.org/pipermail/mod_python/2005-April/017825.html

I've checked in a preliminary implementation based on dharana's work. We'll have to cope with a few issues (namely locking) before it is final.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (MODPYTHON-45) Implement a file-based session manager

Posted by "Graham Dumpleton (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MODPYTHON-45?page=all ]
     
Graham Dumpleton closed MODPYTHON-45:
-------------------------------------


> Implement a file-based session manager
> --------------------------------------
>
>          Key: MODPYTHON-45
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-45
>      Project: mod_python
>         Type: New Feature
>     Versions: 3.1.4
>     Reporter: Nicolas Lehuen
>     Assignee: Nicolas Lehuen
>     Priority: Minor
>      Fix For: 3.2.7

>
> Right now mod_python comes with DbmSession and MemorySession. DbmSession performance can be pretty crappy if for any reason the anydbm module reverts to the dumbdbm implementation. With the current filesystems, implementing a file-based session manager should be easy and should perform well.
> See the following thread : http://www.modpython.org/pipermail/mod_python/2005-April/017825.html
> I've checked in a preliminary implementation based on dharana's work. We'll have to cope with a few issues (namely locking) before it is final.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Assigned: (MODPYTHON-45) Implement a file-based session manager

Posted by "Nicolas Lehuen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MODPYTHON-45?page=all ]

Nicolas Lehuen reassigned MODPYTHON-45:
---------------------------------------

    Assign To: Nicolas Lehuen

> Implement a file-based session manager
> --------------------------------------
>
>          Key: MODPYTHON-45
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-45
>      Project: mod_python
>         Type: New Feature
>     Versions: 3.1.4
>     Reporter: Nicolas Lehuen
>     Assignee: Nicolas Lehuen
>     Priority: Minor
>      Fix For: 3.2.0

>
> Right now mod_python comes with DbmSession and MemorySession. DbmSession performance can be pretty crappy if for any reason the anydbm module reverts to the dumbdbm implementation. With the current filesystems, implementing a file-based session manager should be easy and should perform well.
> See the following thread : http://www.modpython.org/pipermail/mod_python/2005-April/017825.html
> I've checked in a preliminary implementation based on dharana's work. We'll have to cope with a few issues (namely locking) before it is final.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (MODPYTHON-45) Implement a file-based session manager

Posted by "Nicolas Lehuen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MODPYTHON-45?page=all ]
     
Nicolas Lehuen resolved MODPYTHON-45:
-------------------------------------

    Resolution: Fixed

This has been resolved a while ago. We now need some documentation.

> Implement a file-based session manager
> --------------------------------------
>
>          Key: MODPYTHON-45
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-45
>      Project: mod_python
>         Type: New Feature
>     Versions: 3.1.4
>     Reporter: Nicolas Lehuen
>     Assignee: Nicolas Lehuen
>     Priority: Minor
>      Fix For: 3.2.0

>
> Right now mod_python comes with DbmSession and MemorySession. DbmSession performance can be pretty crappy if for any reason the anydbm module reverts to the dumbdbm implementation. With the current filesystems, implementing a file-based session manager should be easy and should perform well.
> See the following thread : http://www.modpython.org/pipermail/mod_python/2005-April/017825.html
> I've checked in a preliminary implementation based on dharana's work. We'll have to cope with a few issues (namely locking) before it is final.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Updated: (MODPYTHON-45) Implement a file-based session manager

Posted by "Nicolas Lehuen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MODPYTHON-45?page=history ]

Nicolas Lehuen updated MODPYTHON-45:
------------------------------------

    Summary: Implement a file-based session manager  (was: Implement a fil-based session manager)

> Implement a file-based session manager
> --------------------------------------
>
>          Key: MODPYTHON-45
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-45
>      Project: mod_python
>         Type: New Feature
>     Versions: 3.1.4
>     Reporter: Nicolas Lehuen
>     Priority: Minor
>      Fix For: 3.2.0

>
> Right now mod_python comes with DbmSession and MemorySession. DbmSession performance can be pretty crappy if for any reason the anydbm module reverts to the dumbdbm implementation. With the current filesystems, implementing a file-based session manager should be easy and should perform well.
> See the following thread : http://www.modpython.org/pipermail/mod_python/2005-April/017825.html
> I've checked in a preliminary implementation based on dharana's work. We'll have to cope with a few issues (namely locking) before it is final.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Commented: (MODPYTHON-45) Implement a file-based session manager

Posted by "dharana (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MODPYTHON-45?page=comments#action_65715 ]
     
dharana commented on MODPYTHON-45:
----------------------------------

mod_python/Session.py from (mod_python_20050518163650.tar.gz) has a typo at line +364:

        if timeout:
            self._cleanup_timeout = timeout
        else:
            self._cleanup_timeout = Session.DFT_TIMEOUT


It should be:

        if timeout:
            self._cleanup_timeout = timeout
        else:
            self._cleanup_timeout = DFT_TIMEOUT




> Implement a file-based session manager
> --------------------------------------
>
>          Key: MODPYTHON-45
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-45
>      Project: mod_python
>         Type: New Feature
>     Versions: 3.1.4
>     Reporter: Nicolas Lehuen
>     Assignee: Nicolas Lehuen
>     Priority: Minor
>      Fix For: 3.2.0

>
> Right now mod_python comes with DbmSession and MemorySession. DbmSession performance can be pretty crappy if for any reason the anydbm module reverts to the dumbdbm implementation. With the current filesystems, implementing a file-based session manager should be easy and should perform well.
> See the following thread : http://www.modpython.org/pipermail/mod_python/2005-April/017825.html
> I've checked in a preliminary implementation based on dharana's work. We'll have to cope with a few issues (namely locking) before it is final.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Re: [jira] Commented: (MODPYTHON-45) Implement a file-based session manager

Posted by Nicolas Lehuen <ni...@gmail.com>.
Well, Google gives good results for tutorials and FAQs - but make sure
you're not using Google Images ;-).

Regards
Nicolas

On 4/30/05, Jim Gallacher <jg...@sympatico.ca> wrote:
> Nicolas Lehuen (JIRA) wrote:
> >      [ http://issues.apache.org/jira/browse/MODPYTHON-45?page=comments#action_64138 ]
> >
> > Nicolas Lehuen commented on MODPYTHON-45:
> > -----------------------------------------
> >
> > OK, I have integrated FileSession into Session.py (it previously was in its own module FileSession.py). Now we need a bit of documentation...
> >
> 
> I'm on it. Will post sometime Sunday. I haven't played with latex before
> though - can anyone point me to a good quick and dirty tutorial? Or I
> could just use google. :)
> 
> Regards,
> Jim
>

Re: [jira] Commented: (MODPYTHON-45) Implement a file-based session manager

Posted by Jim Gallacher <jg...@sympatico.ca>.
Nicolas Lehuen (JIRA) wrote:
>      [ http://issues.apache.org/jira/browse/MODPYTHON-45?page=comments#action_64138 ]
>      
> Nicolas Lehuen commented on MODPYTHON-45:
> -----------------------------------------
> 
> OK, I have integrated FileSession into Session.py (it previously was in its own module FileSession.py). Now we need a bit of documentation...
> 

I'm on it. Will post sometime Sunday. I haven't played with latex before 
though - can anyone point me to a good quick and dirty tutorial? Or I 
could just use google. :)

Regards,
Jim

[jira] Commented: (MODPYTHON-45) Implement a file-based session manager

Posted by "Nicolas Lehuen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MODPYTHON-45?page=comments#action_64138 ]
     
Nicolas Lehuen commented on MODPYTHON-45:
-----------------------------------------

OK, I have integrated FileSession into Session.py (it previously was in its own module FileSession.py). Now we need a bit of documentation...

> Implement a file-based session manager
> --------------------------------------
>
>          Key: MODPYTHON-45
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-45
>      Project: mod_python
>         Type: New Feature
>     Versions: 3.1.4
>     Reporter: Nicolas Lehuen
>     Priority: Minor
>      Fix For: 3.2.0

>
> Right now mod_python comes with DbmSession and MemorySession. DbmSession performance can be pretty crappy if for any reason the anydbm module reverts to the dumbdbm implementation. With the current filesystems, implementing a file-based session manager should be easy and should perform well.
> See the following thread : http://www.modpython.org/pipermail/mod_python/2005-April/017825.html
> I've checked in a preliminary implementation based on dharana's work. We'll have to cope with a few issues (namely locking) before it is final.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


[jira] Work started: (MODPYTHON-45) Implement a file-based session manager

Posted by "Nicolas Lehuen (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/MODPYTHON-45?page=all ]
     
Work on MODPYTHON-45 started by Nicolas Lehuen

> Implement a file-based session manager
> --------------------------------------
>
>          Key: MODPYTHON-45
>          URL: http://issues.apache.org/jira/browse/MODPYTHON-45
>      Project: mod_python
>         Type: New Feature
>     Versions: 3.1.4
>     Reporter: Nicolas Lehuen
>     Assignee: Nicolas Lehuen
>     Priority: Minor
>      Fix For: 3.2.0

>
> Right now mod_python comes with DbmSession and MemorySession. DbmSession performance can be pretty crappy if for any reason the anydbm module reverts to the dumbdbm implementation. With the current filesystems, implementing a file-based session manager should be easy and should perform well.
> See the following thread : http://www.modpython.org/pipermail/mod_python/2005-April/017825.html
> I've checked in a preliminary implementation based on dharana's work. We'll have to cope with a few issues (namely locking) before it is final.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira