I am using Redis with Node Js to share events between processes.
When I do a pub.publish('...', 'message');
the other node processes are notified by a sub.on('message', ...
event which is fine and it works ok.
Could someone please advise whether this Redis event/information is being stored/cached temporarily/permanently in memory. Do I have to delete this out of memory manualy ? Or does it automatically expires ? If so, when ?
I plan to publish a lot of small messages and instantly grab them but I am a little bit confused since I don't know exactly what is happening in the Redis backstage.