I am Hack Sparrow
Captain of the Internets.

Use RedisStore instead of MemoryStore – Express.js in Production

After setting the NODE_ENV environment variable to 'production', when you try to run your Express.js app with sessions support, you will be hit by this: [code] Warning: connection.session() MemoryStore is not designed for a production environment, as it will leak memory, and obviously only work within a single process. [/code] What it means is that the MemoryStore module used for managing sessions is not meant for production. So what do you do about it? Use ...

Install Redis on Ubuntu and Mac

Redis caught your interest and want to try it on your Mac or Ubuntu? Excellent! Installing Redis is almost similar in Mac and Ubuntu. wget does not come installed by default on Mac, so install wget first if you are on Mac. And here we go: [code] $ wget http://redis.googlecode.com/files/redis-2.4.8.tar.gz $ tar -zxvf redis-2.4.8.tar.gz $ cd re ...

Using Redis with Node.js

Redis is an in-memory 'database' system which gives an incredibly fast read-write access to data. Once you start using Node.js, you are very likely to be introduced to NoSQL, and Redis might strike you as one of the most outstanding among them. Do you want to use Redis with Node.js, but have no idea where to begin? This concise but illustrative article will show you just how to get Redis kick started with Node.js. Node.js has an excellently written ...

Debating about SQL vs. NoSQL, Redis vs. MongoDB vs. CouchDB etc?

Here is a collection of articles to to help you get a better idea about NoSQL and its options. They will also probably answer your Redis vs. MongoDB vs. CouchDB vs. MySQL query. It did for me, the answer is is not that exciting - "use the right tool for the right job" :D What the heck are you actually us ...