[redis5 source code analysis] analysis of dump of redis command
Grape
Official documents
DUMP keySerialize a given key and return the serialized value, which can be deserialized to the Redis key using the RESTORE command.The values generated by serialization have the following characteristics:
It has a 64-bit checksum for error detection, and RESTORE checks the checksum before deserializing it.
The encodi ...
Posted by shinyo on Thu, 19 Sep 2019 20:31:49 -0700
Portable Notes for AWTK WEB Edition - Base
Compiling a hello world written in C into a web version is easy, and there are many examples on the web.Writing such an example is necessary to get us started quickly, but the actual project is much more complex. Here we will introduce some basic knowledge of emscripten and highlight the problems encountered during the migration of AWTK, in the ...
Posted by dreams4000 on Wed, 11 Sep 2019 16:50:02 -0700
Introduction to python Basics
## Statement: Individual learning arrangement, for reference only
Basic grammar
Note: Identify "#", triple double quotation mark ", comment content".
Line and indentation: Statements with four spaces hanging indentat ...
Posted by ljschrenk on Tue, 10 Sep 2019 20:55:13 -0700
OVS DPDK VXLAN Tunnel Treatment
Before learning about the implementation of OVS VXLAN, let's review how traditional VTEP devices handle VXLAN messages. As shown in the following figure:
After the vxlan message enters the switch port, the vxlan tunnel is terminated according to the message header information. After the end of the tunnel, overlay mapping is carried out accordi ...
Posted by neilybod on Mon, 09 Sep 2019 21:31:56 -0700
Introduction to Redis and Simple Operations
Introduction to Redis
Redis is a key-value-oriented memory database for data types, which can meet our needs for fast reading and writing of massive data.
Is a nosql non-relational database
Redis keys can only be string-type values that can be of ...
Posted by billynastie on Mon, 09 Sep 2019 06:05:01 -0700
Analysis of IO Multiplexing and Event Mechanism in redis
baiyan
Introduce
Read this article before reading: Analysis of the Way to Improve the Performance of Server Concurrent IO from Network Programming Foundation to epoll To better understand the content of this article, thank you.We know that when we use redis, we can get the data returned by the redis server by sending a get command from the clie ...
Posted by laide234 on Sun, 01 Sep 2019 01:09:34 -0700
Better command line tree tools in Chinese
Explain
Tree is an open source tool that supports Linux, Windows, and other operating system platforms. It can be installed directly in Linux sudo apt install tree.On the Windows platform, this command is published in the Cygwin environment and can be selected and installed in the bin path of Cygwin when selecting Package through Cygwin's insta ...
Posted by Remote4ever on Thu, 29 Aug 2019 19:35:18 -0700
Topological Sorting of Directed Acyclic Graphs: Greedy Algorithms
Articles Catalogue
1. Directed acyclic graphs (DAG)
2. Topological Sorting
2.1 Concept of Topological Sorting
2.2. Basic Ideas of Topological Sorting
3. Realization of Topological Sorting
3.1 Realization of Adjacency Table of Directed Graph
Ad ...
Posted by Blekk on Fri, 23 Aug 2019 02:30:37 -0700
Demo Parsing C for Face Recognition#
Summary
Whether you notice it or not, face recognition has entered the corner of life, nails have supported face punching, real-name authentication of railway stations has increased self-verification channels for face, not to mention the "smart city" and intelligent brain built by various cities. In the field of face recognition, it i ...
Posted by tomc_1 on Mon, 19 Aug 2019 02:21:07 -0700
libevent binding, listening, reading and writing data
1. Binding and listening
In the previous article, epoll was used as an example to talk about the event mechanism, which calls init and dispatch callback functions in sequence. However, we recall the process of network programming. First, you need to create sockets, bind sockets, listen for sockets, but so far it has not been involved. Looking a ...
Posted by bengaltgrs on Thu, 15 Aug 2019 20:28:11 -0700