---
title: "关于nio和tomcat6的一些有用图示"
author: "wxyfighting"
date: "2013-06-10T13:01:00Z"
tags: []
slug: "nio-tomcat6"
draft: false
lastmod: "2013-06-12T14:33:44Z"
id: 1885635
url: "https://wxyfighting.iteye.com/blog/1885635"
---

nio不太好理解，tomcat6在nio方面做了不小的支持，从那里可以学习到如何用好nio，下面是几张在网上找到的关于nio的架构图，可以帮助理解

BIO与NIO的区别：

![](http://hi.csdn.net/attachment/201004/9/0_12708136532Q7t.gif)

tomcat 5与tomcat 6 的区别：

tomcat5:

![](http://hi.csdn.net/attachment/201004/9/0_1270813662Xd9B.gif)

tomcat6:

![](http://hi.csdn.net/attachment/201004/9/0_1270813672vlQ2.gif)