Teach you how to build a RocketMQ cluster from 0 to 1

Hello, I'm brother Jun. Today, let's share how to build a RocketMQ cluster. The environment used by the cluster in this paper is 2 virtual machines. The architecture is as follows: At 47.xx.xx XX and 39.xx.xx A Name Server and a Broker master node are respectively deployed on XX. The slave node is not built here. That is, the 2m n ...

Posted by maqmus on Sun, 28 Aug 2022 01:05:12 +0300

Redis advanced practice

Redis advanced practice transaction management Comparison between redis and mysql redis slow log queryredis high availability and cluster redis master-slave replication Synchronization mechanism**Master slave replication principle****Command propagation**SYNC and PSYNCConsistency of redis replication ...

Posted by ben2.0 on Sat, 27 Aug 2022 14:01:57 +0300

Docker tossing notes

The systems used are Ubuntu 20.04 (64 bit) and Ubuntu 22.04 (64 bit) Docker installation Docker program installation There are two ways to install Docker: one is to use the official script to install directly, and the other is to use apt to install according to the official tutorial I have tested both methods. Script installation is very con ...

Posted by Paavero on Sat, 27 Aug 2022 13:50:30 +0300

Day_ 8/23 (Talking about Reflection Concept)

Catalog Preface 1. Introduction of Reflection 2. Steps for using reflection 1. Get byte code object 1.1 What is a byte code object 3 ways to get byte code objects 2. Get construction methods, member methods, properties from byte code files 2.1 Get the construction method (Constructor class type) 2.2 Get Member Method (Method Class Type ...

Posted by ozzysworld on Fri, 26 Aug 2022 21:39:14 +0300

In python -- try except ion exception exception capture, regularization and replacement of exception values

1. Exception handling process Exception Name:describeBaseExceptionBase class for all exceptionsSystemExitInterpreter request exitKeyboardInterruptUser interrupts execution (usually enter ^ C)ExceptionBase class for general errorStopIterationThe iterator has no more valuesGeneratorExitAn exception occurs in the generator to notify the exitStand ...

Posted by mduran on Fri, 26 Aug 2022 02:54:37 +0300

DevSecOps | extreme fox GitLab dynamic application security test (DAST) user guide

DAST is the abbreviation of Dynamic Application Security Testing, that is, Dynamic Application Security Testing. It is a kind of application security testing, which corresponds to SAST and belongs to black box testing. Advantages of DAST Language independent Quickly discover those vulnerable vulnerabilities (XSS, SQL Injection, etc.) ...

Posted by crackfox on Fri, 26 Aug 2022 02:00:31 +0300

python loop keywords and lists

1, Nested loop comparison (code runtime management) In python, if we want to pursue the simplicity of the code, we need to understand that more code will take more time to run, which will reduce the work efficiency. Next, we observe the effect through python's time library import time start=time.time() for x in range(0, 35): # y stan ...

Posted by paulsiew2 on Fri, 26 Aug 2022 00:29:49 +0300

Supplementary record of sql basic syntax (to be continued 8 / 25)

I haven't done this for a long time. By the way, I was asked about it during the interview 1, distinct 1) Function Remove duplicate items 2) Grammar select distinct Column name from Table name; give an example Before use:(Here you can see that 3 repeat) select client ID from Orders; After use:(It can be seen here that onl ...

Posted by dlebowski on Thu, 25 Aug 2022 12:39:11 +0300

Basic java Lesson 8

catalogue 1, Specific contents 1.1 concept of polymorphism 1.2 polymorphic requirements 1.3 implementation steps of polymorphism 1.4 definition of polymorphism 2, abstract class reflection: 2.1 abstract concepts 2.2 abstract method 3, Interface 3.1 concept of interface 3.2 definition and use of interface 3.3 contents of interface ...

Posted by ramu_rp2005 on Thu, 25 Aug 2022 09:59:23 +0300

Classic sorting algorithm

Several common sorting algorithms are listed here: 1. Selective sorting, 2. Bubble sorting, 3. Insert sorting, 4. Merge sorting, 5. Quick sorting, 6. Heap sorting, 7. Count sorting, 8. Cardinal sorting. Catalog 1. Select Sort 2. Bubble sorting 3. Insert Sort 4. Merge Sort 5. Quick Sort 6. Heap Sorting 7. Count Sort O(N) 8. Cardinal Sor ...

Posted by slak on Thu, 25 Aug 2022 02:29:44 +0300