php多进程加锁,phplock PHP在多进程模式下(并发的web访问)由于没有内置的锁支持 联合开发网 - pudn.com...

phplock

所属分类:WEB开发

开发工具:PHP

文件大小:6KB

下载次数:3

上传日期:2012-02-28 15:51:43

上 传 者:zengde

说明:  PHP在多进程模式下(并发的web访问)由于没有内置的锁支持,在处理一些资源的之后,很容易出现并发性问题。

在web开发中我们经常对我们的数据库耗时操作做缓存,但是可能出现一个陷阱,在缓存失效的一瞬间,大量的访问得到缓存失效的标示,都去后端查询数据库,导致

同时大量的数据库耗时查询,出现数据库宕机等问题。此问题隐藏深,不容易查找。本项目主要用于解决php的进程间锁问题。

(PHP in the multi-process mode (concurrent web access) because there is no built-in lock support, after dealing with some resources, it is easy concurrency problems.

In web development in our database, we often time-consuming operation to do caching, but it may be a trap, the moment of failure in the cache, a large number of access cache invalidation notices, go to the back-end to query the database, resulting in

At the same time a large number of database time-consuming queries, database downtime and other problems. This problem is hidden deep, not easy to find. This project is mainly used to solve the php process lock problem....)

文件列表:[举报垃圾]

phplock

.......\class.phplock.php,2716,2010-06-28

.......\lock

.......\....\54.txt,0,2012-01-12

.......\....\89.txt,0,2012-02-07

.......\run.sh,155,2010-06-26

.......\runtestlock.bat,58,2010-06-28

.......\runtestlock.sh,71,2010-06-28

.......\runtestunlock.bat,60,2010-06-28

.......\runtestunlock.sh,73,2010-06-28

.......\test.php,1709,2012-01-12

.......\testlock.php,811,2010-06-28

.......\testlockfile,4,2012-02-07

.......\TestPHPLock.class,3018,2010-06-28

.......\testunlock.php,613,2010-06-28

.......\testunlockfile,1,2012-01-12

近期下载者:

相关文件:

收藏者:

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值