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
✨ The author introduces: Hello, everyone. I'm pangdudu, the king of fishing. You can call me Xiaodu 💕 ✨ Author home page: Fishing king chubby personal blog home page 🎉 🎈 Author's gitee: Small bit_ Doodle's personal gitee 🎈 Series column: [from 0 to 1, roam the world of c language] ✨ Xiao Du studies and makes progress with ...
Posted by blkraven on Fri, 05 Aug 2022 21:31:35 +0300
Sequential implementation of queues
typedef struct{
int data[MaxSize];
int front,rear;
} SqQueue;
For the initialization of the sequence queue, front points to the queue head element, and rear points to the next position of the queue tail element, that is, the next position that should be inserted.
void Init(SqQueue q){
q.front=0 ...
Posted by natbrazil on Fri, 01 Jul 2022 21:46:43 +0300
catalogue
1. Simple right and wrong judgment
2. Yanghui triangle
1. Simple right and wrong judgment
Five athletes participated in the 10m platform diving competition. They were asked to predict the result of the competition: Player A said: B second, I third; Player B said: I'm second, E is fourth; Contestant C said: I am the first and ...
Posted by ruuyx on Wed, 25 May 2022 01:28:23 +0300
catalogue
1, WIFI module (ESP-01S)
1. Basic information about the module
2. AT instruction
1) Understanding concepts
2) Common AT commands of ESP-01S
3. Programming
1) Configure ESP-01S as Client
📓 How to debug the program? - White box test
2) Configure ESP-01S as Server
2, 4G wireless communication module (EC03-DNC)
1. Basic inform ...
Posted by kml2katz on Tue, 24 May 2022 12:23:44 +0300
I. Introduction
I recently worked as an intern in a company and spent three weeks working on an indoor positioning algorithm (rudimentary, not yet optimized) to realize the joint writing and debugging of matlab and C. The author believes that the difficulty lies in the various operations of the matrix. In C++ There is Eigen library available. E ...
Posted by manchuwok on Sun, 22 May 2022 14:49:52 +0300
Project introduction
This is a daemon framework under Linux
For the purpose of project optimization and learning to master and use X Macro skills, this project skillfully uses X Macro to write a daemon management framework that can expand the number of processes arbitrarily and pass parameters.
This code is extremely concise and easy to use. If ...
Posted by LukeO on Sun, 22 May 2022 04:59:18 +0300
1, Functions to be implemented by the module
Implementation function: count the access times of each ip address and display the corresponding html. (what's the use of this function? It can be made into a black-and-white list according to the statistics of the number of times. For those with more visits, access is prohibited)
In the conf f ...
Posted by social_experiment on Sun, 22 May 2022 01:31:06 +0300
8x8 lattice
Display principle
The LED dot matrix screen is composed of several independent LEDs, which are arranged in the form of matrix
The structure of LED dot matrix screen is similar to that of nixie tube, which only arranges the pixels of each column in an "8" shape
Like the nixie tube, LED dot matrix screen has two connecti ...
Posted by hoogie on Fri, 20 May 2022 23:08:03 +0300
Stack
What is a stack?
Stack is a kind of linear table.
It only allows the insertion and deletion of elements at the fixed end.
The one end for data insertion and deletion is called the top of the stack and the other end is called the bottom of the stack.
Therefore, the stack addition and deletion elements have what we often call last ...
Posted by beboo002 on Fri, 20 May 2022 00:43:56 +0300