Skip to content

Commit

Permalink
Add chapter one.
Browse files Browse the repository at this point in the history
  • Loading branch information
yongshun committed Oct 28, 2016
1 parent 05a65c6 commit feaccf0
Show file tree
Hide file tree
Showing 18 changed files with 864 additions and 0 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
在工作中, 虽然我经常使用到 Netty 库, 但是很多时候对 Netty 的一些概念还是处于知其然, 不知其所以然的状态, 因此就萌生了学习 Netty 源码的想法.
刚开始看源码的时候, 自然是比较痛苦的, 主要原因有两个: 第一, 网上没有和详尽的 Netty 源码分析的教程; 第二, 我也是第一次系统地学习这么大代码量的源码. 由于这两个原因, 最开始时, 看代码的进度很慢, 甚至一度想放弃了, 不过最后很庆幸自己能够坚持下去, 并因此从 Netty 源码中学到了很多宝贵的知识.

下面我将自己在 Netty 源码学习过程记录下来, 整理成博客, 与大家分享交流, 共同学习. 由于本人才疏学浅, 文章中难免有不少错误之处, 期待能得到大家的建议和斧正.

最后, 忘了提了, 我使用的 Netty 版本: **4.0.33.Final**
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 源码之下无秘密 ── 做最好的 Netty 源码分析教程


@(Netty)[Java, Netty, Netty 源码分析]

[TOC]


----------
## 背景
在工作中, 虽然我经常使用到 Netty 库, 但是很多时候对 Netty 的一些概念还是处于知其然, 不知其所以然的状态, 因此就萌生了学习 Netty 源码的想法.
刚开始看源码的时候, 自然是比较痛苦的, 主要原因有两个: 第一, 网上没有和详尽的 Netty 源码分析的教程; 第二, 我也是第一次系统地学习这么大代码量的源码. 由于这两个原因, 最开始时, 看代码的进度很慢, 甚至一度想放弃了, 不过最后很庆幸自己能够坚持下去, 并因此从 Netty 源码中学到了很多宝贵的知识.

下面我将自己在 Netty 源码学习过程记录下来, 整理成博客, 与大家分享交流, 共同学习. 由于本人才疏学浅, 文章中难免有不少错误之处, 期待能得到大家的建议和斧正.

最后, 忘了提了, 我使用的 Netty 版本: **4.0.33.Final**

PS. 不小心做了一次标题党, 不过正如标题所言, 即使不是最好的, 那也要尽力 **做到最好的**!

## 目录
### Netty 源码分析之 番外篇 Java NIO 的前生今世
### Netty 源码分析之 零 磨刀不误砍柴工 源码分析环境搭建
### Netty 源码分析之 一 揭开 Bootstrap 神秘的红盖头
### Netty 源码分析之 二 贯穿 Netty 的大动脉 ── ChannelPipeline
### Netty 源码分析之 三 我就是大名鼎鼎的 EventLoop
### Netty 源码分析之 四 Promise 与 Future: 双子星的秘密

0 comments on commit feaccf0

Please sign in to comment.