PHP read content memory issue
高洛峰
高洛峰 2017-05-31 10:33:19
0
2
617

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年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(2)
習慣沉默

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!