AMQP Actual Warfare for Message Middleware 2

Instance Analysis Previously, we have read the documentation of AMQP, and have a general understanding of AMQP. This paper will go through the basic operation of AMQP from an example. Get ready Environmental Science RabbitMQ server 3.7.16 RabbitMQ client 5.7.3 The client code uses the RabbitMQ tutorial as follows: public static void main(String ...

Posted by klik on Sat, 22 Feb 2020 19:50:15 -0800

netty learning note 14 - TCP packet sticking and unpacking

Basic introduction of TCP packet sticking and unpacking TCP is connection oriented, flow oriented, and provides high reliability services. There should be one-to-one comparison of socket s on both sides of the transceiver (client and server). Therefore, in order to send multiple packets to the server ...

Posted by ProblemHelpPlease on Fri, 21 Feb 2020 00:06:39 -0800

About the Internet

To get back to basics, today I want to talk about those things about the Internet. I specially found some materials to learn notes. iocp is a classic model in Windows, which can be called all asynchronous communication, so I found a powerful example to learn and analyze. First look at the main API H ...

Posted by SalientAnimal on Thu, 20 Feb 2020 19:20:34 -0800

Run alicloud server again. Start from scratch. log change server

For the first time /usr/local stay Official website Download the latest version http://mirror.bit.edu.cn/apache/tomcat/tomcat-9/v9.0.31/bin/apache-tomcat-9.0.31.tar.gz [root@*** local]# pwd /usr/local [root@*** local]# wget http://mirror.bit.edu.cn/apache/tomcat/tomcat-9/v9.0.30/bin/apache-tomcat- ...

Posted by JacobYaYa on Thu, 20 Feb 2020 03:22:16 -0800

Multi-threaded and multi-process detail

I. Threads What is a thread? The basic unit of CPU scheduling and allocation. When the current thread CPU time slice is exhausted, it will cause the next operating system scheduling, such as CPU, to execute when it is its turn.The operating system does not allocate memory for threads, but groups of ...

Posted by sgarcia on Sun, 16 Feb 2020 17:43:28 -0800

Win32 process communication -- the use of mail slot

Post slot Mail slot is a one-way interprocess communication mechanism provided by Windows operating system, which can be used in single machine or multi machine distributed environment on network. For relatively short low-frequency messages, it is usually easier to use a mail slot than a named pipe o ...

Posted by supergrover1981 on Fri, 14 Feb 2020 05:56:33 -0800

Qualcomm MSM8937 dual DSI notes

Sketch The dual dsi function is supported on MSM8937. I tune it in MSM8937-android 6.0. The following is a brief introduction of its implementation ideas and key code fragments. There are two ways of dual screens supported by Qualcomm: one is to divide a picture equally on the left and right, and then ...

Posted by Doom87 on Fri, 14 Feb 2020 01:13:22 -0800

java architecture road - (netty topic) preliminary understanding of BIO, NIO, AIO

This time, we mainly talk about our IO blocking model. It's just not much, but we must understand that it's very important for us to understand netty later IO model elaboration IO model is to use what kind of channel to send and receive data. Java supports three kinds of network programming IO modes: BI ...

Posted by itsjames on Thu, 13 Feb 2020 04:37:40 -0800

Dynamic Expansion of Cloud Disk Data Volume Using Ali Cloud CSI Plugin

Using cloud disks to store volumes often requires a cloud disk of appropriate capacity when the service is initialized, but as data grows, the capacity of the data disk cannot meet demand and needs to be expanded. In the expansion scenario of traditional applications, it is often necessary to stop the application manually, back up the data disk ...

Posted by Peter Anselmo on Wed, 12 Feb 2020 17:36:09 -0800

Unpacking and solution of Tcp sticking package

Sticking and unpacking of Tcp 1.TCP is connection oriented, flow oriented, and provides high reliability services. There must be one pair of socket s at both ends of the transceiver. Therefore, in order to send multiple packets to the receiver more effectively, the sender uses the optimization method ...

Posted by jaiswal on Wed, 12 Feb 2020 09:03:53 -0800