Log replication (propagation) of source code analysis RocketMQ DLedger

This article follows Log Addition Process for Source Analysis RocketMQ DLedger Continue Leader's process of handling client append requests, one of the most critical aspects: log replication. DLedger multi-copy log forwarding is implemented by DLedger Entry Pusher, which will be described in detail next. Warm Tip: Due to the length of this art ...

Added by TheIceman5 on Tue, 24 Sep 2019 06:45:21 +0300

[MySQL] SQL Statement Foundation

I. Operating databases 1.1 Create a database 1.2 View the database 1.3 Modification of database 1.4 Delete the database 1.5 Select Database II. Operational Tables 2.1 Create tables 2.2 View Table 2.3 Amendment Table 2.4 Delete tables III. CRUD Recording of Operational Table 3.1 INSERT 3.2 UPDATE 3.3 DELETE 3. ...

Added by Caesar on Mon, 23 Sep 2019 06:41:03 +0300

Linux Interprocess Communication (Pipeline, Named Pipeline, Message Queue, Semaphore, Shared Memory, Socket)

What is a process? In Linux system, process is the basic process to manage transactions. Processes have their own independent processing environment and system resources. The whole life of a process can be simply divided into three states: Ready state: The process has all the conditions for execution an ...

Added by faizanno1 on Sat, 21 Sep 2019 17:22:11 +0300

RT-Thread of IOT-OS--Inter-thread Synchronization and Inter-thread Communication

Previous blogs Synchronization and Communication between UCOS Tasks This paper introduces the synchronization mechanism between tasks, such as semaphores, mutexes, message mailbox and message queue, and the realization principle of communication mechanism between tasks. This paper mainly looks at the r ...

Added by geoffism on Sat, 21 Sep 2019 17:19:20 +0300

What about data structures and algorithms? I spent the whole night writing a maze game for my girlfriend.

Article directory cause Analysis Draw lines (chessboard) Painting maze Block movement epilogue First look at the rendering (online computer try address) http://biggsai.com/maze.html): cause It's late at night again. I've written data structures in public numbers as usual! It takes up a lot of ...

Added by ben.hornshaw on Sat, 21 Sep 2019 13:28:23 +0300

K-Mean Clustering of MapReduce (End)

KKK-Mean Clustering of MapReduce (End) In the last blog K-Mean Clustering of MapReduce (I) In this paper, the basic principle of KKK-means clustering algorithm is introduced, and then how to use MapReduce to implement KKK-means clustering algorithm is described. MapReduce solution The MapReduce solu ...

Added by ak_mypayday on Sat, 21 Sep 2019 11:03:09 +0300

Common Sorting Algorithms and Their Corresponding Time and Space Complexities

I organize Java advanced materials for free, covering Java, Redis, MongoDB, MySQL, Zookeeper, Spring Cloud, Dubbo, high concurrent and distributed tutorials, a total of 30G, need to collect. Portal: https://mp.weixin.qq.com/s/JzddfH-7yNudmkjT0IRL8Q   Sorting algorithms have evolved over a long period of time, resulting in many different ...

Added by pfchin on Fri, 20 Sep 2019 10:52:46 +0300

Twenty-five JavaScript Array Method Code Examples

ABSTRACT: Grasp the array method by code. Original text: Understanding and efficient use of array methods by implementing 25 array methods (long text, recommended collection) Translator: Front-end wisdom Fundebug Copyright shall be owned by the original author upon authorization to reproduce. To use methods on a given array, you just need to ...

Added by geebo on Fri, 20 Sep 2019 08:51:48 +0300

Summary of Java lookup algorithms

Preface Language: Java Environment: IntelliJ IDEA JDK Version: 1.8 Source code: GitHub Overview of Search Algorithms and Efficiency Analysis Algorithm name Time complexity Spatial complexity Sequential search O(n) O(1) Binary search O(log2n) O(1) Interpolation search O(log2(log2n)) O(1) fibonacci search O(log2n) O(n) In order t ...

Added by hexguy on Thu, 19 Sep 2019 12:48:58 +0300

Expression Tree Practice: Expression Tree Representation of C# Five Operators

Catalog Expression Tree Practice: C Operators First, arithmetic operators + and Add() - and Subtract() Multiplication, division and modularization Self increasing and decreasing 2. Relational operators ==,!=,>,<,>=,<= 3. Logical Operators &am ...

Added by deurwaarder on Wed, 18 Sep 2019 16:40:34 +0300