A Java big cow combined his own business and platform's accumulated experience in Netty practice over the years and summed up "Netty Advanced Road: Follow Case Study Netty".

Write in front

Netty is currently the most widely used Java open source asynchronous framework in the industry. The Netty framework can significantly lower the threshold for asynchronous development, allowing developers to focus on business logic and avoid dealing with complex underlying communication mechanisms and thread models, so that asynchronous applications can be developed simply and quickly. Today, more and more domestic companies are using Netty to build applications, and the number of developers using Netty is increasing.

As the Netty application continues to deepen, everyone will encounter various problems in the process of using it. But compared to the popularity of Netty, there are few learning resources about Netty on the market.

So there is a Java master who combined his own business and platform experience accumulated in Netty practice for many years, and wrote this book. This book is guided by problem cases. Through the analysis of the cases, the principles behind the problems are explained, combined with Netty source code analysis, so that readers can truly master Netty and make fewer mistakes in actual work. In the process of case analysis, Netty's problem location ideas, methods, techniques, and related tools used to solve problems were also interspersed with explanations. "Teaching people to fish is worse than teaching people to fish." Use Netty with confidence.

"Netty Advanced Road: Follow the Case Study of Netty"

This book is suitable for architects, designers, development engineers, test engineers, and other related reading interested in Java NIO framework and Netty.

The content classification of this book mainly includes:

  • 1. Netty start and stop
  • 2. Netty memory
  • 3. Netty's concurrent multithreading
  • 4. Netty performance
  • 5. Netty's reliability
  • 6. Netty security
  • 7. Netty practice
  • 8. Netty learning

The cases in the book cover most of the commonly used functions of Netty, as well as the places that are easy to make mistakes, and are versatile and universal. Studying these cases is very helpful and enlightening for the good use of Netty in actual business work. In addition, while explaining the Netty framework itself, it will also intersperse some background knowledge introduction, such as Java semaphore and elegant shutdown mechanism, Java NIO class library, HTTP protocol stack, etc. Knowledge is interrelated, and it is difficult to master higher-level knowledge without solid basic knowledge.

Through the study of this book, I hope that the majority of Netty beginners and enthusiasts can enter the advanced stage faster and better, make good use of Netty in the project, and create more value for the business. Forward + follow, and then add my VX: tkzl6666 to get the free way to receive the PDF version of "Netty Advanced Road: Follow the Case Study of Netty".

Chapter 1: Netty server exit unexpectedly

  • 1.1 The Netty server exits unexpectedly
  • 1.2 Netty graceful exit mechanism
  • 1.3 Summary

Chapter 2: Netty Client Connection Pool Resource Leakage Case

  • 2.1 Netty connection pool resource leakage problem
  • 2.2 Netty client creation mechanism
  • 2.3 Summary

Chapter 3: Netty memory pool leak suspected cloud case

  • 3.1 Netty memory pool leak problem
  • 3.2 Netty memory pool working mechanism
  • 3.3 Summary

Chapter 4: ByteBuf troubleshooting case

  • 4.1 HTTP protocol stack ByteBuf usage problem
  • 4.2 Netty ByteBuf implementation mechanism
  • 4.3 Summary

Chapter 5: Netty send queue backlog case

  • 5.1 Netty send queue backlog case
  • 5.2 Netty message sending working mechanism
  • 5.3 Summary Chapter 6: API Gateway High Concurrency Stress Test Performance Fluctuation Case
  • 6.1 Highly concurrent stress test performance fluctuation problem
  • 6.2 Netty message intervention memory request mechanism
  • 6.3 Summary

Chapter 7: Netty ChannelHandler Concurrency Safety Case

  • 7.1 Netty ChannelHandler concurrency security issues
  • 7.2 Working mechanism of Netty ChannelHandler
  • 7.3 Summary

Chapter 8: Cases where the Internet of Vehicles server cannot receive messages from the vehicle terminal

  • 8.1 The problem that the car networking server cannot receive the vehicle terminal message
  • 8.2 NioEventLoop thread working mechanism
  • 8.3 Summary Chapter 9: Netty 3.X version upgrade case
  • 9.1 Netty 3.X version upgrade Beijing
  • Data tampering problem after 9.2 version upgrade
  • 9.3 Context loss problem after upgrade
  • 9.4 The application encounters performance degradation after the upgrade
  • 9.5 Analysis of Netty Thread Model Changes
  • 9.6 Summary

Chapter 10: Netty concurrency failure causes performance degradation cases

  • 10.1 Business ChannelHandler cannot be executed concurrently
  • 10.2 Netty DefaultEventExecutor working mechanism
  • 10.3 Summary

Forward + follow, and then add my VX: tkzl6666 to get the free way to receive the PDF version of "Netty Advanced Road: Follow the Case Study of Netty".

Chapter 11: A Case Study of Performance Tuning for Lot Million Long Connections

  • 11.1 Challenges Faced by Massive Long Connection Intervention
  • 11.2 Memory Leakage of Smart Home
  • 11.3 Tuning operating system parameters
  • 11.4 Netty performance tuning
  • 11.5 JVM related performance optimization
  • 11.6 Summary

Chapter 12: Cases of performance degradation caused by improper static inspection and modification

  • 12.1 Severe performance degradation of Edge Service
  • 12.2 Cloning and shallow copy
  • 12.3 Summary
  • Chapter 13 Netty Performance Statistics Misunderstanding Cases
  • 13.1 Problems related to delay glitch troubleshooting
  • 13.2 Netty Key Performance Indicator Collection Strategy
  • 13.3 Summary

Chapter 14: Netty HTTP/2 Practice Cases of gRPC

  • 14.1 Getting started with gRPC basics
  • 14.2 gRPC Netty HTTP/2 server working mechanism
  • 14.3 Working mechanism of gRPC Netty HTTP/2 client
  • 14.4 gRPC message serialization mechanism
  • 14.5 gRPC threading model
  • 14.6 Summary

Chapter 15: Cases of Improper Use of Netty Trigger Strategies

  • 15.1 The channelReadComplete method is called multiple times
  • 15.2 Summary of some misunderstandings used by ChannelHandler
  • 15.3 Summary

Chapter 16: Netty traffic shaping application case

  • 16.1 Netty traffic shaping function
  • 16.2 Netty traffic shaping application
  • 16.3 Netty traffic shaping working mechanism
  • 16.4 Summary

Chapter 17: Netty SSL Application Case

  • 17.1 Introduction to Netty SSL Function
  • 17.2 Netty client SSL handshake timeout problem
  • 17.3 SSL handshake performance issues
  • 17.4 SSL event monitoring mechanism
  • 17.5 Summary

Chapter 18: Netty HTTPS server high concurrency downtime

  • 18.1 Netty HTTPS server down problem
  • 18.2 Reliability optimization at the functional level
  • 18.3 Reliability optimization at the architectural level
  • 18.4 Summary

Chapter 19: MQTT service access timeout case

  • 19.1 MQTT service access timeout problem
  • 19.2 Reliability design based on Netty
  • 19.3 Summary

Chapter 20 Netty Practice Summary

  • 20.1 Netty practice summary
  • 20.2 Netty fault location skills
  • 20.3 Summary

Forward + follow, and then add my VX: tkzl6666 to get the free way to receive the PDF version of "Netty Advanced Road: Follow the Case Study of Netty".

Guess you like

Origin blog.csdn.net/JavaBUGa/article/details/109259065