• Notes
  • Introduction
  • ApiAndDoc
  • Platform
  • Process
  • Repository
  • SUMMARY
  • Website
  • 【 Article 】
    • CleanCode
    • Font
    • FreeBook
    • HistoricalBias
    • Memorandum
    • NotCode
    • ReadBook
    • Science
    • UnReadBook
  • 【 Blog 】
    • Blog
    • Java
    • Server
    • Solution
    • View
  • 【 Database 】
    • Experience
    • MangoDB
    • MySQL
    • MySQLAdvance
    • Oracle
    • OraclePerformances
    • PostgreSQL
    • Redis
    • SQL
    • SQLServer
  • 【 FrontEnd 】
    • 【 FrontEnd/Frame 】
      • LayUI
      • Vue
    • 【 FrontEnd/Node 】
      • NodeJS
    • Hexo
    • JavaScript
    • LearnPS
    • ResponseCode
    • ViewSolution
  • 【 Functional 】
    • Clojure
    • FPBase
    • Groovy
    • Kotlin
    • Scala
  • 【 Go 】
    • GoBase
    • GoDatabase
    • GoRestful
  • 【 Java 】
    • 【 Java/AdvancedLearning 】
      • Annotation
      • ClassFile
      • Collection
      • Concurrents
      • ContinuousIntegration
      • Deploy
      • Exception
      • ExtendsAndInterface
      • Generics
      • GrammarAndType
      • IO
      • JDBC
      • JMS
      • Java7
      • Java8
      • JavaDatabase
      • JavaPerformance
      • JavaReleaseVersion
      • JavaTest
      • MultipleLanguage
      • ProgramThinking
      • Reflect
      • Socket
      • Thread
      • Web
      • WebPerformance
    • 【 Java/Framework 】
      • Activiti
      • Blade
      • Guava
      • Hibernate
      • JPA
      • JXls
      • Kafaka
      • Mybatis
      • Netty
      • POI
      • Querydsl
      • Struts
      • Vertx
    • 【 Java/MSA 】
    • 【 Java/Spring 】
      • Spring
      • Spring5
      • SpringBoot
      • SpringBoot2
      • SpringCloud
      • SpringMVC
      • SpringMessageQue
      • SpringSecurity
      • SpringWebFlux
      • SpringbootDatabase
      • Transactional
    • 【 Java/TemplateEngine 】
      • Thymeleaf
    • 【 Java/Tool 】
      • Gradle
      • IDEA
      • Jetty
      • Lombok
      • Maven
      • PyCharm
      • SBT
      • Tomcat
    • AlibabaJavaStandard
    • EE
    • JavaSE
    • Log
    • MIS
    • RESTful
    • ZenOfPattern
  • 【 Linux 】
    • 【 Linux/Alpine 】
      • AlpineBase
    • 【 Linux/Arch 】
      • Manjaro
    • 【 Linux/Base 】
      • LinuxBase
      • LinuxCommand
      • LinuxFile
      • LinuxNet
      • LinuxPerformance
      • LinuxProblem
      • ReleaseExperience
      • Ssh
    • 【 Linux/Centos 】
      • CentosBase
    • 【 Linux/Container 】
      • Docker
      • DockerFile
      • DockerSoft
      • Kubernetes
    • 【 Linux/Debian 】
      • Debian
      • Ubuntu
    • 【 Linux/Tool 】
      • Nginx
      • Vim
      • Zsh
    • 【 Linux/Vcs 】
      • GitAction
      • GitBase
      • GitTeam
      • Svn
    • JavaDevInit
  • 【 MyBlog 】
    • 【 MyBlog/Problem 】
      • shared-libiraries
    • 2018-3-15-install-deepin
    • why-put-netty-in-tomcat
  • 【 Python 】
    • Python
    • PythonGUI
    • PythonGame
    • PythonNet
    • PythonWeb
  • 【 Reactive 】
  • 【 Script 】
    • Dos
    • ShellLearn
  • 【 Skills 】
    • 【 Skills/CS 】
      • Arithmetic
      • CharacterEncoding
      • Computer
      • Concurrent
      • Network
      • Profile
      • WebSecurity
    • 【 Skills/Document 】
      • MarkDown
      • RequirementsDocument
    • 【 Skills/Ecology 】
      • MSA
    • 【 Skills/FrameWork 】
      • JavaBoot
    • 【 Skills/Soft 】
      • Terminal
      • VirtualBox
    • 【 Skills/Spider 】
      • SpiderBase
    • 【 Skills/Test 】
      • Hamcrest
      • Junit
      • Junit5
      • TestNG
      • TestTheory
    • 【 Skills/Work 】
      • InterviewSkill
      • PomodoroTechnique
      • WorkThinking
    • AppManual
    • CelebrityQuotes
    • CodingThinking
    • Problem
    • RegularExpression
    • SoftwareDesignEngineer
  • 【 Windows 】
Powered by GitBook

Netty

目录 start

  • Netty
    • 原理
      • 编解码相关
        • Protobuf
    • 使用
      • 源码
      • 配置环境

目录 end |2018-07-11| 码云 | CSDN | OSChina


Netty

trustlinNetty mina 的作者

Netty4.x官方文档 Netty权威指南

  • 为什么选择Netty作为基础通信组件?
  • Reactive Extension (Rx) Adaptor for Netty

原理

Netty核心组件
Netty 编解码技术 数据通信和心跳监控案例
Netty 拆包粘包和服务启动流程分析
Netty序章之BIO NIO AIO演变

Netty构建游戏服务器(一) 有原理图
Netty高性能开发备忘录

编解码相关

更多

Protobuf

Protobuf基础 | Netty中的使用案例

要搭配处理半包的解码器

  1. 使用 ProtobufVarint32FrameDecoder
  2. 继承自 LengthFieldBasedFrameDecoder
  3. 继承自 ByteToMessageDecoder 自己处理

使用

部分内容参考自 Netty权威指南第二版

手淘、微博一直钟情的 Netty框架是个什么鬼? 对于Netty的十一个疑问
NettyServer与SpringBoot集成
Netty NIO 框架性能压测-短链接-对比Tomcat

源码

官方Demo Netty实战配套源码 Netty权威指南2 源码

配置环境

results matching ""

    No results matching ""