Description: 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
To Search:
File list (Check if you may need any files):
phplock\class.phplock.php
.......\lock\54.txt
.......\....\89.txt
.......\run.sh
.......\runtestlock.bat
.......\runtestlock.sh
.......\runtestunlock.bat
.......\runtestunlock.sh
.......\test.php
.......\testlock.php
.......\testlockfile
.......\TestPHPLock.class
.......\testunlock.php
.......\testunlockfile
.......\lock
phplock