I recently setup Jetpack statistics on a large website in a hope to receive secondary results to google analytics. We noticed we began having issues with "Error establishing a database connection" messages to both our visitors and ourselves when attempting to access the website during peak times. We narrowed the issue down to myISAM locking up the database when too many update requests came in at the same time. We noticed that in particular Jetpack statistics were trying to "update" the "_transient_random_seed" 28 times per page load...
UPDATE _options
SET option_value
= 'b7807df715be9ec082b206a2cbca4561'
WHERE option_name
= '_transient_random_seed'
Is there not a better way to handle this? We had to disable the Jetpack stats on our site... is there something we can do to help minimize this issue?
Update: We've now had this issue on 2 different "largish" websites on 2 different servers.
Thanks.