netty series: Please love UDT again

brief introductionUDT is a very excellent protocol, which can provide high-speed data transmission based on UDP protocol. Unfortunately, in netty 4.1.7, the UDT transport protocol has been marked as Deprecated!This means that you may never see the UDT protocol in the later netty versionHow can excellent protocols be buried? Let's unveil UDT, sh ...

Posted by alphamic on Wed, 26 Jan 2022 01:39:02 +0100

Netty framework learning -- HTTP/HTTPS application based on netty

Secure applications via SSL/TLS SSL and TLS security protocols are superimposed on other protocols to achieve data security. To support SSL/TLS, Java provides javax net. SSL package, its SSLContext and SSLEngine classes make the implementation of decryption and encryption quite simple. Netty implements this API through a ChannelHandler calle ...

Posted by tmed on Tue, 25 Jan 2022 03:10:09 +0100

Netty learning notes netty advanced-1

preface The notes are based on black horse's Netty teaching handout and some of my own understanding. I think it's very good in the videos I've seen. There's basically no nonsense. Video address: Black horse Netty Sticky bag and half bag 1. Sticking phenomenon Since sticky packets have been introduced in the Nio concept before, I won ...

Posted by bharrison89 on Sun, 23 Jan 2022 17:42:14 +0100

Netty framework learning - codec framework

Codec Each network application must define how to parse the original bytes transmitted back and forth between two nodes and how to convert them to and from the data format of the target application. This conversion logic is processed by a codec, which consists of an encoder and a decoder, each of which can convert a byte stream from one form ...

Posted by SieRobin on Sun, 23 Jan 2022 16:55:41 +0100

Netty framework learning -- preset ChannelHandler and codec

Netty provides many preset codecs and processors for many, which can be used almost out of the box, reducing the time and energy spent on cumbersome affairs Idle connections and timeouts Detecting idle connections and timeout is very important for releasing resources. Netty specifically provides several ChannelHandler implementations ...

Posted by brain on Sat, 22 Jan 2022 20:53:50 +0100

Simple analysis of Netty server startup process source code

Introduction: Netty is a client-side and server-side programming framework based on NIO. It provides asynchronous and event driven network application framework and tools to quickly develop high-performance and reliable network server and client programs analysis: package com.yxj.netty.server; import io.netty.bootstrap.ServerBootstrap; im ...

Posted by barffyman on Wed, 19 Jan 2022 00:09:53 +0100

Netty learning notes NIO basics-2

1. Preface Notes: Netty teaching based on dark horse, video address: Black horse Netty 2. Network programming (single thread) 1. Block When there is no data readability, including data replication, the thread must block and wait, which will not occupy the cpu, but the thread is equivalent to idleA 32-bit jvm has 320k threads and a 64 ...

Posted by wkoneal on Sun, 16 Jan 2022 22:58:44 +0100

Distributed theme - netty04 of NIO framework - high performance way of netty core

preface In this section, we explore the core source code of Netty. Netty is divided into seven sections: 01 Java IO evolution path02 Netty and NIO's past and present life03 Netty's first experience of reconstructing RPC framework04 Netty core high performance05 great artery Pipeline and EventLoop of netty core06 Netty's actual handwritte ...

Posted by mrbaseball34 on Sat, 15 Jan 2022 19:29:08 +0100

Netty quick start

This article mainly introduces how to learn and know Netty quickly. You can also understand it as learning introduction and quick start. It is strongly recommended that you collect this article for future reference. Netty netty It is a high-performance, elastic and extensible asynchronous event driven network application framework based on NI ...

Posted by coder500 on Mon, 10 Jan 2022 23:36:21 +0100

Netty thread lifecycle

@Author: zxw @Email: 502513206@qq.com 1.java thread life cycle People who know java threads should know that java threads have the following five states public enum State { // The state when the thread is created, and the thread has not been created in the operating system at this time NEW, // The thread is ready or runnabl ...

Posted by elum.chaitu on Thu, 06 Jan 2022 04:30:40 +0100