记录生活,感受生活;踏实做人,兢业做事!
« »
2007年06月29日技术文章

109 views

php apc模块

APC will probably be 20-30% faster, but if you are writing to it frequently it can cause problems. The APC cache is best for things that change very rarely. And by very rarely I mean days, not hours or minutes.

Because of the way APC does an anonymous file-backed mmap where I unlink the file at startup to get process-death protection, it isn’t easy to get at the cache from a separate standalone command line script. That can be solved by mmap’ing slightly differently, but in the default config your approach won’t work.

-Rasmus

作者的英文说明,下面是我 用GOOGLE 在线翻译的内容,虽然乱七八糟,但是可以知道个大概

装甲运兵车可能会20-30%更快,但如果你是写作它常常能引起问题. 装甲运兵缓存是最好的事情,变化很少. 以及很少,我指天,而不是几小时或几分钟. 因为这样的装甲运兵车是一个匿名文件背靠mmap那里我的unlink文件在启动时获得过程中死亡 保护,它是不容易看缓存由一个单独的独立的命令行脚本. 可以解决的mmap'ing略有不同,但在默认配置你的办法行不通. – rasmus

Related posts

日志信息 »

该日志于2007-06-29 12:14由 yuliang 发表在技术文章分类下, 你可以发表评论。除了可以将这个日志以保留源地址及作者的情况下引用到你的网站或博客,还可以通过RSS 2.0订阅这个日志的所有评论。

没有评论

发表评论 »

click to changeSecurity Code
返回顶部