Set up eureka,gateway,admin,redis,docker series. Redis and redisapi are together
This chapter covers the redis interface Aspect signature swagger2
1. Install redis on Linux centOS server. Go to the Internet for specific installation commands. It's relatively simple. I used the config set maxmemory policy volatile LRU policy
2. Create an empty module project
Add pom dependency
<dependencies>
<dependency> ...
Posted by l00ph0le on Thu, 26 Mar 2020 16:09:58 +0100
Spring Boot integrates Redis and JavaMailSender to realize mailbox registration
Opening chapter
Today's websites basically have the function of email registration. After all, they can send users some spam recommendations on a regular basis It is very important.
To get back to the point, first of all, we need to make a few points clear
==What information do you need for email registration? = =
Basic: email address, passwo ...
Posted by N-Bomb(Nerd) on Wed, 25 Mar 2020 17:59:45 +0100
Java integrated Alibaba fish platform SMS service sends verification code to mobile phone
Click to go to: Alibaba big fish - error code of SMS interface call (error reason and handling method)
Previous: Alibaba big fish SMS service - sending verification code and SMS notice
User registration -- SMS verification code (Java integrated Alibaba big fish SMS service)
1, analysis
2. Back end code
2.1. Alibaba big fish tool class (smutil ...
Posted by yoost on Wed, 25 Mar 2020 16:10:09 +0100
CentOS7.X installs Redis-4.0.8 and builds Redis clusters
My personal website
Install redis
Preparation before installation
yum install \
vim \
wget \
make \
gcc \
gcc-c++ \
automake \
autoconf \
-y \
Download, unzip and install
cd /root
wget http://download.redis.io/releases/redis-4.0.8.tar.gz
tar -zxzf redis-4.0.8.tar.gz
cd redis-4.0.8
make PREFIX=/usr/local/redis/ install
Create the data file ...
Posted by chrisv on Tue, 17 Mar 2020 12:24:00 +0100
spring source 07: import tag parsing
This section introduces the analysis of import tag, which is used to introduce new resource files, such as redis, jdbc and other configuration files for a spring.xml. It is mainly to introduce the idea of recursive loading to the readers, including the idea that the beans tag also uses recursion, but be ...
Posted by ehask on Sat, 14 Mar 2020 18:06:46 +0100
Redis - using Gearmand as mysql cache server
Redis - using Gearmand as mysql cache server
Article directory
Redis - using Gearmand as mysql cache server
1. What is gearland?
2. Deployment process
3. test
1. What is gearland?
Gearmand is a machine used to delegate work to other machines, distributed calls are more suitable for doing a c ...
Posted by onedumbcoder on Fri, 13 Mar 2020 07:53:45 +0100
Taodong e-commerce project (25) - portal registration function
Introduction
The code of this article has been submitted to Github (version No.: 0bc0c9f7be8c3a9c64b2e9efec94f55ed8b1a334). Students who are interested can download it to have a look: https://github.com/ylw-github/taodong-shop
In the last section Taodong e-commerce project (24) - access to verifica ...
Posted by Daguse on Mon, 09 Mar 2020 10:10:22 +0100
Redis as a single machine cache usage recommendation
Preface
Prepare to introduce redis as a single machine cache in the project because the cache middleware used in the original project cannot be used in the native Kirin operating system.
Configuration optimization recommendations
Configure the redis service to start the daemon
Redis does not run as a daemon by default, it can run in th ...
Posted by MK27 on Tue, 03 Mar 2020 02:44:07 +0100
Thousands of duplicate submissions in an instant, and I'm holding them with SpringBoot+Redis
In actual development projects, an exposed interface often faces a large number of requests submitted in an instant. If you want to filter out duplicate requests and cause harm to your business, you need to achieve power!
Let's explain the concept of idempotency:
Any multiple executions will have the same impact as a single execution.In ...
Posted by Sheen on Sat, 29 Feb 2020 05:01:13 +0100
[shopping mall seckill project] - use mathematical graphic verification code to limit current
Seckill interface address hiding can prevent malicious users from calling the interface frequently to request operations, but it can't prevent robots. The ticketing software can still click the button frequently to request the seckill address interface maliciously
In the scenario of high concurrency ...
Posted by mikem562 on Wed, 26 Feb 2020 07:13:13 +0100