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

php apc模块》上有 1 条评论

发表评论

邮箱地址不会被公开。 必填项已用*标注

click to changeSecurity Code