Welcome Guest, Not a member yet? Register   Sign In
Make Session Lock type Configurable


I'm curious why the Session_files_driver::read() method exclusively uses LOCK_EX when obtaining a file lock? This tends to cause ajax requests to get blocked and process in succession rather than in parallel. It seems allowing read requests to use LOCK_SH and write requests to use LOCK_EX would be a more efficient solution, or perhaps make the lock type configurable. Perhaps I'm missing something.

Theme © iAndrew 2016 - Forum software by © MyBB