PHP application-level database locking mechanisms to implement concurrency control patterns.