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
In the first part, the protocol format, message encoding and decoding, communication mode (synchronous / asynchronous / one-way), message sending / receiving and asynchronous callback of RocketMQ are introduced. This paper focuses on the Netty multithreading model of RocketMQ message queuing RPC comm ...
Posted on Sat, 06 Jun 2020 03:33:48 -0700 by carylson
Abstr: how to design RPC communication layer model is a key consideration for any MQ with strong performance
In the first part, the protocol format, message encoding and decoding, communication mode (synchronous / asynchronous / one-way), message sending / receiving and asynchronous callback of Rocke ...
Posted on Fri, 05 Jun 2020 22:04:29 -0700 by kelesis
Di ~ Di ~ Di ~, production accident, memory leak!
Yesterday afternoon, I suddenly received the message of operation and maintenance that the memory in the production environment of a system in the branch leaked, so I helped to check it.
The first step is to log
The exception log given by the branch is ab ...
Posted on Mon, 18 May 2020 20:57:27 -0700 by Skaara
The acquisition and handling of exceptions in ChannelHandler are realized by inheriting and rewriting the exceptionfault method. In this paper, we analyze the propagation of exceptionfault in ChannelPipeline
1. Propagation examples of outbound events
First, we continue to modify the previous code to simulate the propagation of abnormal events
Posted on Mon, 27 Apr 2020 03:45:39 -0700 by c4onastick
RestTemplate is a synchronous Http client request template tool. An abstraction of what the Spring framework does.
The official document address is as follows:
RestTemplate uses HttpUrlConnection by default, and the underlying execution engi ...
Posted on Wed, 22 Apr 2020 10:38:21 -0700 by tomwhalen
Internet of Things Devices
Wait and so on
Haikang camera, vehicle identification and other equipment
Red Gate Gate
Principle: Use JNI or JNA technology of java to invoke c driver to realize docking of device data.Distinguish deployment platforms ...
Posted on Sun, 05 Apr 2020 13:48:41 -0700 by romilbm
Consider a functional business that communicates in real time to a specified user in a web program
In the Socket communication functions used by the Web (e.g. online customer service), to ensure peer-to-peer communication, this seemingly simple channel will actually encounter a lot of problems based on the user finding the channel
Posted on Tue, 10 Mar 2020 09:55:26 -0700 by EPCtech
1, On the way of realization
1. Receive the 0x9101 command (real-time audio and video transmission request) issued by the platform
2. Analyze the 0x9101 command and get the IP and port number of the audio and video upload data server
3. Start to acquire each frame of video data of the device camera. ...
Posted on Fri, 06 Mar 2020 23:34:52 -0800 by suma237
BIO is a synchronous blocking mode. As long as there is a client access, the server will have a thread corresponding to it to communicate
Before, a common practice was to start a thread on the server to listen. When the supervisor heard that the client was connected, a new thread was set up to communicate with the client specially. If the t ...
Posted on Sun, 01 Mar 2020 00:15:37 -0800 by asukla