Complete custom message protocol design with Netty
Message Protocol
The concept of a message protocol sounds very tall, but what does a message protocol really mean?
Message protocol refers to how the data (messages) transmitted by both sides of the communication express their description.
For example, HTTP protocol, when a browser opens a web page, it first establishes a connection ...
Posted by explore on Tue, 09 Nov 2021 10:49:14 -0800
Redis data structure
Redis data structure
catalogueRedis data structureRedis multi databaseRedis basic operation commandsRedis general operation commandRedis core objectRedis database supports five data types:StringsHash (hash)List (string list)Set (string set)ZSet (ordered string set)
Redis multi database
Redis server has 16 databases (0 ~ 15). Database 0 is us ...
Posted by 1042 on Tue, 09 Nov 2021 10:47:22 -0800
Introduction to C + + novice-4
## Introduction to C + + novice -- 4
C + + storage class
C + + storage class: defines the range and life cycle of variables / functions in C + + programs include:
autoregisterstaticexternmutablethread_local
Didn't look at it in detail
C + + operator
Arithmetic operator
+,-,*,/,%,++,–
Relational operator
==,!=,>,<,> ...
Posted by pasychosheep on Tue, 09 Nov 2021 10:21:54 -0800
Talking about distributed unique IDs, this article is very real
Introduction to distributed unique IDThe globally unique id of a distributed system is a scenario encountered by all systems. It is often used in search and storage as a unique identification or sorting, such as the globally unique order number and coupon code of a coupon. If two identical order numbers appear, it will undoubtedly be a huge bug ...
Posted by samyl on Tue, 09 Nov 2021 10:18:29 -0800
Install NVIDIA graphics card driver on Ubuntu 18.04 through third-party warehouse PPA
As we all know, the graphics card driver of Ubuntu system is an open source graphics card driver. When configuring the Ubuntu deep learning workstation, we usually need to replace the open source graphics card driver with the official driver of NVIDIA.
According to the graphics card configuration of the workstation and the CUDA version required ...
Posted by AjithTV on Tue, 09 Nov 2021 10:15:33 -0800
linux firewall and iptables
introduce
What is a firewall
A firewall is a combination of hardware and software components located between the internal and external networks.`The primary purpose is to protect the security of data flow between the internal and external networks`,When an external network accesses an internal network, the packets sent must go through the ...
Posted by Peredy on Tue, 09 Nov 2021 09:50:07 -0800
The usage of this.$set in Vue can be used to modify an object in the array of objects and update data to the view
The moon at night, thinking of those who missprefaceRecently, I'm writing about the vue project arranged by the teacher. To tell the truth, I really jump across Baidu, google, bing and other search engines repeatedly every day. Otherwise, I'll search the Nuggets, think about it, and have a look at CSDN. My front-end grew up eating a hundred mea ...
Posted by Usagi on Tue, 09 Nov 2021 09:45:13 -0800
Palindromes 2021-11-08
Determine whether an integer is palindrome
Title Description: Source: LeetCode 09 palindromes Give you an integer x, if x is a palindrome integer, return true; Otherwise, return false.
Palindrome numbers refer to integers whose positive order (left-to-right) and reverse order (right-to-left) are read the same. For example, 121 is palindrome a ...
Posted by Kol on Tue, 09 Nov 2021 09:09:23 -0800
Ideas for designing high performance react components
For a high-performance react component, it is important to reduce redrawing and rearrangement, server rendering, and so on.
In a react application, the logic is organized as a react component, which splits the UI into separate, reusable components. Then the component performance optimization is maliciously considered from the perspective of co ...
Posted by ehhwan on Tue, 09 Nov 2021 08:38:34 -0800
boost::process Porting Notes
Recently, I wanted to be a process manager, because I was learning boost during this time, so I chose boost::process, but after a while I found that the compilation error under VC2010.
The reason is that many C++11 grammars are used in process, and 2010 support is incomplete.
So, here are the transplant notes.
Don't tell me that VC2019 ca ...
Posted by woocha on Tue, 09 Nov 2021 08:12:48 -0800