The 1th chapter introduces the prerequisite knowledge and content summary of this course 1-1 Netty in-depth analysis 2nd Netty Basic components use a simple socket example to summarize the basic components of Netty, including Nioeventloop,channel, Bytebuf,pipeline,channelhandler2-1 A simple socket example 2-2 Netty for the socket abstraction 2-3 Netty Component Brief Introduction 3rd Netty Server Start Analysis Service end START process, Includes the creation of the service-side channel, initialization, and registration to the SELECTOR3-1 server to initiate the creation of the Demo3-2 service-side channel to create 3-3 service-side channel initialization 3-4 to register the SELECTOR3-5 service port binding 3-6 Server Launch Summary 4th NIOEVENTLOOP Analysis Netty reactor threading process, including event monitoring, event handling, general task handling and scheduled task handling 4-1 Nioeventloop Overview 4-2 Nioeventloop Create an overview 4-3 threadpertaskthread4-4 create Nioeventloop thread 4-5 Create a thread selector 4-6 nioeventloop start 4-7 nioeventloop Perform an overview 4-8 Detecting IO events 4-9 handling IO Events 4-10-reactor thread task Execution 4-11-nioeventloop summary 5th chapter New Connection Access analysis new connection access and binding reactor thread, binding to selector procedure 5-1 New Connection Access Overview 5-2 New connection detection 5-3 Niosocketchannel creation 5-4 channel classification 5-5 New connection Nioeventloop allocation and selector registration 5-6 Niosocketchannel Read Event registration 5-7 New Connection Access Summary 6th Chapter Pipeline Analysis Pipeline creation, initialization, adding and removing channelhandler, event propagation mechanism, exception propagation mechanism 6-1 pipeline Overview 6-2 Pipeline initialization 6-3 Add channelhandler6-4 Delete channelhandler6-5 Inbound event propagation 6-6 Outbound event Propagation 6-7 Exception propagation 6-8 Pipeline Summary .mp4 7th Chapter Bytebuf detailed analysis of byteBUF types, how to reduce multi-threaded memory allocation competition, how different size memory is allocated 7-1 memory allocation Overview 7-2 BYTEBUF structure as well as important api7-3 BYTEBUF classification 7-4 memory allocator Bytebufallocator Analysis 7-5 Unpooledbytebufallocator Analysis 7-6 pooledbytebufallocator Overview 7-7 Directarena The process of allocating direct memory 7-8 Introduction to memory specifications 7-9 cache data Structure 7-10 Allocation process for hit caches 7-11 arena, chunk, page, subpage concept 7-12 page level memory allocation 7-13 subpage level of memory allocation 7-14 BYTEBUF Recycling 7-15 Summary 8th Chapter Netty decoding detailed analysis Netty decoding principle, decoder abstraction, and several common decoders 8-1 Netty decoding overview 8-2 abstract decoder bytetomessagedecoder8-3 8-4-line decoder analysis based on fixed-length decoder 8-5 Analysis based on delimiter decoder 8-6 length domain decoder parameter analysis 8-7 length domain decoder analysis 8-8 Decoder Summary 9th Chapter Netty encoding and Writeandflush () Writeandflush propagation flow, encoder abstraction, Writeandflush detailed process 9-1 Netty encoding Overview 9-2 Writeandflush () abstract Step 9-3 Abstract Encoder messagetobyteencoder9-4 Write buffer queue 9-5 flush Buffer Queue 9-6 Summary 10th Netty Performance Optimization Tool class parsing detailed analysis Netty two performance optimization classes Fastthreadlocal and lightweight object pooling Recycler10-1 performance Optimization Tools class overview 10-2 Fastthreadlocal uses 10-3 Fastthreadlocal's creation and get () implementation 10-4 Fastthreadlocal's set implementation 10-5 recycler the creation of 10-6 recycler 10-7 Get Object 10-8 from recycler the same thread reclaims object 10-9 an object that is garbage collected 10-10 different thread reap object 10-11 Performance Optimization Tool class summary 11th Chapter Netty Design Pattern application analysis Various common design patterns and applications in Netty 11-1 Application of Singleton mode in Netty 11-2 strategy moduleApplication of the Netty inside the 11-3 decorator mode in Netty application of 11-4 Observer pattern within the Netty application 11-5 iterator mode application within Netty 11-6 responsibility chain mode application in Netty 12th Chapter Netty High-performance concurrency tuning system plane how to support millions of connections, how to improve application-level performance 12-1 Performance Tuning Overview 12-2 stand-alone million connectivity simulation and bottleneck 12-3 single-machine million connection tuning process 12-4 Netty application-level performance bottleneck 12-5 Netty Application level Performance Tuning process 13th Course Summary Review and summary of the course 13-1 Course review and summary : Baidu Network disk download
A deep analysis of the netty of Java reading source