Home>Article>Database> What is redis server?

What is redis server?

藏色散人
藏色散人 Original
2019-07-05 14:01:22 3908browse

What is redis server?

What is redis server?

The most common usage scenario of Redis is as a cache server for data caching. A major feature of cached data is that the data is time-sensitive. After the data is loaded into Redis for caching, it will be cached after a certain period of time. Or the data will expire according to a specific policy and then be deleted.

In Redis, there are the following two ways to automatically delete expired keys and maintain the timeliness of cached data:

1. Set the key expiration time;

2. Set Redis Memory size, (after the space occupied by the key value in Redis reaches the maximum memory, find the expired key to be deleted according to the key elimination strategy configured in the configuration file and then delete it)

For more Redis related knowledge, please visitRedis usage tutorialcolumn!

The above is the detailed content of What is redis server?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn