Springboot integrates Redis as the secondary cache of Mybatis

Article reprint statement: please attach a link to the original text for reprint 0. Environmental preparation The following is my local environment: SpringBoot2.3.x Mybatis3.x Redis5.x Set up a redis environment on the local machine or server, and start it successfully! Here I use redis5.x deployed on Aliyun student computer IDEA2020.x, E ...

Posted by nikes90 on Sat, 07 May 2022 18:42:13 +0300

Django foreign key serializer and front and back end cases

preparation 1. Create django project and Application Create project: Django admin startproject project project name Create sub application: Python manage Py startapp sub app name 2. Project configuration INSTALLED_APPS = [ 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions' ...

Posted by Zeceer on Fri, 06 May 2022 15:07:52 +0300

Messaging middleware - JMS and ActiveMQ

JMS and ActiveMQ JMS (Java Messaging Service) is a technical specification for message-oriented middleware on the Java platform. It is actually a set of APIs, which facilitates the exchange of messages between Java applications in the message system and provides standard generation, sending, and receiving messages. The interface simplifies the ...

Posted by mamoman on Wed, 04 May 2022 17:59:46 +0300

The most complete RocketMQ learning guide, which is the necessary middleware skills for programmers

1, Introduction RocketMq is a message oriented middleware developed by Alibaba and donated to Apache. It is introduced on the official website as follows: Apache RocketMQ™ is a unified messaging engine, lightweight data processing platform. RocketMQ is a unified message processing engine and a lightweight data processing platform. Low de ...

Posted by syamswaroop on Tue, 03 May 2022 03:34:27 +0300

Source code analysis of distributed DBLE network module

Author: Lu LuTechnical people who love technology and are willing to share. At present, they are mainly engaged in the research of database related technology.Source: original contribution*It is produced by aikesheng open source community. The original content cannot be used without authorization. For reprint, please contact Xiaobian and indica ...

Posted by MitchEvans on Sat, 30 Apr 2022 11:02:41 +0300

Source code analysis of distributed DBLE network module

Author: Lu Lu Technical people who love technology and are willing to share. At present, they are mainly engaged in the research of database related technology. Source: original contribution *It is produced by aikesheng open source community. The original content cannot be used without authorization. For reprint, please contact Xiaobian and ind ...

Posted by BlueKai on Sat, 30 Apr 2022 08:43:34 +0300

Actual combat--distributed id number generator

After many rounds of interviews, Xiaolin finally entered the infrastructure team of an Internet company. Currently, Xiaolin has used the architecture team in the company to research the distributed id generator. I looked at its internal implementation a while ago. It is found that there are still some unreasonable architectural design. However, ...

Posted by Richzilla on Fri, 29 Apr 2022 23:47:52 +0300

Release confirmation of message middleware RabbitMQ

4. Release confirmation 4.1 release confirmation principle The producer sets the channel to confirm mode. Once the channel enters the confirm mode, all messages on the channel will be assigned a unique ID (from the beginning). Once the message is delivered to all matching queues, the broker will send an acknowledgement to the producer (i ...

Posted by Vibralux on Mon, 18 Apr 2022 15:07:07 +0300

Arthas actual combat record

1, Arthas basic knowledge 1. What can be done? Arthas is an open source Java diagnostic tool of Alibaba. It adopts the command-line interaction mode and provides rich functions. It is a sharp tool for troubleshooting jvm related problems. When visiting github, I found this sharp weapon. After in-depth understanding, it was amazing. Here are s ...

Posted by rajah on Sun, 17 Apr 2022 19:00:06 +0300

Process - Rocket MQ message sending

preface Before explaining message sending in depth, we can briefly summarize the main steps of message sending, which can be divided into: message verification, routing query, selecting message queue, message assembly, message sending, message result processing and exception processing; (one way sending does not process the message sending res ...

Posted by Pyro on Tue, 12 Apr 2022 03:36:57 +0300