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
近期下载者:
相关文件:
收藏者: