五种网络IO模型

1 概述 网络IO的本质就是socket流的读取,一般一次IO读操做会涉及到两个对象和两个阶段。linux 两个对象分别是:web 用户进程(线程)Process(Thread) 内核对象 Kernel 两个阶段:网络 等待流数据准备(wating for the data to be ready); 从内核向进程复制数据(copying the data from the kernel to t
相关文章
相关标签/搜索