Skip to main content

iron.io cache as Django sessions backend

Project description

Info:

iron.io cache as Django sessions backend

Why new sessions backend with non free solution?!

Why not! iron.io is great service with awesome live support :)

iron.io provides 100mb and 10M API requests per month for free

10 000 000 / 30 / 24 / 60 / 60 it’s about 4 requests per seconds with 24/7 loading for your Django appliction

quick start

run:

heroku addons:add iron_cache:developer
pip install django-iron-sessions

configure set iron_sessions.session as your session engine:

SESSION_ENGINE = 'iron_sessions.session'

options:

IRON_CACHE_PROJECT_ID=<YOUR_PROJECT_ID>
IRON_CACHE_TOKEN=<YOUR_TOKEN>

if you are on heroku, just skip it

tests:

export IRON_CACHE_PROJECT_ID=<YOUR_PROJECT_ID>
export IRON_CACHE_TOKEN=<YOUR_TOKEN>
tox

Python 3.2+ Django 1.5+ ready, but currently iron_core and iron_cache have some issues with Python 3

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-iron-sessions-0.0.1.tar.gz (7.2 kB view details)

Uploaded Source

File details

Details for the file django-iron-sessions-0.0.1.tar.gz.

File metadata

File hashes

Hashes for django-iron-sessions-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6aa47993e5bffecbc8bcfded769769e5d64b2beb3bb1efda7cf8e7fe318e9cdc
MD5 6c890783abfb4066e8721234db3c97f6
BLAKE2b-256 fa3ae1178c945f4f7aaead10aef4b2283ba421bfd2775467c3e8cafad55d7c2d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page