# Google Cloud Memorystore for Redis V1 API - Module Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::AOFConfig::AppendFsync (v1.7.0)

1.7.0 (latest) 1.6.0 1.5.1 1.4.0 1.3.1 1.2.0 1.1.0 1.0.1 0.6.0 0.5.0 0.4.2 0.3.0 0.2.2 0.1.0 Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API module Google::Cloud::Redis::Cluster::V1::ClusterPersistenceConfig::AOFConfig::AppendFsync.

Available fsync modes.

## Constants

### APPEND_FSYNC_UNSPECIFIED

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

### NO

**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.

### EVERYSEC

**value:** 2  
fsync every second. Fast enough, and 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. It has the
best data loss protection at the cost of performance