Skip to main content
InterviewHubPRO
Section Overview
Q24

Question 24 of 50

Part 2: Zend Engine Internals, OPcache & Memory Architecture (11 - 24)

48%
PHP & Zend Engine (50 Qs)•Part 2: Zend Engine Internals, OPcache & Memory Architecture (11 - 24)

How does Session Locking in PHP-FPM affect concurrent user requests?

senior LevelMost AskedSystem Design

In Simple Words: When session_start() is invoked, PHP locks the session file on disk. Any subsequent concurrent AJAX requests from the same user stall until the first request completes or calls session_write_close().