• Stars
    star
    3,546
  • Rank 12,511 (Top 0.3 %)
  • Language
    Java
  • Created about 11 years ago
  • Updated almost 8 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Netty learning.

Netty源码解析

Netty是Java世界知名的网络应用框架。本系列文章是Netty的源码导读。

为什么要读Netty源码?

我认为,一般研究Netty源码出于两个原因:

  1. 日常工作中使用到Netty,想要进一步了解;
  2. 对Java网络编程感兴趣,想知道如何构建一个高性能网络应用。

另外,Netty的代码组织比较优秀,从中可以学到代码结构组织的方法。

这些文章讲什么?

本系列文章的介绍点包括:Netty的设计思想,网络编程的领域知识,以及Netty代码结构的骨干,可能也会包括一些具体场景的应用以及一些特性的分析。

==========

文章索引

一、Netty的架构

1.概述

2.Netty中的buffer

3.Channel中的Pipeline

4.Netty与Reactor模式

5.分门别类讲讲Handler 未完成

二、Netty中的特性与细节

1.理解Netty中的异步

三、Netty实战

1.构建一个socks proxy

=========

其他学习资料:

《Netty代码分析》 by 阿里中间件团队博客: http://jm-blog.aliapp.com/?p=423

《netty从入门到精通》: http://cqupt123.iteye.com/blog/1682657

@kafka0102的《Netty实现原理浅析》http://www.kafka0102.com/2010/06/167.html

@OneCoder的《Java NIO框架Netty教程》: http://www.coderli.com/category/open-source/distributed/netty

twitter关于3.0与4.0中Channel Event的说明: https://blog.twitter.com/2013/netty-4-at-twitter-reduced-gc-overhead

@章炎-友盟的博客: http://dirlt.com/netty.html

@李林锋hw的大作: Netty5.0架构剖析和源码解读.pdf

使用Netty的开源项目:

  • Dubbo

    阿里巴巴的RPC中间件。支持Netty和Mina。

  • Finagle

    Twitter的RPC中间件。使用Scala编写。

  • Norbert

    LinkedIn的RPC中间件。使用Scala编写。

  • Moco

    基于Netty的HTTP MOCK服务器。

协议:

相关代码遵循Apache V2协议。

文档遵循CC-BYNC协议。

Bitdeli Badge

More Repositories

1

webmagic

A scalable web crawler framework for Java.
Java
11,370
star
2

tiny-spring

A tiny IoC container refer to Spring.
Java
4,037
star
3

jsoup-learning

Jsoup学习笔记。添加了部分学习代码和注释。
Java
636
star
4

xsoup

When jsoup meets XPath.
Java
464
star
5

hello-design-pattern

Hello world using all 23 kinds of GoF design patterns.
Java
390
star
6

blackhole

A simple unrecursive DNS server. It can easily be configured to intercept some kind of request to one address.
Java
242
star
7

os-learning

一个Java码农的Linux内核学习
C
23
star
8

hostd

Tools to custom your domain resolved rules. Used BlackHole as DNS server.
JavaScript
19
star
9

lucene-learning

Lucene learning.
14
star
10

pdnsd

fork of pdnsd https://gitorious.org/pdnsd
C
14
star
11

netty-servlet

A tiny servlet container using netty.
Java
13
star
12

spring-learning

Spring源码阅读笔记,针对2.5.6
Java
12
star
13

mocksocks

A socks proxy for network monitor.
Java
12
star
14

express.java

A tiny RESTful web framework with embed server. Used as instead of JMX for cross-language communication.
Java
12
star
15

moonlink

A short url service based on OpenResty and redis.
Lua
10
star
16

jsocks

Socks server in Java. Mirror of jsocks in googlecode. Change builder from ANT to maven.
Java
10
star
17

labpages

Pages hooks for gitlab.
Ruby
8
star
18

blackhole-bin

Binary distribution backup of blackhole
Shell
7
star
19

FizzBuzzWhizz

Practice in OOP for thoughtworks quiz FizzBuzzWhizz.
Java
5
star
20

termblog

My oschina blog with jsterm.
Java
5
star
21

classic-algorithms

classic algorithms implements by Java. Just for practice.
Java
5
star
22

tavern

根据jar包进行Web项目模块化与集成的工具。
Java
5
star
23

monkeysocks

A socks proxy in Java. It can be used to record network traffics and replay them for tests.
Java
5
star
24

freemarker-learning

Freemarker 学习笔记。
Java
5
star
25

imgcrawler

imgcrawler是一个把电商网站的搜索结果抓取过来并且集中到网页展示的工具,用途?不晓得,其实这是一个培训的作业,因为实现的比较完整,就给传上来了。
5
star
26

code4craft.github.com

Life is to explore.
HTML
4
star
27

wifesays

Wifesays is a socket listener in Java program. It listens what wife says and notify all the workers!
Java
4
star
28

abc

'A'nother 'B'ean 'C'opier.
Java
4
star
29

reviewbot

gitlab防呆小工具,自动帮你修正2B代码。
JavaScript
4
star
30

soa-research

SOA环境下服务治理的研究。
3
star
31

xpathmagic

A chrome plugin to get XPath of elements.
3
star
32

groovy-learning

Practice codes in groovy
Groovy
3
star
33

tinycat

A tiny web container refer to Tomcat
3
star
34

leetcode

Solutions for https://oj.leetcode.com/
Java
3
star
35

bigdata-learning

3
star
36

forger

Dynamic Java object generator with template class and configuration.
Java
3
star
37

dp-idea

Idea plugin for dianping.
Java
3
star
38

coursera

Just coursera notes.
2
star
39

exciting

A chrome plugin to watch your new stars! Exciting!
JavaScript
2
star
40

java-facilities

Examples of java facilities. Such as JVM serializers, template engines.
Java
2
star
41

MemoriesOn

记录见识的地方,类似 http://see.sl088.com/
2
star
42

jdk-learning

Java 并发学习导论。
Java
2
star
43

daogen

Dao generator for java.
JavaScript
2
star
44

codecraft

codecraft repo
Java
2
star
45

mockmoon

A simple lua extension based on openresty. I can mock specific file to specific url.
Lua
2
star
46

ibatis-plugin

iBATIS plugin is aimed to accelerate iBATIS development in IntelliJ IDEA. Mirror of https://code.google.com/p/ibatis-plugin .
Java
2
star
47

js-learning

1
star
48

gugugua-dianconvertor

gugugua-dianconvertor is a simple tool to convert diandian backup xml file to wordpress xml file. Now only support text type file.
Groovy
1
star
49

phantomJava

A headless WebKit scriptable with a Java API.
1
star
50

dp-alfred-workflow

Alfred workflow for dianping.
1
star
51

sqlparser

A simple sqlparser.
Java
1
star
52

mocksocks-html

Web panel of mocksocks with fashional front end techs.
JavaScript
1
star
53

csapp-learning

深入理解计算机系统读书笔记
1
star
54

war4e

@deperated, see jetty-runner http://www.eclipse.org/jetty/documentation/current/jetty-runner.html
Java
1
star
55

my-tech-radar

我的新技术雷达。
1
star
56

textmagic

Textmagic is a text extractor with a powerful expression language to config.
Java
1
star
57

hessian-blacklist

Hessian2中一些无法正常序列化/反序列化的类。
Java
1
star
58

hello-ai

1
star
59

spring-practice

My spring best practice.
Java
1
star
60

imcaptcha

Captcha by image distortion.
Java
1
star