I'm using kue which uses node_redis, but I'm also already using node_redis
for my sessions, so I'd like to have kue
create a server on a specific port say the default 6379
and then kue
listen on port 1234
.
How would I be able to do this? I found this article which talks about something similar, but I don't really want to have to create an init script to do this.
Launch redis-server and supply a different argument for 'port' which can be done on the command-line:
You can do this from, say,
/etc/rc.local
as well so that this happens at startup.But maybe you can also rethink your approach. Redis is so good at handling writes that you may just get by with a second database?