Node.js express session store provider for Windows Azure table storage.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
LICENSE
README.md
package.json

README.md

ExpressJS Session Store for Azure

Node.js express session store provider for Windows Azure table storage.

Install

npm install express-session-azure

Usage

Typical usage for the most part:

var express = require('express'),
    AzureSessionStore = require('express-session-azure');

var app = express.createServer();

app.configure(function(){
    app.use(express.cookieDecoder());
    app.use(express.session({ store: new AzureSessionStore({ name: "azure_storage_name", accessKey: "azure_storage_key" }) }));
});

Performance

Leveraging Windows Azure Table Storage nets some impressive performance. Not the fastest session store, but for being highly distributed and fault tolerant, it's an easy win. Latencies should be less than 20ms on average. Feel free to report your own findings.