开发者

APC locking mechanisme alternative for win32

开发者 https://www.devze.com 2022-12-22 06:18 出处:网络
I want to use APC for php for storing and fetching values (function calls and return values) between a endless running php process and multiple client processes. The endless running process constantly

I want to use APC for php for storing and fetching values (function calls and return values) between a endless running php process and multiple client processes. The endless running process constantly checks for newly stored values. I am running php as a Apache module on WinXP. For each APC function call a apc.lock.* file is placed i开发者_运维知识库n the windows temp directory. My harddisk runs overtime. Is there an other locking mechanisme that can be used (or disable locking) in for APC?


What about storing the locks in database table? Optionally you can use build-in function flock.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号