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 details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-iron-sessions-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7a89a784d078f162773e1553860fc49efe94e10b55322156febe9f3945b0fa03
MD5 1144c18ac60c23b568fea4a92088b5d9
BLAKE2b-256 aeb6afe64cdd95658978ab5e84e44926e1ac7d0c58b012a101a5c139590c17c4

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