Skip to content

Comment on "I trust Redis-on-disk every day less." --Salvatoreparent

Comments

I've been using the AOF (append-only file mode) described in the doc [1], with an older version of Redis (1.2.x) in production for a year and a couple of months, specifically to allow a reboot or a crash without loosing a job. It works well for us.

My use-case is processing XML files that are pushed by a third-party (see [2] for a blog post describing the setup).

One drawback is that the AOF file will keep growing (at least on my version) and could reach the maximum filesize of your system, if any - there's the BGREWRITEAOF command available to work-around that issue (not tested).

[1] http://redis.io/topics/persistence

[2] http://blog.logeek.fr/2010/8/2/on-jruby-resque-and-windows

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.