A site I’ve built gets lots of comments in a short space of time – so perhaps 100 comments might be left in 5 or 10 minutes.
This seems to cause a pretty heavy load on the database, especially when combined with recent comment widgets – I’ve seen server load rapidly spiral up to 40+, and using mtop I can see plenty of blocked queries.
So, I’m using MyISAM as the storage engine, which locks the entire table for writing. Would switching to InnoDB which (I believe) uses row locking improve things? Looking at the MySQL docs, it seems perfectly possible to use both engines within the same database.
So, the question:
Does switching to InnoDB seem like it’s a reasonable solution for what i described? Any WP specific experiences / benchmarks?