HTTP/2 302
server: nginx
date: Fri, 22 Aug 2025 12:56:03 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20100602232138
location: https://web.archive.org/web/20100602232138/https://github.com/rays/cassandra-sessions
server-timing: captures_list;dur=0.857526, exclusion.robots;dur=0.040907, exclusion.robots.policy;dur=0.023743, esindex;dur=0.014775, cdx.remote;dur=27.475123, LoadShardBlock;dur=258.882607, PetaboxLoader3.datanode;dur=160.776061, PetaboxLoader3.resolve;dur=34.769106
x-app-server: wwwb-app200
x-ts: 302
x-tr: 323
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
set-cookie: wb-p-SERVER=wwwb-app200; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 22 Aug 2025 12:56:03 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Wed, 02 Jun 2010 23:21:38 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "8310642f46734c57a2138969d25d8e7a"
x-archive-orig-x-runtime: 81ms
x-archive-orig-content-length: 21782
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Wed, 02 Jun 2010 23:21:38 GMT
link:
; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Tue, 01 Jun 2010 05:22:42 GMT", ; rel="prev memento"; datetime="Tue, 01 Jun 2010 05:22:42 GMT", ; rel="memento"; datetime="Wed, 02 Jun 2010 23:21:38 GMT", ; rel="next memento"; datetime="Mon, 11 Jun 2018 02:21:52 GMT", ; rel="last memento"; datetime="Mon, 11 Jun 2018 02:21:52 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 52_16_20100602231204_crawl100-c/52_16_20100602232135_crawl101.arc.gz
server-timing: captures_list;dur=0.537626, exclusion.robots;dur=0.024517, exclusion.robots.policy;dur=0.013420, esindex;dur=0.010773, cdx.remote;dur=45.761478, LoadShardBlock;dur=241.862654, PetaboxLoader3.datanode;dur=132.785074, PetaboxLoader3.resolve;dur=394.362860, load_resource;dur=323.197221
x-app-server: wwwb-app200
x-ts: 200
x-tr: 662
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=1
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
rays's cassandra-sessions at master - GitHub
click here to add a description
click here to add a homepage
Wed May 12 12:39:31 -0700 2010
README.markdown cassandra-sessions
This is a session backend for Django that stores sessions in Cassandra
The advantage to using this over other solutions is that your data is persistent
unlike memcached, and Cassandra is designed to store key-value data like
this, so performance is much closer to that of memcached than with a database.
Note: This work was initially based off of tokyo-tyrant-sessions by @ericflo.
Dependencies
Lazyboy (Use Ian Eure's version as it supports 0.6.1 of Cassandra)
Installing cassandra-sessions
download the source and run
python setup.py install
Set 'cassandra-sessions' as your session engine, like so:
SESSION_ENGINE = 'cassandra-sessions'
Add settings describing where to connect to Cassandra:
CASSANDRA_POOL = ('127.0.0.1:9160',)
CASSANDRA_SESSION_KEYSPACE = 'Testing'
Create the Keyspace and Column Family in Cassandra:
<Keyspace Name="Testing">
<ColumnFamily Name="Sessions" CompareWith="UTF8Type"/>
<ReplicaPlacementStrategy>org.apache.cassandra.locator.RackUnawareStrategy</ReplicaPlacementStrategy>
<ReplicationFactor>1</ReplicationFactor>
<EndPointSnitch>org.apache.cassandra.locator.EndPointSnitch</EndPointSnitch>
</Keyspace>