RSSAmplifier

Blog

agentzh's home

yet another idiot who loves programming

agentzh.orgRSS feed ↗19 posts

Latest posts

Presentations

permalink Here goes a list of slides that I used in various opensource events and school lectures. These slides are powered by the slides.htm slide-making engine based on AJAX. Note: Please use the arrow keys or pageup/pagedown keys on your keyboard to switch slides. Year 2015 Application of Lua in Nginx This talk was given at QCon Beijing 2015 . Talk summary (Chinese):…

MarkupPostBody

<p/> <p/> <script type="text/javascript"> var _gaq = _gaq || []; _gaq.push(['_setAccount', ' UA-24724974-1 ']); _gaq.push(['_setDomainName', 'agentzh.org']); _gaq.push(['_trackPageview']); var _gaf = (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? ' https://ssl ' : ' http://www ') +…

ContactMe

permalink You're welcome to mail me via agentzh@gmail.com . This mail address is also my MSN account. I'm quite active in the nginx and nginx-devel mailing lists. I'm also keeping an eye on the PerlChina, lua-l and erlang-questions mailing lists as well ;) If you want to ask me questions about my Nginx or OpenResty related work, please join the OpenResty community and post there.

StyleSheet

body { font-size: 1.2em; }

AboutMe

permalink I'm a happy programmer living in San Francisco, CA. My real name is Yichun Zhang, or 章亦春 in Chinese. I usually use the nick agentzh on the web. I'm currently working as a systems engineer for CloudFlare and my main focus is on Nginx and OpenResty development. I used to work for Yahoo! China and Taobao, Alibaba while working in Beijing, China.

OpenResty

OpenResty is a software bundle for various useful Nginx addons, LuaJIT/Lua, and the Nginx core that helps constructing high-performance web applications. See http://openresty.org

Blogs

permalink I'm posting nginx related stuffs and other things to my blog site on Blogger: http://agentzh.blogspot.com/ I'm also posting Nginx tutorials for both users and developers in Chinese at Sina Blog here: http://blog.sina.com.cn/openresty

FollowMe

permalink I'm quite active in Sina Weibo (A twitter clone very popular in China): http://weibo.com/agentzh I do own a twitter account, @agentzh . If you're interested in my opensource development work, go follow me on GitHub! http://github.com/agentzh/

MarkupPostHead

ErlangFileReadLineBenchmark

permalink Source listing reader.erl Here's the Erlang implementation A, not using Erlang binaries: -module(reader). -export([main/0]). main() -> {ok, File} = file:open("data.log", [read]), Lines = count_lines(File, 0), io:format("Found ~w lines.~n", [Lines]), halt(). count_lines(File, Count) -> case file:read_line(File) of {ok, _Line} -> count_lines(File, Count + 1); eof -> Count end.…

AboutThisSite

This is site is powered by the excellent TiddlyWiki . The site's source is hosted on GitHub: https://github.com/agentzh/agentzh.org

MainMenu

About me Blogs Follow me Presentations Projects Contact me About this site RSS feed

Projects

permalink The most important opensource project that I've been working on for years is OpenResty . You can find most of my opensource projects on my GitHub homepage: https://github.com/agentzh Nginx I've started or participated in the development of a bunch of nginx modules: http://wiki.nginx.org/3rdPartyModules Perl I'm a Perl programmer that writes dozens of CPAN modules .

RSSFeed

permalink This site's RSS feed is available at http://agentzh.org/index.xml .

DefaultTiddlers

AboutMe ContactMe

SiteUrl

http://agentzh.org/

SiteTitle

agentzh's home

SiteSubtitle

yet another idiot who loves programming

YichunZhang

The owner of this site. He loves the nick agentzh though. But please do not capitalize the nick!