Skip to content

ask/django-sessionstore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=================================================================================
django-sessionstore - Django Cache+DB Session wich uses table rotation for expiry
=================================================================================

:Version: 0.0.2

Introduction
============

This package provide an alternative way to handle sessions with the Django framework.

If you decide to store data in the session for unlogged users, you session table
could become quickly big (several gigabytes). Deleting sessions with the script
provided by Django is not possible anymore (too slow, create lock issue with InnoDB).

This solution provided here is to duplicate the session table and migrate the used
sessions from the old table to the new one when the user try to access them.

After a choosen time. Repeat the operation and finaly delete the old table.

Installation
============

You can install ``django-sessionstore`` either via the Python Package Index (PyPI)
or from source.

To install using ``pip``,::

    $ pip install django-sessionstore


To install using ``easy_install``,::

    $ easy_install django-sessionstore


If you have downloaded a source tarball you can install it
by doing the following,::

    $ python setup.py build
    # python setup.py install # as root

About

Django Cache+DB Session wich uses table rotation for expiry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages