Re:"I trust Redis-on-disk every day less." --Salvatore
by antihero on Wednesday June 01, 2011 @07:59AM
(#2606882)
Is there anything we have to do to make sure redis stores our data persistently? cron for BGSAVE? Or is it generally handled fairly well already?
Re:"I trust Redis-on-disk every day less." --Salvatore
by antirez on Wednesday June 01, 2011 @08:06AM
(#2606892)
BGSAVE in cron is not needed, you can configure Redis (and this is the default config) to automatically save every N seconds if there are at least M changes in the dataset. It is possible to configure multiple save points. More info: http://redis.io/topics/persistence
Re:"I trust Redis-on-disk every day less." --Salvatore
by xpaulbettsx on Thursday June 02, 2011 @10:49PM
(#2614966)
That makes way more sense, thanks!
Actually in the persistence side we plan to do more work to make Redis better, for instance Redis 2.4 that is entering release candidate can save/load most databases on disk ten times faster.
In the future we plan to explore a new AOF format that is more compact and faster to process, and the ability to rewrite the log without a background process (BGREWRITEAOF).