Using Redis as Node.js Express Session Storage on Heroku

The default way to use sessions with Node.js and Express is using the bundled memory store. However, if you want to deploy your app to Heroku and use multiple dynos it won’t work because the memory store doesn’t work across dynos.

The solution is to use a database for session storage and it seems like Redis or MongoDB [...]

New Machine Setup

Recently I’ve got a new work Mac Book Pro. Here a a summary of my initial setup:

Preferences

Tap to click
Natural scrolling

Software

1Password
Adium
Dropbox
Evernote
Firefox
Fish Shell
Git
Google Chrome
Google Chrome Canary
Google Drive
Growl Fork
Heroku toolbelt
Homebrew (ruby -e “$(curl -fsSkL raw.github.com/mxcl/homebrew/go)”)
iTerm 2
Kindle
Mongo DB (brew install mongodb)
node.js
Skype
Spotify
Sublime Text 2 (with packages for CoffeeScript and Stylus)
Sublime Package Manager
Twitter
Redis (brew install redis)
XCode

Global NPM packages

coffee-script
node-dev

Misc

Custom bash prompt
Heroku SSH
Shortcut for [...]