Paginate Processor Load |
(06-04-2021, 02:16 PM)includebeer Wrote: Sorry for the late reply. I didn't see your post. The forum doesn't always send email notifications when there's new replies... That's a good point, thanks includebeer... I do remember reading this a long time ago and making a mental note to keep my eye on it at the time (since this little project is pretty much all Ajax, besides the initial background page load)... of course, in spite of my good intentions, it still managed to quietly slip back into the Ether. If I recall correctly... and don't quote me on this.. but, when I experimented with session_write_close() at the time, it caused a problem by pretty much completely destroying ALL the user's session data (and signing them out). I'm using MySQL, so made the mental note, removed all of the session_write_close() references, and left it at that. I'll put it on a PostIt, so it doesn't drop off the radar again before I get to the point of doing some stress-testing on the site. What I did find, regarding the processor loading- after a bit of additional experimentation- was that if I accessed the page from a client on another machine (other than the development machine, which had both the server and client on it during my initial tests), it didn't seem to cause a problem... even the 5000x loop, although observable, the increase in load was reasonable, and easily within palatable bounds. So I ended up attributed the problem to an interaction with, or anomaly in the client-side JavaScript in a very vague, but still all-encompassing, hand-waving conclusion that justified having another glass of whine and moving on (albeit that this phenomenon still hasn't been observed to affect the combined server/client on any other page, even when all the routines are the same ones being invoked for the problem pagination pages (?)). |
Messages In This Thread |
Paginate Processor Load - by Gary - 05-29-2021, 05:15 AM
RE: Paginate Processor Load - by InsiteFX - 05-29-2021, 05:17 AM
RE: Paginate Processor Load - by Gary - 05-30-2021, 03:22 PM
RE: Paginate Processor Load - by includebeer - 05-29-2021, 09:01 AM
RE: Paginate Processor Load - by includebeer - 06-04-2021, 02:16 PM
RE: Paginate Processor Load - by Gary - 06-19-2021, 12:42 PM
RE: Paginate Processor Load - by includebeer - 06-19-2021, 02:19 PM
RE: Paginate Processor Load - by Gary - 06-29-2021, 03:23 PM
RE: Paginate Processor Load - by includebeer - 06-29-2021, 05:12 PM
RE: Paginate Processor Load - by Gary - 06-30-2021, 04:37 PM
|