News for hackers. Stuff that matters.
Re:Redis 2.8.7 is out by miscoowow on Wednesday March 05, 2014 @12:57PM (#7348493)
Since I switched to Redis, I had massive drop in resource requirements, saving me a lot of money. Thank you very much.

The keyspace notifications are great but I use NodeJS at the moment to listen to the events. When will it be possible to run Lua to remove the current point of failure? On the topics page, it says "In the future". Are we looking at years or months?

Re:Redis 2.8.7 is out by antirez on Wednesday March 05, 2014 @01:48PM (#7348912)
Awesome that you improved your stack with Redis, thanks for sharing. I'm not sure about what exact feature you are referring to, please could you describe it? Thanks.
Re:Redis 2.8.7 is out by miscoowow on Wednesday March 05, 2014 @02:12PM (#7349057)
http://redis.io/topics/notifications notify-keyspace-events Kx

Currently, NodeJS subscribes to expired keys. When the key is expired it will delete the 'physical' data from the server (thumbnails, more indepth info, etc). If NodeJS fails, even for a few seconds, I will forever have the 'physical' data stored on the server (as it doesn't re-run the expired event).

Having lua scripting do what NodeJS currently does would fix the problem.

Apart from that, Redis is perfect. ;)

Re:Redis 2.8.7 is out by seiji on Wednesday March 05, 2014 @06:51PM (#7350835)
I experimented with adding exactly that recently: https://matt.sh/advanced-redis-pubsub-scripts (code in the branch at https://github.com/mattsta/redis/tree/pubsub-scripting).

It hasn't been extensively tested, but it works for my isolated test cases.