View Issue Details

IDProjectCategoryView StatusLast Update
1296ComposrGeneral / Uncategorisedpublic2013-07-11 23:08
ReporterChris Graham Assigned ToChris Graham  
PriorityhighSeverityminor 
Status resolvedResolutionfixed 
Product Version9.0.7 
Summary1296: Performance issue viewing forum topics
DescriptionComposr now does a "delayed insert" when logging "members viewing this topic", allowing MySQL to log it in it's own time rather than immediately. It also tries to avoid doing non-essential tasks on log tables when something is locking them, after waiting a bit in case the lock goes away. Both of these are actually big recent performance optimisations designed to avoid a server getting overrun with queued locked requests.

However, it so happens that MySQL records a special kind of lock for delayed inserts, and shared servers may be slow in them going through due to MySQL contention, so that had the unintended affect of sometimes making topic viewing actually slower while it tries to wait for the delayed logging from previous requests to go through (those two optimisations weren't expected to interact like that) - something we didn't notice in development, but has been seen now on a couple of shared servers.
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2013-07-11 23:08

administrator   ~1531

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised