原创 xhprof 使用筆記

View Full Callgraph需要安裝yum install -y graphviz生產環境優化處理:if (mt_rand(1, 10000) == 1) { xhprof_enable(XHPROF_FLAGS_MEMORY)

原创 我的友情鏈接

51CTO博客開發

原创 nginx 負載均衡配置

server { listen 80; server_name open.dangdang.com; location / { #這裏需要強制執行訪問的域名,否則nginx按IP分發,默認是按字母順序加載nginx服務配置 proxy_se

原创 我的友情鏈接

51CTO博客開發

原创 nginx 負載均衡配置

server { listen 80; server_name open.dangdang.com; location / { #這裏需要強制執行訪問的域名,否則nginx按IP分發,默認是按字母順序加載nginx服務配置 proxy_se