Best session storage in ExpressJS - NodeJS
express, javascript, mongodb, node.js, redis
Solution
The right answer is clear by following your links and looking at the number of stars and forks. cookieSession is unacceptable because it doesn't work across multiple machines, which you will absolutely need. connect-mongo doesn't make any sense because it's not worth installing and maintaining mongo just for cookies.
connect-pg would probably be fine for you, but why risk slowing down your database when there is no need. Redis is an incredibly well-written, easily installable, highly regarded piece of software. It's free and universally available. It's also the most popular option on Github. Go with connect-redis.
Problem
I'm building my first (and rather big) NodeJS application. I need excellent performance since it's a big all AJAX (AngularJS) interface with a lot of requests from a lot of users. I'm building the login system, and I need to choose which storage engine I will use. I narrowed down my search to 4 choices : - connect-mongo : read a lot of nice things about it, but requires the installation of MongoDB - connect-redis : read a lot of nice things about it, but requires the installation of Redis - connect-pg : don't know the performance but that's the DB we're using so no additional installation needed - cookieSession : according to this post is very fast, but I'm a bit confused at to why it's so fast and everywhere I look people seem to ignore this option Which setup should give me the best performance possible? Without of course impacting functionality. Thanks!