开发者

php session -> 980,000 bytes?

开发者 https://www.devze.com 2023-03-19 05:11 出处:网络
I work on a website on which I must add functionality without changing existing code. I notice that the php sessi开发者_StackOverflow中文版on variable created on the bootstrap is almost 1 MB (980,000

I work on a website on which I must add functionality without changing existing code. I notice that the php sessi开发者_StackOverflow中文版on variable created on the bootstrap is almost 1 MB (980,000 bytes). That's a lot ... this website must be able to accommodate more than 10,000 users a day. you find it normal?

thank you

nb:Excuse me for translation, translate it from google ...


10 GB of RAM on a server is not that big of a deal. My current work box has more. That said, 1MB of session data on startup (as opposed to gradual accumulation) does sound a little extreme. Do some global search in the code - what goes into the session?

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号