Hi, I am hosting a CVAT application on aws standard t3.2xlarge with ubuntu 18.04 machine it has EBS SSD attached to it

I get this kind of log and my application becomes very slow momentarily time to time

cvat_redis_inmem               | 1:M 29 Feb 2024 13:34:45.007 * Asynchronous AOF fsync is taking too long (disk is busy?). Writing the AOF buffer without waiting for fsync to complete, this may slow down Redis.
cvat_redis_inmem               | 1:M 29 Feb 2024 13:36:39.050 * 100 changes in 60 seconds. Saving...
cvat_redis_inmem               | 1:M 29 Feb 2024 13:36:39.050 * Background saving started by pid 83
cvat_redis_inmem               | 1:M 29 Feb 2024 13:36:43.064 * Asynchronous AOF fsync is taking too long (disk is busy?). Writing the AOF buffer without waiting for fsync to complete, this may slow down Redis.
cvat_redis_inmem               | 83:C 29 Feb 2024 13:36:44.410 * DB saved on disk
cvat_redis_inmem               | 83:C 29 Feb 2024 13:36:44.411 * Fork CoW for RDB: current 2 MB, peak 2 MB, average 1 MB
cvat_redis_inmem               | 1:M 29 Feb 2024 13:36:44.456 * Background saving terminated with success
cvat_redis_inmem               | 1:M 29 Feb 2024 13:37:51.068 * Asynchronous AOF fsync is taking too long (disk is busy?). Writing the AOF buffer without waiting for fsync to complete, this may slow down Redis.
cvat_redis_inmem               | 1:M 29 Feb 2024 13:38:58.009 * Asynchronous AOF fsync is taking too long (disk is busy?). Writing the AOF buffer without waiting for fsync to complete, this may slow down Redis.
cvat_redis_inmem               | 1:M 29 Feb 2024 13:39:06.072 * Asynchronous AOF fsync is taking too long (disk is busy?). Writing the AOF buffer without waiting for fsync to complete, this may slow down Redis.
cvat_redis_inmem               | 1:M 29 Feb 2024 13:40:32.044 * Asynchronous AOF fsync is taking too long (disk is busy?). Writing the AOF buffer without waiting for fsync to complete, this may slow down Redis.
cvat_redis_inmem               | 1:M 29 Feb 2024 13:42:36.458 * 100 changes in 60 seconds. Saving...
cvat_redis_inmem               | 1:M 29 Feb 2024 13:42:36.458 * Background saving started by pid 84

I went through this two issues, seems like they are preaching some solution but I am very much new to redis I do not understand this terms like RDB and AOF can anyone help ? https://github.com/redis/redis/issues/641 https://github.com/redis/redis/issues/1154

can you advise how to address this

Comment From: enjoy-binbin

https://redis.io/docs/management/persistence/ https://github.com/redis/redis/blob/unstable/redis.conf#L440 https://github.com/redis/redis/blob/unstable/redis.conf#L1369

please take a look with these links, it seems that your bgsave is executed too frequently, eating up disk IO, causing aof fsync to slow down.

Comment From: PushpakBhoge512

@enjoy-binbin thank you for the help this helps

Comment From: enjoy-binbin

Normally you can turn off the "save" in redis.conf, or adjust it to a larger value