2017年3月17日

Java NIO (3) Buffer

摘要: Java NIO Buffer Java NIO Buffers are used when interacting with NIO Channels. As you know, data is read from channels into buffers, and written from b 阅读全文

posted @ 2017-03-17 17:54 水桶畅畅 阅读(160) 评论(0) 推荐(0)

Java NIO (2) Channel

摘要: Java NIO Channel Java NIO Channels are similar to streams with a few differences: You can both read and write to a Channels. Streams are typically one 阅读全文

posted @ 2017-03-17 17:45 水桶畅畅 阅读(140) 评论(0) 推荐(0)

Java NIO (1) Overview

摘要: Java NIO Overview Java NIO consist of the following core components: Channels Buffers Selectors Java NIO has more classes and components than these, b 阅读全文

posted @ 2017-03-17 17:42 水桶畅畅 阅读(139) 评论(0) 推荐(0)

Netty 4.x 用户手册

摘要: 前言 问题 现在我们使用通用的应用程序和库来进行通信,例如:我们通常用一个HTTP 客户端库通过Web service调用远程服务从一个web服务器上获取信息。然而,一个通用的协议或其实现有时候不能很好地扩展。这就好比我们不使用HTTP 服务器传输超大文件,电子邮件信息,和接近实时的信息,比如财务信 阅读全文

posted @ 2017-03-17 15:38 水桶畅畅 阅读(554) 评论(0) 推荐(0)

《Scalable IO in Java》笔记

摘要: 《Scalable IO in Java》笔记 Scalable IO in Java http://gee.cs.oswego.edu/dl/cpjslides/nio.pdf 基本上所有的网络处理程序都有以下基本的处理过程:Read requestDecode requestProcess se 阅读全文

posted @ 2017-03-17 10:47 水桶畅畅 阅读(171) 评论(0) 推荐(0)

导航