NAT network address translation
NAT: network address translation
IPV4 address: ABCDE5 categories Among them, ABC three types are unicast addresses - which can be used as either source IP address or target IP address There is also a distinction between private and public ip addresses in ABC addresses Public IP address: it is globally unique and can be used for communication o ...
Posted by Paul Arnold on Fri, 26 Nov 2021 23:12:15 +0100
Transmission control protocol TCP
Transmission control protocol TCP
The ultimate purpose of transport layer protocol is to provide reliable end-to-end transmission of data
TCP is a connection oriented protocol, because it will initiate a formal connection before transmitting data to track the delivery of data packets. When the transmission is about to end, he will officiall ...
Posted by google_man2000 on Fri, 26 Nov 2021 04:32:22 +0100
Network programming AIO
Introduction to AIO model
AIO (Asynchronous I/O) asynchronous non blocking model supports AIO since java jdk.17. The AIO model needs the support of the operating system. The biggest feature of AIO is asynchronous capability, which works on socket and I/O.
Different from the NIO model, a read-write operation is taken as an example, just ...
Posted by Simon180 on Thu, 25 Nov 2021 21:20:41 +0100
[consolidate the foundation of java] network programming, I read it and said it was good
Three elements of network programming
Protocol: TCP/UDP IP address Port number
TCP
TCP: transmission control protocol. TCP protocol is a connection oriented communication protocol, that is, before transmitting data, establish a logical connection between the sender and the receiver, and then transmit data. It provides reliable error ...
Posted by josemi on Thu, 25 Nov 2021 01:31:03 +0100
Essential for small projects: SpringBoot Actuator - embedding point and monitoring
In the project, I saw the buried point monitoring, report and log analysis. I'm a little interested and want to make some trouble slowly
1. Data embedding point
Monitor the performance of the machine environment and various data such as business processes or logic, and generate corresponding indicators according to these data, then we ca ...
Posted by MikeyNoedel on Wed, 24 Nov 2021 10:10:29 +0100
Easily complete a distributed transaction TCC, nanny level tutorial with Java
What is TCC? TCC is the abbreviation of Try, Confirm and Cancel. It was first proposed by a paper entitled Life beyond Distributed Transactions:an Apostate's Opinion published by Pat Helland in 2007.
TCC composition TCC is divided into three stages
Try phase: try to execute, complete all business checks (consistency), and reserve necessary bu ...
Posted by mdemetri2 on Tue, 23 Nov 2021 21:05:16 +0100
Using wireshark to capture chat information and get started with Crawlers
1. Chat preparation
1. Turn off your computer's firewall
2. Turn off unnecessary virtual networks and other unnecessary Ethernet, leaving only a network chat channel
3. Connect two computers to the same mobile hotspot and open the crazy chat program
2 chat a ...
Posted by fiddlehead_cons on Sat, 20 Nov 2021 20:59:04 +0100
Simple understanding of JUC concurrent programming
JUC concurrent programming
Packages involved
java.util.concurrent java.util.concurrent.atomic java.util.concurrent.locks java.util.function The essence of concurrent programming: making full use of CPU resources
JUC
Common thread code
ThreadRunnable has no return value, and its efficiency is relatively lower than that of Call ...
Posted by parag on Fri, 19 Nov 2021 18:14:06 +0100
The third pass of red sun range
The third pass of red sun range
1, Environment configuration
Open the virtual machine image to the suspended state and take a snapshot at the first time. Some services are not self started and cannot run automatically after restart.
Suspended status, account has been logged in by default, centos In order to get out of the network machine and ...
Posted by phuggett on Thu, 18 Nov 2021 17:17:03 +0100
Weekly leetcode - realize the basic functions of binary search tree
Data structure and algorithm website recommendation:
http://520it.com/binarytrees/ http://btv.melezinek.cz/binary-search-tree.html https://www.cs.usfca.edu/~galles/visualization/Algorithms.html https://yangez.github.io/btree-js https://www.codelike.in
1. Add node to binary search tree: add(E element)
public class BinarySearchTree<E ex ...
Posted by blackhawk08 on Wed, 17 Nov 2021 05:37:54 +0100