Lvi1MeeLoJt6ZMFc.0.0.1398253656840|548607..0.0.1398253650548|534891..0.0.1398253650548|534890.a54472cf-7e16-47dd-adbd-ce6c270c49c5.0.0.1398253650548|534889..0.0.1398253650548|535495..0.0.1398253650548|534300..0.0.1398253650548|557581..0.0.1398253650548|534301.d633f2ed-d126-4418-b1fc-1e0d48056ff1.0.0.1398253657927|554115..0.0.1398253650548|535854..0.0.1398253650548|534297..0.0.1398253650548|556010..0.0.1398253650548|554114..0.0.1398253650548|536088..0.0.1398253650548|534299..0.0.1398253650548|557588..0.0.1398253650548|538303..0.0.1398253650548|557587..0.0.1398253650548|551764.533aaf9ed9a9014d9cf117de.0.0.1398253650548|535039.9ee40065-5956-4d47-9341-0693f5da6c96.0.0.1398253650548|537203..0.0.1398253650548|550787..0.0.1398253650548|551767..0.0.1398253650548|537583..0.0.1398253650548|550788..0.0.1398253650548|537204..0.0.1398253650548|550789..0.0.1398253650548|557477..0.0.1398253650548|535461.3011956429477785938.0.0.1398253656667|531399..0.0.1398253650548|530912.AQENFaQsOgoIJgI5Mvb6AQEBAQE.0.0.1398253656948|552562..0.0.1398253650548|537983..0.0.1398253650548|532623..0.0.1398253650548|539152.cbe708fe-b5e6-11e3-887f-782bcb66dbad.0.0.1398253650548|538569..0.0.1398253650548|547193..0.0.1398253650548|536993..0.0.1398253650548|551586..0.0.1398253650548|551587..0.0.1398253650548|545979.1453398563384417518.0.0.1398253656783|531292.AG-00000003702490480.0.0.1398253656996|543604.174b56b8-d66d-4786-85af-24ae84b9261e.0.0.1398253656553|557504..0.0.1398253650548|543793.4a498e63-9e56-4177-b28c-151d4b02b85c.0.0.1398253650548|540281..0.0.1398253650548|543073..0.0.1398253650548|533406..0.0.1398253650548|541254..0.0.1398253650548|538064..0.0.1398253650548|551446..0.0.1398253650548|543921.e97b3655eb88039b-064a2963f342eda5.0.0.1398253650548|557413..0.0.1398253650548|538467..0.0.1398253650548|539573..0.0.1398253650548|557651..0.0.1396354850598|557652..0.0.1396354850598|557653..0.0.1396354850598|557654..0.0.1396354850598|557655..0.0.1396354850598|557656..0.0.1396354850598|557657..0.0.1396354850598|557658..0.0.1396354850598|557659..0.0.1396354850598|557660..0.0.1398253650548|554196.XU01v04-edb8a36d-1da8-4d61-b62a-a4b2bdf485a8.0.0.1398253656913"; Version=1; Domain=.contextweb.com; Max-Age=31536000; Expires=Thu, 23-Apr-2015 11:47:37 GMT; Path=/ CW-Server: lga-app603 Cache-Control: private, max-age=0, no-cache, no-store Expires: -1 Content-Type: image/gif;charset=ISO-8859-1 Content-Language: pt-BR Transfer-Encoding: chunked Date: Wed, 23 Apr 2014 11:47:37 GMT 31 GIF89a!,T; 0 lFastly-Debug-Path: (F cache-jfk1028-JFK 1398253657) odyGIF89a!,T;header">
skip to navigation
skip to content

Not Logged In

django-tokyo-sessions 0.1.0

This is a session backend for Django that stores sessions in a Tokyo Cabinet database, which communicates via Tokyo Tyrant using the PyTyrant library. Tokyo Cabinet is a key-value store similar to BDB.

This is a session backend for Django that stores sessions in a Tokyo Cabinet database, which communicates via Tokyo Tyrant using the PyTyrant library. Tokyo Cabinet is a key-value store similar to BDB.

The advantage to using this over other solutions is that your data is persistent unlike memcached, and Tokyo Cabinet is designed to store key-value data like this, so performance is much closer to that of memcached than with a database.

Installing django-tokyo-sessions

  1. Either download the tarball and run python setup.py install, or simply use easy install or pip like so easy_install django-tokyo-sessions.

  2. Set tokyo_sessions.tokyo as your session engine, like so:

    SESSION_ENGINE = 'tokyo_sessions.tokyo'
    
  3. Add settings describing where to connect to the Tokyo Tyrant database:

    TT_HOST = '127.0.0.1'
    TT_PORT = 1978
    

That's it. Hopefully this backend gives you all the better performance while still not sacrificing persistence.

 
File Type Py Version Uploaded on Size
django-tokyo-sessions-0.1.0.tar.gz (md5) Source 2009-02-22 4KB
  • Downloads (All Versions):
  • 7 downloads in the last day
  • 20 downloads in the last week
  • 141 downloads in the last month