Docker Compose: deploy SpringBoot applications (including mysql, redis, Nacos and rabbitmq)

catalogue preface Docker Compose installation, common commands and template files To use Docker Compose Deploying SpringBoot applications using Docker Compose 1. Operation configuration requirements 2. Containerized SpringBoot application 3. SpringBoot dependency service script  devecimag-docker-compose-env.yml Parameter variable env ...

Posted by jesseledwards on Sat, 16 Apr 2022 22:12:46 +0300

Spring Boot demo Series: Redis cache

1 Overview This article demonstrates how to use Redis as a cache in Spring Boot. The specific contents include: Environment construction Project construction test 2 Environment Redis MySQL MyBatis Plus 3. Redis installation Redis installation is very simple. Take Manjaro as an example and install it directly in paru: paru -S redis Ubuntu, ...

Posted by rainerpl on Sat, 16 Apr 2022 04:57:19 +0300

Online education business notes

Online education business notes 03 - lecturer banner management module 1, New banner micro service 1. Create a sub module service CMS under the service module 2. Generate banner code using code generator 2.1. Alicloud address of sql file https://cor2022314.oss-cn-beijing.aliyuncs.com/guli_cms.sql 2.2. Mybatis plus code generator package cod ...

Posted by BobLennon on Thu, 14 Apr 2022 01:59:45 +0300

Python redis usage (notes)

Introduction to the use of Python redis (see how to use it through the source code) redis is a key value database. Value supports string, list, set, Zset, hash and other types. 1. Install and start redis 1.1 install with brew 1. Check whether Redis is installed in the system brew info redis This command will display the redis informa ...

Posted by bharrison89 on Wed, 13 Apr 2022 07:01:56 +0300

Detailed explanation and deployment of Redis master-slave replication and sentinel mode under Centos

Detailed explanation and deployment of Redis master-slave replication and sentinel mode under Centos This article will introduce the Redis master-slave replication and sentinel mode, and then set up the master-slave replication and sentinel modes with the help of different ports of a single host The actual production environment requires ...

Posted by Awestruck on Tue, 12 Apr 2022 08:47:16 +0300

Redis has three other special types

reids launched geo location in version 3.2 The function of calculating the geographical distance between people in the two places can be used to calculate the geographical distance between people in the two places! Related commands: Adding data rules: two levels cannot be added directly, and can be imported at one time through java program ...

Posted by Crazy Horse on Tue, 12 Apr 2022 05:06:51 +0300

Notes on building big data components

1, Hadoop fully distributed deployment (1) Configure network, firewall and NTP Select VMnet8 for network adapter, VMnet8 for virtual network editor, and ip192 for subnet 168.196.0Configure IP address vi /etc/sysconfig/network-scripts/ifcfg-ens33 BOOTPROTO=static ONBOOT=yes IPADDR=192.168.196.101 (virtual machine IP (address) NETMASK=255.255. ...

Posted by alpachino on Mon, 11 Apr 2022 07:56:59 +0300

It may be the first project using RediSearch in the whole network

Actual project address newbeemall , RediSearch is integrated. The open source code has been uploaded. If it is supported, you can click star ­čśüRediSearch It is an application developed based on Redis that supports secondary index, query engine and full-text search. In version 2.0, take a brief look at the official website test report:Index const ...

Posted by johnsiilver on Wed, 06 Apr 2022 19:35:54 +0300

Redisson distributed lock quick start tutorial

Qingming has nothing to do at home, and can only stay at home because of the Shanghai epidemic. It suddenly occurred to me that I planned to write a Redisson distributed lock quick start tutorial. I can only use it easily at work, so the article may be relatively simple. I hope the boss will not spray it. This article is also used as a personal ...

Posted by adam1984 on Tue, 05 Apr 2022 16:15:44 +0300

redis of distributed lock implementation

Reprint address: https://xiaomi-info.github.io/2019/12/17/redis-distributed-lock/ 1, Introduction When we modify existing data in the system, we need to read it first, then modify and save it. At this time, it is easy to encounter concurrency problems. Since modification and saving are not atomic operations, some data operations may be lost i ...

Posted by abazoskib on Tue, 05 Apr 2022 12:29:29 +0300