# Memorystore V1BETA API - Module Google::Cloud::Memorystore::V1beta::PersistenceConfig::AOFConfig::AppendFsync (v0.12.0)

0.12.0 (latest) 0.11.0 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.0 0.1.0 Reference documentation and code samples for the Memorystore V1BETA API module Google::Cloud::Memorystore::V1beta::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.