PHP reading content memory problem
A PHP file, the content is probably a json (exported from the database, to avoid frequent access to the database) array format, the content size of this file is 200K, and the memory of the server is 1G If so, then when 6 users simultaneously access the file
require_once("json.php");.........json_decode other codes
, will the memory become jammed?
擁有18年軟件開發(fā)和IT教學經驗。曾任多家上市公司技術總監(jiān)、架構師、項目經理、高級軟件工程師等職務。 網絡人氣名人講師,...
How to calculate? 6 * 200 k = 1.2 M, which is just a little bit of memory.
require_once() loading, if the file has already been loaded, it will not be loaded in subsequent requests.