Goroutine 浅析

以下为 goroutine 学习过程中,搜索到的一些资料和一些思考,记录一下。

»
Author's profile picture omsobliga on goroutine and concurrency

Tornado 源码分析 - 异步篇

Tornado 所谓的异步就是: 你调用我之后,我发现数据没准备好,那我就不处理,而是跳到程序的其他地方继续执行,等数据准备好之后再切回来继续执行。Tornado 的 IOLoop 就是一个总调度器,汇总了所有的 events 和 callbacks,然后同步执行。 这会整体生提升性能,但不会降低单个请求的响应时间。

»
Author's profile picture omsobliga on tornado, reactor, and concurrency

Tornado 源码分析 - 基础篇

源码分析基于 Tornado 2.0 版本,2.0 版本时候 Tornado 的介绍还是:

»
Author's profile picture omsobliga on tornado and reactor

Libev 源码分析 - ev_io

Libev 是使用 Reactor 模型的实现的一个高性能事件循环库。它的主要实现包括:

»
Author's profile picture omsobliga on libev and reactor

浅谈 TCP

这篇文章介绍 TCP 理论,主要分为「TCP 连接,TCP 优化,TCP 重连」三个方面。看《TCP/IP 详解》 TCP 章节时候有些疑问,网上也搜到一些有价值的信息,整理后记录成文章,同时加深下自己的理解。 关于 TCP 实际应用 在这篇文章中介绍。

»
Author's profile picture omsobliga on tcp

编码

编码(豆瓣) 这本书从最基础的编码、电路、组合学来展开计算机的发展史,各内容之间的连接非常自然,只需有高中基础就可以理解书中内容。另外如果你对「为什么计算机采用二进制编码?」「内存和存储器之间的区别?」「为什么访问寄存器比访问内存快?」这些问题存在疑问,或许这本书会帮到你理解其本质。

»
Author's profile picture omsobliga on operating-system and books

UNIX 编程艺术

UNIX 哲学浓缩为一条铁律,那就是 KISS 原则:Keep It Simple, Stupid! 通俗地讲就是:一个程序只做一件事,并做好。

»
Author's profile picture omsobliga on unix and books

从 CGI、FastCGI、WSGI 角度来了解 Web 的发展

Web 技术发展这么多年,在用户看来只有两部分 HTTP request 和 HTTP response,即:发送请求和返回结果。那从服务器角度观察,在简单的 HTTP request 和 HTTP response 之间又进行了如何的处理实现?

»
Author's profile picture omsobliga on web

Welcome to Jekyll!

You’ll find this post in your _posts directory - edit this post and re-build (or run with the -w switch) to see your changes! To add new posts, simply add a file in the _posts directory that follows the convention: YYYY-MM-DD-name-of-post.ext.

»
Author's profile picture omsobliga on Thriller, Comedy, and Horror