Click here to edit contents of this page.
Click here to toggle editing of individual sections of the page (if possible). Watch headings for an "edit" link when available.
Append content without editing the whole page source.
Check out how this page has evolved in the past.
If you want to discuss contents of this page - this is the easiest way to do it.
View and manage file attachments for this page.
A few useful tools to manage this Site.
See pages that link to and include this page.
Change the name (also URL address, possibly the category) of the page.
View wiki source for this page without editing.
View/set parent page (used for creating breadcrumbs and structured layout).
Notify administrators if there is objectionable content in this page.
Something does not work as expected? Find out what you can do.
General Wikidot.com documentation and help section.
Wikidot.com Terms of Service - what you can, what you should not etc.
Wikidot.com Privacy Policy.
nginx 既是一种高性能的 http 服务器,又是一套强大的 web 应用开发框架。同时,nginx 的配置文件 nginx.conf 的记法本身又是一门非常灵活的脚本语言。 这次分享将演示如何全面打破 nginx 日常作为 fastcgi 网关或者反向代理的常规套路,通过一系列小巧的 C 模块,来实现从 nginx 直接存取 mysql/PostgreSQL/sqlite/drizzle 数据库,memcached,并享有长连接池,集群水平切割,读写分离,负载均衡等高级设施,最终将展示如何通过 Lua 语言以及更高层次的 LZSQL 语言直接来编程 nginx 核心,并像 Erlang 和 Go 那样做到透明的非阻塞 I/O。 最后我们将简单介绍此种框架在 qunar.com 和 taobao.com 的一些实际应用。
幻灯分上下篇
http://agentzh.org/misc/slides/nginx-conf-scripting/
http://agentzh.org/misc/slides/recent-dev-nginx-conf/
请使用键盘上的方向键控制进退。当两套幻灯间有不一致之处时,请以下篇为准。
Post preview:
Close preview