hi all,

i am taking a site live in about two months. next month i will be performance/load testing, but i am already having some jitters about the performance when 50-100 users start pounding away at the system. my primary concern is over my $_SESSION variable, which has many, many objects, which in turn, the objects have many, many variables, methods, etc. multiplying that times 50 or 100 at any given time .. whew!

So, a couple of questions:
1) How can I tell how much my $_SESSION object is taking up in memory, so that I may derive how many users can simultaneously access the system up to the breaking point before I ran out of memory allocated for PHP?
2) Are there any load testing softwares for free that handle logging in via a form/post? I've started to look around at a few, just wanted to know if there were any recommendations... DieselTest looks very promising... what do you guys think?

kyle

also, I have read that,

If you have many small PHP scripts that use session variables, consider recompiling PHP using the shared memory module for sessions. Enable this with "configure -–with-mm" then re-compile PHP, and set session.save_handler=mm in php.ini.

-- do you think this will apply to (help) me? I currently have it set to =files.. (default)

    Write a Reply...