Hacker News new | past | comments | ask | show | jobs | submit login

Yeah, basically what you do is configure how often you want Redis to sync to the disk. You define a period of time and a number of records, and if that amount of time passes and that number of records have been changed, it saves to the disk.

This is the default:

    save 900 1
    save 300 10
    save 60 10000
After 60 seconds, if 10,000 records have been changed it will save. After 300 seconds, if 10 records have been changed it will save. And so on.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: