[Netty] Netty core component (analysis of the two-way linked list of ChannelHandlerContext in ChannelPipeline)

Article catalog 1, Code example analysis 2, ChannelHandlerContext double linked list type 3, Analysis of bidirectional linked list in Pipeline / ChannelPipeline 4, Data inbound and outbound Next blog [Netty] Netty core component (Pipeline | ChannelPipeline) Content, in debug debugging, detailed an ...

Posted on Sun, 07 Jun 2020 01:58:43 -0700 by hank__22

Spring cloud project restart gracefully: tomcat closes the process

This article mainly talks about the process of tomcat "rough stop" and several key information in the solution. The detailed solution steps will be in the following articles. Overall structure Let's take a look at the overall architecture of Tomcat to get a general understanding of the relationship between Tomcat components:Source:&lt ...

Posted on Sat, 06 Jun 2020 22:58:32 -0700 by HalfaBee

Tomcat startup process (how to accept the connection)

Let me take a look at the whole structure related to the connection part: Through the previous introduction, the server.xml Through the Digester to create the structure of the entire container, we will review the previous content. Some contents in the createStartDigester method (here create a Connec ...

Posted on Sat, 06 Jun 2020 01:37:27 -0700 by Jacquelyn L. Ja

Spring's injection methods of Bean

catalog Registration method Bean to register Specific implementation 1. Register through configuration XML 2. Register through @ Bean 2. Dynamic injection through Beanfactory summary appendix Registration method Register via configuration XML Register with @ Bean Injection through Beanfact ...

Posted on Fri, 05 Jun 2020 22:14:16 -0700 by Grant Holmes

java socket programming for client and server to receive information

java socket programming for client and server to receive information #Learning Notes/Programming/socket tcp/IP Four-Layer Model Link Layer: Data Physical Layer, Optical Fiber, Network Cable, etc. Network layer: Used to group transmitted data and assign it to the appropriate computer or port Tran ...

Posted on Thu, 04 Jun 2020 12:45:15 -0700 by anf.etienne

Python 3 remote Linux server executes commands and uploads and downloads files

1, Introduction Paramiko is based on SSH to connect to the remote server and perform relevant operations (SSHClient and SFTPClinet, i.e. remote connection, upload and download service). The module can be used to command or operate files on the remote server. It is worth mentioning that the internal remote management of fabric and ansible is rea ...

Posted on Wed, 03 Jun 2020 07:20:10 -0700 by joe1986

The modified character set code of MySQL 5.6 under Linux is UTF8 (to solve the problem of Chinese code scrambling, it can be used for personal test!)

The modified character set code of MySQL 5.6 under Linux is UTF8 (to solve the problem of Chinese scrambling) 1, Log in to MySQL to view SHOW VARIABLES LIKE 'character%'; the following character set is displayed as follows:+--------------------------+----------------------------+ | Variable_name | Value | +--------------------------+---------- ...

Posted on Sat, 30 May 2020 22:14:46 -0700 by Bob Norris

How MySQL master-slave synchronization architecture is built

Catalog I. Preface 2. About MySQL Master-Slave Synchronization 3. Deployment Planning 3.1 Server Planning 3.2 Database Catalog Planning 4. Preparation Tools 5.4 Use Universal Binary Package to install MySQL on four machines (node7 as an example) 5.1 Upload MySQL Universal Binary Installation Package to Noe7/usr/local/src directory 5.2 Unz ...

Posted on Wed, 27 May 2020 21:17:41 -0700 by acac

Detailed explanation of important concepts of kafka and key configuration of cluster

Key concepts broker A broker is an instance of kafka, which is responsible for receiving, forwarding and storing messages. kafka cluster is composed of multiple brokers. topic kafka's topic is a logical concept, which is to group and classify messages, so as to distinguish and process messages of different business logic. The index concepts in ...

Posted on Wed, 27 May 2020 04:56:38 -0700 by mustang

[linux] C language Linux system programming socket development

struct sockaddr_in serv_addr; 1. Define the structure variable. The structure is a data type, so you can use it to define variables 2.struct structure name variable name;   (struct sockaddr*)&serv_addr 1. Structure pointer, which can also point to a structure 2. The format of casts is: (type ﹐ name) expression 3. Address character &, g ...

Posted on Sun, 17 May 2020 09:04:27 -0700 by billspeg