background

At work, although I often use Netty library, but a lot of time some of the concepts of Netty is still in the know, do not know why, so the initiation of the idea of learning Netty source code. When I first began to look at the source code, naturally it was more painful, for two main reasons: first, there was no satisfactory net to find a detailed Netty source analysis tutorial; Second, I was also the first time to systematically learn such a large amount of code source code. Because of these two reasons, at first, the progress of looking at the code was very slow, and even wanted to give up, but in the end I was glad I could stick to it, and therefore learned a lot of valuable knowledge from Netty source code.

Below I will own in Netty source code learning process recorded, organized into a blog, with you to share exchanges, common learning. Due to my lack of knowledge, there are many mistakes in the article, I look forward to getting your suggestions and suggestions.

Finally, I forgot to mention that I use the Version of Netty: 4.0.33.final

PS. Accidentally made a clickbait, but as the title says, even if not the best, then try to be the best!

This series has been posted to my Github

directory

  • Netty source code analysis of the past and present life of Java NIO

    • A brief introduction to Java NIO’s past and present lives

    • Summary of NIO Channel in Java NIO

    • Java NIO Buffer

    • Java NIO Selector in detail

  • Netty source code analysis of zero sharpening does not mistakenly cut wood workers source code analysis environment

  • Netty source code analysis of a uncovered Bootstrap mystery red cap

    • Netty source code analysis of a reveal Bootstrap mysterious red cap (client)

    • Netty source code analysis: Bootstrap (server side)

  • Netty source code analysis of two through the main artery of Netty

  • Netty source code analysis of two through the main artery of Netty

  • EventLoop(一)

  • EventLoop(2)

  • Promise and Future: The Secret of Gemenon (to be continued)

  • Running Blood: ByteBuf(to be continued)

  • Handler postures (to be continued)

This article is published by Yongshun in his personal blog under the same way as the share 3.0 Mainland China license. Email: yongshun1228 @ gmail. Com this article entitled: source under no secret ─ ─ do best Netty tutorial source code analysis This article links to: segmentfault.com/a/119000000…