Rocketmq source code analysis - message retry and delay fault-tolerant logic in the Producer part

Problem point 1. What if the message fails to be sent (due to the network, the broker hangs up)? How does the sender achieve high availability? 2. How to select the message queue, that is, which message queue does the producer send messages to? 3. Why design a broker failure delay mechanism separately? Producer message retry When the produce ...

Added by dmcdivitt on Thu, 03 Feb 2022 03:28:38 +0200

C + + classes and objects (medium)

                catalogue Class Constructor characteristic Its characteristics are as follows Compiler default generated constructor Piecemeal knowledge Parameterless constructor call details      ​​​​ The following conflict scenarios may exist for all default and parameterless constructors reflection Destructor characteristic Com ...

Added by marcela1637 on Thu, 03 Feb 2022 02:34:32 +0200

Spring learning notes. The first spring program is hellosppring. Spring overview, IOC implementation analysis.

1. Spring overview 1.1 INTRODUCTION Spring: Spring - > brings spring to the software industryIn 2002, Rod Jahnson first launched the Spring framework prototype interface21 framework.On March 24, 2004, the Spring framework was redesigned based on the interface21 framework and released the official version of 1.0.It's hard to imagine R ...

Added by phpbeginner on Thu, 03 Feb 2022 01:01:12 +0200

Zero basic learning of python (type of Python + environment of Python + introduction to Python)

Contents of this chapter: Types of PythonPython environmentIntroduction to Python (interpreter, coding, pyc file, step input parameters, variables, input, process control and indentation, while loop)Exercises Types of Python Cpython The official version of Python is implemented in C language, which is the most widely used. CPython implement ...

Added by gchouchou on Wed, 02 Feb 2022 22:24:37 +0200

Multithreading learning note 03 thread status

Multithreading learning note 03 thread status brief introduction Creation status: Thread t = new Thread() once the thread object is created, it enters the new state;Ready state: when the start() method is called, the thread immediately enters the ready state, but it does not mean that the execution is scheduled immediately;Running state ...

Added by ccravens on Wed, 02 Feb 2022 20:41:38 +0200

Java Foundation (13) - Arrays class

catalogue 1, Arrays class summary Member method 2, Overview of basic types and packaging classes What is a basic type wrapper class Packaging classes corresponding to various basic data types Integer class 3, Conversion between String and int types int --> String String --> int 4, Automatic packing and unpacking of JDK5 Case ...

Added by nwoottonn on Wed, 02 Feb 2022 20:31:33 +0200

The routing Router in Vue is from 0 ~ 0.5 basic knowledge to use (the basic use that the back-end personnel need to master)

📑 Content of this article: from 0 ~ 0.5 basic knowledge to use of routing Router in Vue (basic use that back-end personnel need to master) 📘 Article column: Front end knowledge (knowledge points to be mastered at the back end) Front and rear end separation project (Vue + SpringBoot) 🎬 Last updated: January 29, 2022 Vue's life cycle entry to ...

Added by andylyon87 on Wed, 02 Feb 2022 20:00:19 +0200

Detailed explanation of C++STL: Simulation Implementation of string

Deep and shallow copy of string Before starting to simulate the implementation of the string class, let's talk about the deep and shallow copy of string In the previous study of classes and objects, we know that there is no problem using shallow copy (value copy) for Date classes like Date, but for classes like string, shallow copy cannot ...

Added by micbox on Wed, 02 Feb 2022 18:29:41 +0200

java learning notes week 3

catalogue 1, Abstract classes and interfaces 1. Abstract methods and abstract classes 2. Interface (key) 2.1 function of interface 2.2 how to define and use interfaces (jdk8 before) 2.3 define static methods and default methods in the interface (jdk8 later) 2.4 multi inheritance of interfaces 2, Detailed explanation of String class 1. ...

Added by phertzog on Wed, 02 Feb 2022 18:03:48 +0200

Python learning materials recommendation

I have been writing Python crawlers and python gadgets in my spare time for more than two years. Here I recommend some video tutorials and article tutorials that I think are better when studying. They are purely personal suggestions. Don't spray them if you don't like them catalogue Data section The best thing for self-study is to do it yo ...

Added by alfpalafox on Wed, 02 Feb 2022 17:29:14 +0200