[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Memorystore V1 API - Module Google::Cloud::Memorystore::V1::PersistenceConfig::AOFConfig::AppendFsync (v1.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.0 (latest)](/ruby/docs/reference/google-cloud-memorystore-v1/latest/Google-Cloud-Memorystore-V1-PersistenceConfig-AOFConfig-AppendFsync)\n- [1.1.1](/ruby/docs/reference/google-cloud-memorystore-v1/1.1.1/Google-Cloud-Memorystore-V1-PersistenceConfig-AOFConfig-AppendFsync)\n- [1.0.0](/ruby/docs/reference/google-cloud-memorystore-v1/1.0.0/Google-Cloud-Memorystore-V1-PersistenceConfig-AOFConfig-AppendFsync)\n- [0.3.0](/ruby/docs/reference/google-cloud-memorystore-v1/0.3.0/Google-Cloud-Memorystore-V1-PersistenceConfig-AOFConfig-AppendFsync)\n- [0.2.0](/ruby/docs/reference/google-cloud-memorystore-v1/0.2.0/Google-Cloud-Memorystore-V1-PersistenceConfig-AOFConfig-AppendFsync)\n- [0.1.0](/ruby/docs/reference/google-cloud-memorystore-v1/0.1.0/Google-Cloud-Memorystore-V1-PersistenceConfig-AOFConfig-AppendFsync) \nReference documentation and code samples for the Memorystore V1 API module Google::Cloud::Memorystore::V1::PersistenceConfig::AOFConfig::AppendFsync.\n\nPossible fsync modes.\n\nConstants\n---------\n\n### APPEND_FSYNC_UNSPECIFIED\n\n**value:** 0 \nNot set. Default: EVERY_SEC\n\n### NEVER\n\n**value:** 1 \nNever fsync. Normally Linux will flush data every 30 seconds with this\nconfiguration, but it's up to the kernel's exact tuning.\n\n### EVERY_SEC\n\n**value:** 2 \nFsync every second. You may lose 1 second of data if there is a\ndisaster.\n\n### ALWAYS\n\n**value:** 3 \nFsync every time new write commands are appended to the AOF. The best\ndata loss protection at the cost of performance."]]