1. Download the Windows version of Redis
I went to the official website for a long time, and found that the version of windows that was originally available for download on the official websi
1. Download the Windows version of Redis
I went to the official website for a long time, and found that the version of windows that was originally available for download on the official websi
1. Download Windows version of Redis download address https://github.com/MicrosoftArchive/redis/releases
The compressed package that will be downloaded Unzip to the specified path, such as:
One download Two compilation Make in the unzip directory
Make install in the src directory of the unzip directory
make PREFIX=/usr/local/redis install
#PREFIX=/usr/local/redis can be om
One, Redis installation 1. Download Redis Two ways: First, open the terminal directly, and then enter the following command: wget http://download.redis.io/releases/redis-4.0.2.tar.gz
When I u
#tar -xvf redis.3.2.5.tar.gz –C /usr/local/#cd /usr /local/#mv redis.3.2.5 redis#cd redis#make && make install #cp /usr/local/redis/redis.conf /data/redis/conf#vim /data/redis/conf/redis.conflogfil
Springboot connects redis for CRUD:
1. Add the following dependencies:
org.springframework.boot
spring-boot-starter-data-redis
redis.clients
jedis
2.9.0
2. Configure r
I searched for other people’s package code, and it feels not elegant enough, mainly because the timing of calling set_keepalive is not good.
The code below myself uses coroutine, and set_keepalive
I am using play framework v2.2.1 and include the following in the build.sbt file.
Parser:
Resolver.url(“play-redis”, url(“http://repo.typesafe.com/typesafe/releases/com/typesafe/play-pl
1.NoSQL
a) Refers to some non-relational databases. High read and write performance, storage will expire, and data will be stored in memory
b) Classification
2.Redis
a) High
Introduction
Redis is similar to Memcached and also belongs to kv data storage
Redis official website redis.io, the latest stable version 4.0.1
Supports more value types, in addition to string, it