原创 http反向代理之haproxy詳解

1.反向代理定義 反向代理(Reverse Proxy)方式是指以代理服務器來接受internet上的連接請求,然後將請求轉發給內部網絡上的服務器,並將從服務器上得到的結果返回給internet上請求連接的客戶端,此時代理服務器對外就表現

原创 Linux下Makefile的automake生成全攻略--轉

http://www.yesky.com/120/1865620.shtml 作爲Linux下的程序開發人員,大家一定都遇到過Makefile,用make命令來編譯自己寫的程序確實是很方便。一般情況下,大家都是手工寫一個簡單Makefil

原创 Basic Data Structures and Algorithms in the Linux Kernel--reference

http://luisbg.blogalia.com/historias/74062 Thanks to Vijay D'Silva's brilliant answer in cstheory.stackexchange.com I h

原创 Programmer Competency Matrix--ref--http://sijinjoseph.com/programmer-competency-matrix/

Note that the knowledge for each level is cumulative; being atlevel n implies that you also know everything from thel

原创 iptables詳解--轉

出處:http://yijiu.blog.51cto.com/433846/1356254 iptables詳解 基本概念: 1.防火牆工作在主機邊緣:對於進出本網絡或者本主機的數據報文,根據事先設定好的檢查規則對其檢查,對形跡可疑的報文

原创 How to Configure Tomcat/JBoss and Apache HTTPD for Load Balancing and Failover

http://java.dzone.com/articles/how-configure-tomcatjboss-and In this post we will see how to setup a load balanced JBo

原创 Find command usage in Linux with excellent examples--reference

http://www.coolcoder.in/2014/02/find-command-usage-in-linux-with.html find searches the directory tree rooted at each g

原创 Understanding Java 8 Streams API---reference

http://java.amitph.com/2014/01/understanding-java-8-streams-api.html Since past few versions, Java has started giving i

原创 VRRP協議介紹--轉

http://www.cnblogs.com/jony413/articles/2697404.html VRRP協議介紹 參考資料: RFC 37681. 前言VRRP(Virtual Router Redundanc

原创 深入學習keepalived之一 keepalived的啓動

1.keepalived的啓動過程:     啓動健康檢查子進程和vrrp子進程。其中_WITH_LVS_,_WITH_VRRP_在configure和configure.in文件中定義。 源碼如下: /* Daemon init se

原创 awk - Unix, Linux Command---reference

http://www.tutorialspoint.com/unix_commands/awk.htm NAME gawk - pattern scanning and processing language SYNOPSIS gawk 

原创 Where Should an Architect Begin?--reference

http://www.bitnative.com/2014/01/24/where-should-a-software-architect-begin/ Where Should an Architect Begin? Posted on

原创 深入redis內部之redis啓動過程之一

redis作爲一個服務器,它的啓動是從main函數開始的。redis.c 1. 進程重命名 #ifdef INIT_SETPROCTITLE_REPLACEMENT spt_init(argc, argv); #endif 定

原创 代碼重構----使用java有限狀態機來消除太多的if else判斷

1. 狀態機基本概念 http://zh.wikipedia.org/wiki/%E6%9C%89%E9%99%90%E7%8A%B6%E6%80%81%E6%9C%BA 狀態存儲關於過去的信息,就是說:它反映從系統開始到現在時刻的輸入變

原创 What is Network Address Translation?---reference

http://whatismyipaddress.com/nat What is Network Address Translation? Network Address Translation (NAT) is the process