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.2.tar.gz (7.2 kB view hashes)

Uploaded Source

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