Redis persistence configuration, RDB and AOF configuration instructions

Article directory I. Overview 2. RDB persistence configuration 3. AOF persistence mode configuration If your understanding of Redis is not deep enough, please pay attention to this column. This column includes Redis installation, Redis configuration file description, Redis command and data type description. 1. Overview Redis persistence refers to the process of storing Redis data […]

Redis write failureMISCONFRedisisconfiguredtosaveRDBsnapshots, but is currently not able to persist on disk

The Java log error is as follows: redis hput exception org.springframework.dao.InvalidDataAccessApiUsageException: MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are disabled. Please check Redis logs for details about the error. ; nested exception is redis.clients.jedis.exceptions.JedisDataException: MISCONF Redis is configured […]

Redis’s safety net: Master the persistence technology of RDB and AOF [redis Part 4]

Safety net of Redis: Master the persistence technology of RDB and AOF Preface First: What are RDB and AOF? RDB (Redis Database Backup): AOF (Append-Only File): Similarities and differences: Second: In-depth analysis of RDB mechanism working principle: Configuration and triggering: advantage: limitation: Third: In-depth analysis of the AOF mechanism working principle: Configuration and management: rewrite […]

PersistenceDelegate- persistent proxy class

java.beans.PersistenceDelegate – persistent proxy class, persistent delegate Official Document Original Word 1: The persistence agent can control all aspects of object persistence, including: 1. Determine whether an instance can be mutated into another instance of the same class. 2. Instantiate the object by calling a public constructor or public factory method. 3. Perform object initialization. […]

AOF (Append Only File) for redis persistence

1: What is AOF Record each write operation in the form of a log (incremental save), record all write instructions executed by redis (read operations are not recorded), only allow files to be appended but not rewritten. When redis is started, it will Read the file to reconstruct the data, in other words, redis restarts […]

Sentinel authorization rules and rule persistence

Hello everyone, I am Su Lin. Today I will talk about Sentinel rule persistence. Authorization rules Authorization rules can determine and control the source of the requester. Authorization rules Basic rules Authorization rules can control the source of the caller, and there are two methods: whitelist and blacklist. Whitelist: Callers whose origin is in the […]

An article to understand Linux environment variables (local environment variables, global environment variables, persistent environment variables)

Article directory 0 background 1 Overview of environment variables 1.1 Global environment variables 1.2 Local environment variables 2Create environment variables 2.1 Local environment variables 2.2 Global environment variables 3 Delete environment variables 4 Set the PATH environment variable 4.1 Persistent environment variables 4.1.1 Case 1: Default login shell 4.1.2 Case 2: Interactive shell for non-login […]