FasterCGI with HHVM
Posted on December 17, 2013 by Juliusz Kopczewski Today, we are happy to announce FastCGI support for HHVM. FastCGI is a popular protocol for communication between an application server (e.g. running...
View ArticlejQuery 选择器
选择器 实例 选取 * $(“*”) 所有元素 #id $(“#lastname”) id=”lastname” 的元素 .class $(“.intro”) class=”intro” 的所有元素 .class,.class $(“.intro,.demo”) class 为 “intro” 或 “demo” 的所有元素 element $(“p”) 所有 <p> 元素...
View Article[转]PHP 引擎调研
简介 该调研是2013年10月份做的,目标是寻找更好的PHP引擎,来代替百度各产品线正在使用的PHP 5.2。 环境说明 机器环境: cpu: Intel(R) Xeon(R) CPU E5-2620 0 @ 2.00GHz, 12核。 内存:64G 引擎: php 5.2.17 (当时百度所用版本) php 5.5.4 (当时最新版本) hhvm 2.3-dev (当时最新版本)...
View Article[转]HHVM动态语法的性能问题分析
背景 在某业务线使用HHVM的过程中,发现有一些机器的HHVM CPU使用率异常于其他机器,使用率高出了一倍多,上线和流量高时CPU高出更多,所以针对此问题定位和分析是哪里造成了此问题。 线上问题分析定位 首先我们通过hhvm的监控接口(HHVM 的admin server访问,check-health和vm-tcspace)获取了unit、funcs、tcspace、load和queued等信息;...
View Article[转]HHVM at Baidu
在这之前我们介绍了我们为什么要迁移PHP到HHVM, 本文将介绍HHVM在百度的应用情况以及我们遇到的问题及经验。 背景 HHVM前身是HipHop PHP,HipHop通过将php代码->cpp代码->二进制的转换来提升性能, Facebook应用了4年(2007-2011),但是由于开发、编译、调试、维护不方便, 2011年12月Facebook开始了HHVM的开发和调研。...
View ArticleHTML转义字符
字符 命名实体 十进制编码 字符 命名实体 十进制编码 Α Α Α Β Β Β Γ Γ Γ Δ Δ Δ Ε Ε Ε Ζ Ζ Ζ Η Η Η...
View ArticleiOS Anti-Debugging Protections #1
.text code,#article .text table{background-color:#f2f2f2} Many iOS applications use anti-debugging techniques to prevent malicious users from using a debugger to analyze or modify their behavior. In...
View ArticleiOS Anti-Debugging Protections #2
.text code,#article .text table{background-color:#f2f2f2} In the previous part (iOS Anti-Debugging Protections: Part 1) we discussed about ptrace and how it can be used to prevent a debugger from...
View Articlehhvm扩展开发
一个hhvm扩展库 https://github.com/FightingMan/ip_location hhvm自带的用php写的扩展: https://github.com/facebook/hhvm/tree/master/hphp/system/php PHP-CPP: 同时支持HHVM和Zend。C++11规范,写出来的代码很漂亮。 http://www.php-cpp.com/...
View ArticleHHVM 3.3.x for Mac OS X
封装可移植版本的hhvm for MacOSX,备忘下 otool -L dylib/libdwarf.3.dylib otool -L dylib/libevent-2.0.5.dylib otool -L dylib/libfreetype.6.dylib otool -L dylib/libglog.0.dylib otool -L dylib/libgmp.10.dylib otool -L...
View Article
More Pages to Explore .....