# Memorystore V1 API - Module Google::Cloud::Memorystore::V1::PersistenceConfig::AOFConfig::AppendFsync (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.1 1.0.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Memorystore V1 API module Google::Cloud::Memorystore::V1::PersistenceConfig::AOFConfig::AppendFsync.

Possible fsync modes.

## Constants

### APPEND_FSYNC_UNSPECIFIED

**value:** 0  
Not set. Default: EVERY_SEC

### NEVER

**value:** 1  
Never fsync. Normally Linux will flush data every 30 seconds with this
configuration, but it's up to the kernel's exact tuning.

### EVERY_SEC

**value:** 2  
Fsync every second. You may lose 1 second of data if there is a
disaster.

### ALWAYS

**value:** 3  
Fsync every time new write commands are appended to the AOF. The best
data loss protection at the cost of performance.