[Netty] decoder related: DelimiterBasedFrameDecoder

Article directory Preface Experimental code Follow up source code Inheritance relationship of DelimiterBasedFrameDecoder Property of DelimiterBasedFrameDecoder Analysis of construction method decode implementation Preface This section will take a look at the decoder that Netty provides to user ...

Posted by ATS16805 on Sat, 15 Feb 2020 06:11:08 -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

Rotate video using FFmpeg

I've been trying to figure out how to rotate video using FFmpeg. I'm using iPhone Video in portrait mode. I know how to use it MediaInfo (great library, by the way) determine the current rotation angle, but now I'm stuck with FFmpeg. According to my reading, you need to use the vfilter option. From what I see, it should look like this: ff ...

Posted by raymedia on Sun, 09 Feb 2020 03:08:04 -0800

Video decoding with ffmpeg

1. Tool preparation Computer Mac, development tool Android studio 3.4, compilation environment cmake 2. Development steps Create a new module project Create a new cpp folder and a new CMakeLists.txt file in the main directory cmake_minimum_required(VERSION 3.4.1) include_directories(../cpp/incl ...

Posted by vikela on Tue, 04 Feb 2020 10:20:14 -0800

[Netty learning notes] X. use of codec

Basic explanation Component design of Netty: the main components of Netty are Channel, EventLoop, ChannelFuture, ChannelHandler, ChannelPipe, etc. ChannelHandler acts as a container for application logic that processes inbound and outbound data. For example, to implement the ChannelInboundHandler inte ...

Posted by itsjareds on Wed, 29 Jan 2020 20:16:37 -0800

4.5 billion data migration records follow-up-to-day data volume levels of 10 million to clickhouse

4.5 billion data migration records follow-up-to-day data volume levels of 10 million to clickhouse Related Document Address flume Reference Address waterdrop Reference Address clickhouse Reference Address kafka Reference Address The environment log is on one server and the clickhouse cluster is on the other. thinking Previously, when m ...

Posted by gszauer on Mon, 20 Jan 2020 18:52:36 -0800

Feign call error: failed and no fallback available

timed-out and no fallback This error basically occurs in the Hystrix fuse. The function of the fuse is to determine whether the service can be connected. If it is connected, it doesn't matter. If the call exceeds the time limit within the specified time, it will return an error through the fuse. Generally, you can set one of the following confi ...

Posted by Simbachips on Thu, 16 Jan 2020 07:41:32 -0800

Using netty to build a simple http server

Article directory netty overview netty architecture model Manually rolling an http server Introducing netty into pom.xml Write netty server Operation test Summary netty overview Netty is a network programming framework based on java NIO encapsulation, which can help us develop network applicat ...

Posted by dubhcat on Mon, 13 Jan 2020 01:36:59 -0800

Handwritten MQ Framework - combing with netty transformation

1. Background Copy above Handwritten MQ Framework (3) - Client Implementation , which previously implemented mq as a server and client via the web, now plans to use netty to transform it.A while ago, I learned how to use netty (https://www.w3cschool.cn/netty4userguide/52ki1iey.html).There are probably some ideas. netty encapsulates the use of s ...

Posted by iankent on Thu, 02 Jan 2020 16:10:04 -0800

Java Web Learning note 2: generate picture verification code

First, create a Java Web project named identity, and create a new Servlet named IdentityServlet below it. If the project and Servlet will not be created, please refer to my notes in the previous section: https://blog.csdn.net/h2503652646/article/details/82555695 Here is the source code of IdentityServlet.java package com.test ...

Posted by tracivia on Tue, 31 Dec 2019 03:16:52 -0800