Fix the out-of-order hit recording
=======================
a) Place a pause at the client end between each hit recorded
b) Store the hits into a PHP array as they arrive.
Do not log hits if they arrive after later hits which have already been logged
http://www.w3schools.com/php/php_sessions.asp on how to persist data between invocations of a script
or store the sequence number into SQLite rather than a session store, or into CouchDB
c) Store the hits as an array in Javascript in the client, and store the index/sequence number in status, so they are restored to the recorded-order, and not the logged order
Eliminate part-recorded data
===================
1) Hardware
a) Stop using the NAS, start using local hard disc
b) Start using local SSD to speed things up
2) Upgrade to PHP 5.5.30
Does this fix it?
NO.
3) Change from
fopen()
fwrite()
fclose()
to
file_put_contents($file, $data, FILE_APPEND | LOCK_EX);
This also incorporates flock()
Provide Gawain Audience.
==================
List pools on a separate competition page
These pools go to pages which do not have Boutlist or Bout divs accessible (or perhaps not even included)
Next enhancement: search by fencer name, and get a list of links to only relevant pools.
Gawain BigScreen
=============
A list of which pool each fencer has been assigned to, and their referee
to display in alphabetical order