redis

Graduation/private work/necessary, a standard open source front-end and back-end separation [springboot+vue+redis+Spring Security] scaffolding to make money–Ruoyi Framework

Foreword: Today I would like to share with you oneOpen sourceTake private jobs/graduate projects/part-time jobs to make moneyIt is an open source project that separates the front and back ends of Java. It took about an hour to download the source code and run it. It felt pretty good. I encountered some small problems when running the front-end code and quickly solved them according to the error pr... »

Microservice Spring Boot integrates Redis and uses Redis-based Stream message queue to implement asynchronous flash sale orders.

Article directory 1. What is Redis message queue?2. Redis message queue-implementing message queue based on Redis List3. Redis message queue–Pubsub-based message queue4. Consumption queue based on Redis StreamStream simple syntaxStream’s consumer group 5. Implement asynchronous flash sales based on Redis Stream message queue6. Program testingsummary 1. What is Redis message queue? lite... »

Summary of common redis commands and use of RedisDesktopManager

STRING 1) – Select which database: Select the first database select 12)–Move key from data 1 to database 0: select 1 move mykey 03)–Set key-value pairs: set myKey abcSet multiple key-value pairs at one time: MSET fruit “apple” drink “beer” food “cookies”4)–Retrieve key-value pairs: get myKey–Get a key randomly: randomkey– View all keys in the database: keys *5)–Delete key: del myKeyNote: If the ke... »

The detailed process of SpringBoot integrating Alibaba Cloud SMS service (guaranteed that beginners can also implement it)

Preface Most of the practical articles on the Internet are generally incomplete, or only record the key parts, which seems to be difficult for those who are just learning. So, based on that. This article will introduce in detail every step of the process of using SpringBoot to integrate Alibaba Cloud SMS service. At the same time, the verification code will be stored in Redis and the expiration ti... »

node npm upgrade

mac system1. Clear npm cache and execute the command npm cache clean -f 2. The n module is a version specially used to manage nodejs. Install the n module. npm install -g n 3. Update and upgrade node version n stable // Update the Node of the current system to the latest "stable version" n lts // long-term support version n latest // latest version n 10.14.2 //Specify the installation version 4. C... »

The value taken out from Redis by redisTemplate.opsForValue().get(KEY) is null and the stored key is quoted.

Save money 1. Use StringRedisTemplate, and confirm the variable type is String2. Whether the variable value comes with quotes         illustrate The value taken from Redis using redisTemplate.opsForValue().get(KEY) is null (whether it is RedisTemplate or StringRedisTemplate)     A closer look revealed that after saving to redis, there were double quotes around the key. After testing, you must add ... »

Microservice design guidance – redis double cache design solves the problem of an app version check API result causing a system crash

background I actually encountered this problem in 2016. APPs or mini-programs have a version check to facilitate forced updates of the APP on the front end. It is also suitable for matching user protocols and message push protocol versions required for personal information security in the backend and the to c frontend for verification. It is just an API. This API will interact with the homepage an... »

How to start Redis

1. Under Windows D: cd Redis //My redis installation path is D:\Redis redis-server.exe redis.windows.conf **If an error is reported creating server tcp listening socket 127.0.0.1 bind No error D:\Redis>redis-cli.exe 127.0.0.1:6379> shutdown not connected> exit redis-server.exe redis.windows.conf 2. Under Linux 1. Check the firewall and turn off the firewall        systemctl status firewal... »

Redis – three caching problems

 📢📢📢📣📣📣 hello! Hello everyone,I am【Yixin classmate】, a highly motivated【Blogger in the Java field]!😜😜😜 ✨【Yixin classmate】ofwriting style: Like to use【Easy to understand] to explain every knowledge point, rather than using [large and luxurious] official statement. ✨【Yixin classmate】 Blogfieldyes【Back-end technology oriented], we will continue to update more [Backend technology】as well as【Learning e... »

springboot uses redis

springboot uses redis redis-service.exe: server, do not close after startingredis-cli.exe: client, access data in redisredisclient-win32.x86_64.2.0.jar: redis graphical interface client, the execution method is to execute in the directory of this file java -jar redisclient-win32.x86_64.2.0.jar Or click in the directory of this jar package to execute it directly. Click server, click add, and set th... »

Page 1 of 30123»