Home > Database > Redis > What is redis used for?

What is redis used for?

青灯夜游
Release: 2019-06-17 14:33:30
Original
7638 people have browsed it

What is redis used for?

#Redis is open source and free, written in C language, following the BSD protocol. It is a high-performance (KEY/value) distributed memory database that runs based on memory and supports persistence. The NoSQL database is one of the most popular NoSQL databases currently and is also known as the data structure server.

What is Redis used for? What can be done?

1. Memory storage and persistence:

Redis supports asynchronously writing the data in the memory to the hard disk without affecting the continued service and the operation of fetching the latest N data. , for example: you can put the IDs of the latest 10 comments in the Redis list collection.

2. Simulate functions similar to HttpSession that require setting the expiration time.

3. Publish and subscribe message system.

4. Timer, calculator.

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template