News for hackers. Stuff that matters.
Re:Moneta - a unified interface to key/value stores by subwindow on Saturday July 10, 2010 @12:02PM (#1503845)
That was my first thought as well. The expire/expireat commands are one of the main reasons why I chose Redis.

I'm honestly not sure why wycats would make that statement. It's not like the interface for expiration is particularly opaque.

Re:Moneta - a unified interface to key/value stores by petercooper on Saturday July 10, 2010 @01:38PM (#1504020)
Because moneta is not new at all, look at the commit dates :-) It only seems to have made it to HN because someone resurfaced it on Reddit recently.

I asked wycats about this and he said he plans to do some serious reworking on it soon.

Re:Moneta - a unified interface to key/value stores by subwindow on Saturday July 10, 2010 @01:35PM (#1504015)
It turns out the code used the Redis native expiration, but it wasn't compatible with Redis 2.x. So I fixed both problems. I sent a pull request. We'll see if it makes it into main.

http://github.com/subwindow/moneta

As a side note, the library is pretty simple at this point. The way the tests are set up is pretty excellent as well.

Re:Moneta - a unified interface to key/value stores by technoweenie on Saturday July 10, 2010 @12:19PM (#1503876)
I don't think Moneta's Redis interface uses the ruby expiration code: http://github.com/wycats/moneta/commit/522be344cfeddb4a4dbf8...