Hii there,
I am always trying to improve the performance of my website and came across a point where I found out that by default, PHP sessions are locking (meaning that request B will “stall” while request A is still going).
This is done to prevent data inconsistency when modifying certain session variables between requests.
Now this creates a new question: how much does this lock affect CakePHP’s performance (specifically 3.9.x
as I still need to upgrade s00n™) and would switching the handler to something like a database session (using MySQL
) or a cache session (using something like APCu
) be of any benefit in the case that CakePHP’s performance is affected by said lock?