Skip to content

Instantly share code, notes, and snippets.

View kenleytomlin's full-sized avatar

Kenley Tomlin kenleytomlin

View GitHub Profile
@kenleytomlin
kenleytomlin / app.js
Created December 12, 2012 05:49
RedisStore + Socket.io not working together. Code works fine on single core, as soon as worker threads are added messages are lost. Sub/Pub is happening but messages not passed to connected sockets. Vanilla Redis install running on localhost and default port. Socket.io version 9.10, redis node 8.15 ubuntu 11.04 redis 2.7.6. Error seems to be tha…
/* OOPA ROOPA WEB APP
** Author : Kenley Tomlin
** Email : kenleytomlin@gmail.com
** Date : 2012/12/07 (latest update)
**
** Version 0.0.3 - Added redisStore to socket io's config. Scaling the app to work with multiple cores.
** Version 0.0.2 - Removed https server from node, nginx now serves certificates and proxies to node.
** Version 0.0.1 - Added a redirect app that catches the missing 'www.' from the url and redirects the user to http://www.ooparoopa.com
*/