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
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
The systems used are Ubuntu 20.04 (64 bit) and Ubuntu 22.04 (64 bit)
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
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
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
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
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
for x in range(0, 35):
# y stan ...
Posted by paulsiew2 on Fri, 26 Aug 2022 00:29:49 +0300
I haven't done this for a long time. By the way, I was asked about it during the interview
Remove duplicate items
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
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
2.1 abstract concepts
2.2 abstract method
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