Latest Articles

From registers to user state and kernel state

Key words: register, ring0, ring3, kernel state, user state The register is an important part inside the CPU. The register is composed of N flip-flops inside, and each flip-flop can save 1 bit of binary number, so the 16-bit register can save 16 bits. CPU generally has multiple registe ... More >>

Web Performance Optimization - Performance Metrics

In the past, most tools only used loading performance as a web performance metric, but poor performance can happen at any time, not just during loading. Applications that don't respond quickly to clicks, don't scroll smoothly, or have stuttering animations can all lead to a poor experience. Users ca ... More >>

In-depth Understanding of Redis Data Structures - Dictionaries

A dictionary, also known as a symbolic table, associative array, or mapping, is an abstract data structure used to hold key-value pairs. In a dictionary, a key can be associated with a value, and these associated keys and values are called key-value pairs. The keys in a key-value pair are unique, a ... More >>

FluentD vs FluentBit - Which log collector to choose?

Tools like Fluentbit and Fluentd make log management more efficient by centralizing log data from multiple sources and providing the ability to monitor and analyze it all in one place. Log management is the practice of collecting, storing, analyzing, and monitoring log data from various ... More >>

DFS & BFS, the two most basic algorithms in the traversal method

DFS(Depth first search)The following is a concrete example to understand. As shown in the figure, in a nine-box diagram, the green position represents the starting position, the red position represents the end position, the gray area and the border of the box diagram represents this road is not avai ... More >>

Do you really understand babel-polyfill?

babel only does syntax conversion for JS syntax, but not for new JS APIs, such as Map, Set, Promise and other global objects. babel cannot convert methods on global objects, such as the new ES6 Array.find method 1. targets ... More >>

Illustration of how Git works

This article illustrates the most common commands used in Git. If you have a little understanding of how Git works, this article will help you understand it more thoroughly. Basic usage The four commands above copy files between the working directory, the staging directory ... More >>

Talking about database row and column storage

A good number of people first learn about databases as relational databases, where data is stored in tables, with one row representing one record. In fact, this is a typical Row-based store, which stores tables on disk partitions by rows. And some databases also support Column-based st ... More >>

Use of the Fibonacci series in financial modeling and analysis

​The Fibonacci series is a sequence of numbers in which each number is the sum of the two preceding ones, usually starting with 0 and 1. The sequence goes as 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, and so on. The Fibonacci sequence is named after the Italian mathematician Leonardo of Pisa, who was also kno ... More >>

Distributed system design patterns, which ones have you used?

1.Bloom filter Bloom filter is a space-saving probabilistic data structure for testing whether an element is a member of a collection or not. It is used in scenarios ... More >>