QA Official

Deep and Shallow RPC-Shallow and Shallow+Deep 2019-05-20
In recent years, service and Microservices have gradually become the mainstream of medium and large distributed system architecture, and RPC plays a key role in it.In normal daily development, we all use RPC implicitly or explicitly. Some programmers who have just entered the industry will find RPC mysterious. While some programmers who have many years of experience in RPC use have rich experience, some are also not very know clearly about its principle.

From C++ to Java (1) 2019-05-20
The first step is actually to download the software and construct the compilation environment, but it is very troublesome!!I won't talk about it, hehe. 1, the characteristics of Java 1. Simple.2. Object-oriented. 3. Platform independent (OS and processor (Central Processor)): When compiling C language and C++, different executable files will be formed for different platforms, so those compiled for platform A cannot be used for B.

From java to c 2019-05-20
1) Stack Area: Automatically Allocated and Released by CompilerGenerally store the parameter values of functions, the values of local variables, etc.2) heap area: allocated and released by programmers.If the programmer does not release it, the OS may recycle it after the program ends.3) Register area: used to store the stack pointer and instruction pointer4) Global area (static area): Global variables and static variables are stored together.Initialized and uninitialized are separate.After

Separate Front and Back Ends Use Token Login Solution 2019-05-20
This article writes about the login solution under the separation of front and back ends. At present, most of them adopt the form that the request header carries Token. stroke your thoughts before writing: When logging in for the first time, after the back-end server judges that the password of the user account is correct, a token is generated according to the user id, user name, defined secret key and

Simple Transition from c++ to java 2019-05-20
For people with C++ experience, learning java is not much different from learning C C++ mainly focuses on the application of class, which involves the inheritance of objects. However, for java, it simplifies the more complicated part about classes in c++. When C++ constructs dynamic data distribution, there are pointers in C, which can be said to be very disgusting, often causing system collapse and unclear data distribution. java is

Summary of Similarities and Differences between Java and C 2019-05-20
Java and C++ are both object-oriented languages, and both use object-oriented ideas (encapsulation, inheritance, polymorphism). Because object-oriented has many very good characteristics (inheritance, combination, etc.), the two have good reusability. Main Differences: 1. Java is interpretive language, and its running process is: the program source code is compiled into bytecode by Java compiler, and then interpreted and executed by JVM.While C/C++ is a compiled language, the source code is compiled and linked to generate executable binary code, which can be directly executed.

Synchronize mysql Data with canal 2019-05-20
scenario: There are two independent MySql databases A and B.There is a table named news in database A with three fields: 字段 type id INT title VARCHAR data LONGTEXT there are two tables in database b, news1 and news 2The news 1 field is as follows 字段 type id INT title VARCHAR news 2 fields are as follows 字段 type news_id INT data LONGTEXT If you want

The biggest difference between and c 2019-05-20
Java is not just a variant of C++, they are fundamentally different in some essential issues:(1) Java is more reliable than C++ programs.Some people have estimated that there is at least one BUG in every 50 lines of C++ programs.Let's not discuss whether this number is exaggerated, but any C++ programmer has to admit that the C++ language provides powerful functions while increasing the possibility of programs containing bugs.Java language

Thoroughly parse numpy's data types 2019-05-20
Thoroughly parse numpy's data types 1. Types and Their Conversion numpy, many of array's generating functions use the float64 data type by default: >>> a = np.ones((3, 3)) >>> a.dtype dtype('float64') However, for the construction method with the incoming parameter list, automatic type confirmation will be carried out as appropriate: >>> a = np.array([1, 2, 3]) >>> a.dtype dtype('int32') >>> a = np.array([1., 2., 3.]) >>> a.dtype dtype('float64') The generated

[RPC column] in-depth understanding of RPC protocol 2019-05-20
Original Link: Open Link The Hierarchy of Protocol in RPCprotocol in dubboProtocol in MotanSummaryProtocol is a very broad concept. RPC is called Remote Procedure Call. HTTP and TCP are also familiar protocols. Some people often compare RPC with RESTFUL, which can also be understood as a kind of protocol. Personally, I prefer to understand "protocol" as "agreement" between different users from different manufacturers. In RPC, the meaning of protocol is also multi-layered.