What is Redis?
Redis is an open source API that is written in ANSI C, supports the web, can be persisted in memory, key-value databases, and provides multiple languages.
Redis is a high-performance Key-value database.
Key Value key1 value1key2 value2
Two Redis features
1. In-memory database
- All data is stored in memory, avoiding slow disk I/O.
- Backup data is, writes data to file: RDS, AOF.
2. Rich data types
- String
- List
- Set
- Sorted Set
3. Atomicity of the operation
- Operational atomicity: Single process, single thread.
- Event driven drive mechanism
Event-driven benefits that make the CPU occupied very low.
4. Support Subscription/release model
Support for subscription/release models
Key expires
Two-Mount Redis
1. Download Redis
Official address
http://www.redis.io/
HTTPS://Github.com/msopentech/redis
//
Https://github.com/downloads/dmajkic/redis/redis-2.4.5-win32-win64.zip
2. Unzip the Redis.*.zip file to the local hard drive.
File Description:
Redis-benchmark.exe #基准测试
Redis-check-aof.exe # AOF
Redischeck-dump.exe # Dump
Redis-cli.exe # Client
Redis-server.exe # Server
REDIS.WINDOWS.CONF # configuration file
Installing Redis under Linux
Redis Tutorial 01 Installing Redis