Welcome Guest, Not a member yet? Register   Sign In
Paginate Processor Load
#5

Sorry for the late reply. I didn't see your post. The forum doesn't always send email notifications when there's new replies...
Anyway, maybe your performance problem has something to do with session locking. If the front-end makes multiple ajax queries at the same time, you can have performance issue where one query is waiting for the session lock to be released. Calling session_write_close() as early as you can, as soon as you no longer need the session data can help with this. Especially while you wait for the database query to return, you probably no longer need session data at this point.

Quote:Only MySQL and PostgreSQL databases are officially supported, due to lack of advisory locking mechanisms on other platforms. Using sessions without locks can cause all sorts of problems, especially with heavy usage of AJAX, and we will not support such cases. Use session_write_close() after you’ve done processing session data if you’re having performance issues.

Source: http://codeigniter.com/user_guide/librar...sions.html
Reply


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



Theme © iAndrew 2016 - Forum software by © MyBB