Tech Notes of Yan


[Source Code Walkthrough] NetSpeeder: A Simple and Brutal Server-Side Network Accelerator
2015-08-31 Research C libpcap

Recently I have been looking into low-level packet transmission analysis for APP applications and read some libpcap-related source code. Here I briefly pick a small tool based on libpcap to practice by analyzing it.

[Source Code Review] WebBench: A Classic Stress-Testing Tool
2015-07-27 Research C Benchmark

Annotated WebBench source code with a brief analysis.

[Source Code Walkthrough] TinyHttpd: The Simplest Web Server Implementation
2015-07-25 Research C webserver

Annotated TinyHttpd source code and a brief analysis.

PHP Performance Bottlenecks and Optimization Approaches
2015-06-24 Research PHP HipHop HHVM JIT

This article systematically reviews the performance issues caused by PHP’s dynamic characteristics and their underlying reasons, and provides an in-depth analysis of the well-known open-source PHP engine HHVM and its predecessor, the HipHop Compiler, explaining how they improve PHP execution efficiency.

Getting Started with Bison
2015-06-18 Research Compiler Bison

A simple Bison example that generates a parser and evaluator for arithmetic expressions, illustrating the power of syntax analysis.

Flex Tips Summary && [LeetCode] Valid Number Solution
2015-06-15 Research Compiler DFA

A structured summary of practical flex tricks that may come up in real use, and a demonstration of how to solve a harder LeetCode problem by reusing the DFA generated by flex.

Running GUI Applications on a VPS with X11 Forwarding

A simple way to run GUI applications on a VPS without installing a heavyweight desktop environment.

SSH Remote Port Forwarding Principles and NAT Traversal
2015-02-20 Research SSH Forwarding

A brief analysis of the basic concept of SSH remote port forwarding and its concrete application scenario—NAT traversal.