Version 5 (modified by moo, 11 years ago) (diff) |
---|
XCache 的特色功能
(这是 FeatureList 页面对应的中文翻译)
- 以高优化度编写的 opcode 缓冲器. apc, eaccelerator 也是不错的 opcode 缓冲器.
- 使用代码生成器生成 C 代码, 急剧减少人为错误.
- 稳定支持 PHP_4_3/PHP_4_4/PHP_5_1/PHP_5_2 系列
- 支持所有 php cvs 分支的最新年版本, 例如 PHP_4_3 PHP_4_4 PHP_5_0 PHP_5_1 PHP_5_2, 甚至 HEAD (6.x)
- Alpha 级支持 "alpha 阶段 php6", 亦即支持 unicode.
- 支持 "只读缓冲器保护模式" 以避免共享内存被 php-核心/模块或者任何 XCache 以外的代码毁坏.
- 原子级 get/set/inc/dec api 操作, 提供给 php 程序员用于缓存数据.
- XCache 上线统计收集器 (仅服务器管理员手工启用), 能够显示 XCache 在不同 php 版本上的稳定性(或者不稳定性). [TODO#1]
- 编译/运行期间完整性自测功能, 自动并即时发现 php 引擎产生的 C 结构变化. 更容易跟上与新的 php 版本. 参考 a real life example (注意第 18/19 号信息)
- 在发现缓冲数据出错/毁坏的情况下禁止 XCache 自己而避免整个 php 停止工作 [TODO#2]
- 优化器, 增加执行速度, 已在 2.0 测试阶段. 未发布 [TODO]
- Encoder/Decoder?(Loader) [TODO]
- 反汇编器. See how your php script is compiled into opcode. (not with enterprise encoder)
- 反编一起. decompile opcode into php code. (only half working, and not for enterprise encoder)
- Coverager, real life testcase framework, this include: [TOSHARE]
- real life testcase framework, a control script with real browser. you have to write the test cases.
- builtin Coverager (in repo) + its visualizer from web, to see how much script you have tested.
- the testcase+Coverager just help you make sure all real life php web applications is running correctly when
- after enabling XCache
- after upgrading php4 to php5
- after upgrading php4/5 to php6
- Administrator Script
- view statistics
- to see if it's AutoDisableOnCorrupted? [TODO]
- view cached php/variable list
- clear cache
- Late Class Inherit works just fine. see one of the feedbacks
Terms:
- [TODO]: It's in my TODO list
- [TOSHARE]: It's already done, but it takes sometime for me to put it into XCache Source Repo.